From 68a4572b2355e982705d5cd516b02b068b7fd433 Mon Sep 17 00:00:00 2001 From: Timur Bazhirov Date: Fri, 13 Sep 2024 14:59:12 -0700 Subject: [PATCH] chore: bump mathjs to address dependabot --- dist/js/entity/set/factory.d.ts | 4 +-- dist/js/entity/set/ordered.d.ts | 4 +-- package-lock.json | 62 ++++++++++++++++----------------- package.json | 2 +- 4 files changed, 36 insertions(+), 36 deletions(-) diff --git a/dist/js/entity/set/factory.d.ts b/dist/js/entity/set/factory.d.ts index 5ba83c6..22eae6c 100644 --- a/dist/js/entity/set/factory.d.ts +++ b/dist/js/entity/set/factory.d.ts @@ -26,7 +26,7 @@ export declare const constructEntitySetFactoryByConfig: ({ entitySetCls, ordered readonly slug: string; readonly isSystemEntity: boolean; getAsEntityReference(byIdOnly?: boolean): import("@mat3ra/esse/dist/js/types").EntityReferenceSchema; - getEntityByName(entities: import("../in_memory").InMemoryEntity[], entity: string, name: string): import("../in_memory").InMemoryEntity; + getEntityByName(entities: import("..").InMemoryEntity[], entity: string, name: string): import("..").InMemoryEntity; }; } & { new (...args: any[]): { @@ -57,7 +57,7 @@ export declare const constructEntitySetFactoryByConfig: ({ entitySetCls, ordered readonly slug: string; readonly isSystemEntity: boolean; getAsEntityReference(byIdOnly?: boolean): import("@mat3ra/esse/dist/js/types").EntityReferenceSchema; - getEntityByName(entities: import("../in_memory").InMemoryEntity[], entity: string, name: string): import("../in_memory").InMemoryEntity; + getEntityByName(entities: import("..").InMemoryEntity[], entity: string, name: string): import("..").InMemoryEntity; }; } & typeof InMemoryEntitySet) | undefined; }) => (config: AnyObject, entityCls: EntitySetSchema["entityCls"]) => InMemoryEntitySet; diff --git a/dist/js/entity/set/ordered.d.ts b/dist/js/entity/set/ordered.d.ts index 2874b5a..59004a4 100644 --- a/dist/js/entity/set/ordered.d.ts +++ b/dist/js/entity/set/ordered.d.ts @@ -22,7 +22,7 @@ export declare const OrderedInMemoryEntitySet: { readonly slug: string; readonly isSystemEntity: boolean; getAsEntityReference(byIdOnly?: boolean): import("@mat3ra/esse/dist/js/types").EntityReferenceSchema; - getEntityByName(entities: import("../in_memory").InMemoryEntity[], entity: string, name: string): import("../in_memory").InMemoryEntity; + getEntityByName(entities: import("..").InMemoryEntity[], entity: string, name: string): import("..").InMemoryEntity; }; } & { new (...args: any[]): { @@ -53,6 +53,6 @@ export declare const OrderedInMemoryEntitySet: { readonly slug: string; readonly isSystemEntity: boolean; getAsEntityReference(byIdOnly?: boolean): import("@mat3ra/esse/dist/js/types").EntityReferenceSchema; - getEntityByName(entities: import("../in_memory").InMemoryEntity[], entity: string, name: string): import("../in_memory").InMemoryEntity; + getEntityByName(entities: import("..").InMemoryEntity[], entity: string, name: string): import("..").InMemoryEntity; }; } & typeof InMemoryEntitySet; diff --git a/package-lock.json b/package-lock.json index 3f1d09b..397b868 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1306,7 +1306,6 @@ "version": "7.24.1", "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.24.1.tgz", "integrity": "sha512-+BIznRzyqBf+2wCTxcKE3wDjfGeCoVE61KSHGpkzqrLi8qxqFwBeUFyId2cxkTmm55fzDGnm0+yCxaxygrLUnQ==", - "dev": true, "requires": { "regenerator-runtime": "^0.14.0" } @@ -2694,9 +2693,9 @@ "dev": true }, "complex.js": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/complex.js/-/complex.js-2.0.4.tgz", - "integrity": "sha512-Syl95HpxUTS0QjwNxencZsKukgh1zdS9uXeXX2Us0pHaqBR6kiZZi0AkZ9VpZFwHJyVIUVzI4EumjWdXP3fy6w==" + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/complex.js/-/complex.js-2.1.1.tgz", + "integrity": "sha512-8njCHOTtFFLtegk6zQo0kkVX1rngygb/KQI6z1qZxlFI3scluC+LVTCFbrkWjBv4vvLlbQ9t88IPMC6k95VTTg==" }, "compute-gcd": { "version": "1.2.1", @@ -2864,9 +2863,9 @@ "dev": true }, "decimal.js": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/decimal.js/-/decimal.js-9.0.1.tgz", - "integrity": "sha512-2h0iKbJwnImBk4TGk7CG1xadoA0g3LDPlQhQzbZ221zvG0p2YVUedbKIPsOZXKZGx6YmZMJKYOalpCMxSdDqTQ==" + "version": "10.4.3", + "resolved": "https://registry.npmjs.org/decimal.js/-/decimal.js-10.4.3.tgz", + "integrity": "sha512-VBBaLc1MgL5XpzgIP7ny5Z6Nx3UrRkIViUkPUdtl9aya5amy3De1gsUUSB1g3+3sExYNjCAsAznmukyxCb1GRA==" }, "deep-eql": { "version": "4.1.3", @@ -3856,9 +3855,9 @@ } }, "fraction.js": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.0.4.tgz", - "integrity": "sha512-aK/oGatyYLTtXRHjfEsytX5fieeR5H4s8sLorzcT12taFS+dbMZejnvm9gRa8mZAPwci24ucjq9epDyaq5u8Iw==" + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.3.4.tgz", + "integrity": "sha512-pwiTgt0Q7t+GHZA4yaLjObx4vXmmdcS0iSJ19o8d/goUGgItX9UZWKWNnLHehxviD8wU2IWRsnR8cD5+yOJP2Q==" }, "fromentries": { "version": "1.3.2", @@ -5098,18 +5097,19 @@ "dev": true }, "mathjs": { - "version": "3.20.2", - "resolved": "https://registry.npmjs.org/mathjs/-/mathjs-3.20.2.tgz", - "integrity": "sha512-3f6/+uf1cUtIz1rYFz775wekl/UEDSQ3mU6xdxW7qzpvvhc2v28i3UtLsGTRB+u8OqDWoSX6Dz8gehaGFs6tCA==", + "version": "12.4.1", + "resolved": "https://registry.npmjs.org/mathjs/-/mathjs-12.4.1.tgz", + "integrity": "sha512-welnW3khgwYjPYvECFHO+xkCxAx9IKIIPDDWPi8B5rKAvmgoEHnQX9slEmHKZTNaJiE+OS4qrJJcB4sfDn/4sw==", "requires": { - "complex.js": "2.0.4", - "decimal.js": "9.0.1", - "escape-latex": "^1.0.0", - "fraction.js": "4.0.4", - "javascript-natural-sort": "0.7.1", - "seed-random": "2.2.0", - "tiny-emitter": "2.0.2", - "typed-function": "0.10.7" + "@babel/runtime": "^7.24.0", + "complex.js": "^2.1.1", + "decimal.js": "^10.4.3", + "escape-latex": "^1.2.0", + "fraction.js": "4.3.4", + "javascript-natural-sort": "^0.7.1", + "seedrandom": "^3.0.5", + "tiny-emitter": "^2.1.0", + "typed-function": "^4.1.1" } }, "md5": { @@ -6219,10 +6219,10 @@ "is-regex": "^1.1.4" } }, - "seed-random": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/seed-random/-/seed-random-2.2.0.tgz", - "integrity": "sha512-34EQV6AAHQGhoc0tn/96a9Fsi6v2xdqe/dMUwljGRaFOzR3EgRmECvD0O8vi8X+/uQ50LGHfkNu/Eue5TPKZkQ==" + "seedrandom": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/seedrandom/-/seedrandom-3.0.5.tgz", + "integrity": "sha512-8OwmbklUNzwezjGInmZ+2clQmExQPvomqjL7LFqOYqtmuxRgQYqOD3mHaU+MvZn5FLUeVxVfQjwLZW/n/JFuqg==" }, "semver": { "version": "7.6.0", @@ -6646,9 +6646,9 @@ } }, "tiny-emitter": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/tiny-emitter/-/tiny-emitter-2.0.2.tgz", - "integrity": "sha512-2NM0auVBGft5tee/OxP4PI3d8WItkDM+fPnaRAVo6xTDI2knbz9eC5ArWGqtGlYqiH3RU5yMpdyTTO7MguC4ow==" + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/tiny-emitter/-/tiny-emitter-2.1.0.tgz", + "integrity": "sha512-NB6Dk1A9xgQPMoGqC5CVXn123gWyte215ONT5Pp5a0yt4nlEoO1ZWeCwpncaekPHXO60i47ihFnZPiRPjRMq4Q==" }, "to-fast-properties": { "version": "2.0.0", @@ -6815,9 +6815,9 @@ } }, "typed-function": { - "version": "0.10.7", - "resolved": "https://registry.npmjs.org/typed-function/-/typed-function-0.10.7.tgz", - "integrity": "sha512-3mlZ5AwRMbLvUKkc8a1TI4RUJUS2H27pmD5q0lHRObgsoWzhDAX01yg82kwSP1FUw922/4Y9ZliIEh0qJZcz+g==" + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/typed-function/-/typed-function-4.2.1.tgz", + "integrity": "sha512-EGjWssW7Tsk4DGfE+5yluuljS1OGYWiI1J6e8puZz9nTMM51Oug8CD5Zo4gWMsOhq5BI+1bF+rWTm4Vbj3ivRA==" }, "typedarray-to-buffer": { "version": "3.1.5", diff --git a/package.json b/package.json index d11e085..2597da3 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "js-yaml": "^4.1.0", "json-schema": "^0.4.0", "lodash": "^4.17.*", - "mathjs": "^3.9.0", + "mathjs": "12.4.1", "mixwith": "^0.1.1", "nunjucks": "^3.2.4", "react-jsonschema-form": "^1.8.1",