Skip to content

Commit d2d9324

Browse files
authored
Merge pull request #77 from Exabyte-io/feat/SOF-6914
feat/SOF-6914: bump esse version
2 parents fd74b64 + 3f2d346 commit d2d9324

File tree

5 files changed

+39
-42
lines changed

5 files changed

+39
-42
lines changed

package-lock.json

Lines changed: 32 additions & 31 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"@babel/preset-react": "7.16.7",
5757
"@babel/register": "^7.16.0",
5858
"@babel/runtime-corejs3": "7.16.8",
59-
"@exabyte-io/esse.js": "2023.12.1-0",
59+
"@mat3ra/esse": "^2024.1.18-0",
6060
"@types/chai": "^4.3.5",
6161
"@types/crypto-js": "^4.1.1",
6262
"@types/js-yaml": "^4.0.5",

src/JSONSchemasInterface.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
import baseSchema, {
2-
JSONSchema,
3-
JSONSchemaDefinition,
4-
JSONSchemaType,
5-
} from "@exabyte-io/esse.js/schema";
1+
import baseSchema, { JSONSchema, JSONSchemaDefinition, JSONSchemaType } from "@mat3ra/esse/schema";
62
import Ajv, { Options } from "ajv";
73
import deref from "json-schema-deref-sync";
84
import mergeAllOf from "json-schema-merge-allof";

src/modules.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
declare module "json-schema-deref-sync" {
2-
import { JSONSchema, JSONSchemaDefinition } from "@exabyte-io/esse.js/schema";
2+
import { JSONSchema, JSONSchemaDefinition } from "@mat3ra/esse/schema";
33

44
function deref(globalSchema: JSONSchema): JSONSchema;
55
function deref(globalSchema: JSONSchemaDefinition): JSONSchemaDefinition;
@@ -32,15 +32,15 @@ declare module "json-schema-merge-allof" {
3232
* This types are originally from "@types/json-schema" npm package.
3333
* The one difference compared to the original implementation is schemaId property to JSONSchema interface
3434
*/
35-
declare module "@exabyte-io/esse.js/schema" {
35+
declare module "@mat3ra/esse/schema" {
3636
export {
3737
JSONSchema6 as JSONSchema,
3838
JSONSchema6Definition as JSONSchemaDefinition,
3939
JSONSchema6Type as JSONSchemaType,
4040
} from "json-schema";
4141
}
4242

43-
declare module "@exabyte-io/esse.js/lib/js/esse/schemaUtils" {
43+
declare module "@mat3ra/esse/lib/js/esse/schemaUtils" {
4444
// TODO: add TS to esse.js
4545

4646
export function mapObjectDeep(object: object, mapValue: () => unknown): object;

src/utils/schemas.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
import { JSONSchema } from "@exabyte-io/esse.js/schema";
1+
import { JSONSchema } from "@mat3ra/esse/schema";
22
import { JSONSchema7Definition } from "json-schema";
33
import forEach from "lodash/forEach";
44
import hasProperty from "lodash/has";
55
import isEmpty from "lodash/isEmpty";
66

77
import { JSONSchemasInterface } from "../JSONSchemasInterface";
88

9-
export * from "@exabyte-io/esse.js/lib/js/esse/schemaUtils";
9+
export * from "@mat3ra/esse/lib/js/esse/schemaUtils";
1010

1111
export const schemas: { [key: string]: string } = {};
1212

0 commit comments

Comments
 (0)