memserver
Advanced tools
Comparing version 2.3.7 to 2.3.8
@@ -5,5 +5,14 @@ ### Changelog | ||
#### [v2.3.8](https://github.com/izelnakri/memserver/compare/v2.3.7...v2.3.8) | ||
- packages upgraded [`56dd91d`](https://github.com/izelnakri/memserver/commit/56dd91d4dc5469ba26213c484da3b0883779e765) | ||
- TODO upgrade for v2 thoughts [`426bb37`](https://github.com/izelnakri/memserver/commit/426bb370208d7534eaa7f2050bf9add82fca5be0) | ||
- rollup.config.js js styling [`d91c304`](https://github.com/izelnakri/memserver/commit/d91c304465fe946cc3eb5f7108f0c8fdff9cc121) | ||
#### [v2.3.7](https://github.com/izelnakri/memserver/compare/v2.3.6...v2.3.7) | ||
> 6 January 2021 | ||
- Revert strange internal test failure [`9679cea`](https://github.com/izelnakri/memserver/commit/9679cea195facff76d45370fc6ce5cda2ea69d9b) | ||
- Release 2.3.7 [`fc83b61`](https://github.com/izelnakri/memserver/commit/fc83b61a67e2cac70557efaa28afaa45be3ddca3) | ||
@@ -10,0 +19,0 @@ #### [v2.3.6](https://github.com/izelnakri/memserver/compare/v2.3.6-beta.0...v2.3.6) |
@@ -30,8 +30,8 @@ declare type RequireOnlyOne<T, Keys extends keyof T = keyof T> = Pick<T, Exclude<keyof T, Keys>> & { | ||
static update(record: InternalModel): InternalModel; | ||
static delete(record?: InternalModel): (Pick<InternalModelShape, string | number> & Required<Pick<InternalModelShape, "id">> & Partial<Record<"uuid", undefined>>) | (Pick<InternalModelShape, string | number> & Required<Pick<InternalModelShape, "uuid">> & Partial<Record<"id", undefined>>) | RequireOnlyOne<InternalModelShape, "id" | "uuid">[]; | ||
static delete(record?: InternalModel): InternalModel | InternalModel[]; | ||
static embed(relationship: any): object; | ||
static serializer(objectOrArray: InternalModel | Array<InternalModel>): (Pick<InternalModelShape, string | number> & Required<Pick<InternalModelShape, "id">> & Partial<Record<"uuid", undefined>>) | (Pick<InternalModelShape, string | number> & Required<Pick<InternalModelShape, "uuid">> & Partial<Record<"id", undefined>>) | RequireOnlyOne<InternalModelShape, "id" | "uuid">[]; | ||
static serialize(object: InternalModel): RequireOnlyOne<InternalModelShape, "id" | "uuid">; | ||
static serializer(objectOrArray: InternalModel | Array<InternalModel>): ({} & InternalModel) | ({} & InternalModel)[]; | ||
static serialize(object: InternalModel): {} & InternalModel; | ||
static getRelationship(parentObject: any, relationshipName: string, relationshipModel: InternalModel): any; | ||
} | ||
export {}; |
@@ -30,8 +30,8 @@ declare type RequireOnlyOne<T, Keys extends keyof T = keyof T> = Pick<T, Exclude<keyof T, Keys>> & { | ||
static update(record: InternalModel): InternalModel; | ||
static delete(record?: InternalModel): (Pick<InternalModelShape, string | number> & Required<Pick<InternalModelShape, "id">> & Partial<Record<"uuid", undefined>>) | (Pick<InternalModelShape, string | number> & Required<Pick<InternalModelShape, "uuid">> & Partial<Record<"id", undefined>>) | RequireOnlyOne<InternalModelShape, "id" | "uuid">[]; | ||
static delete(record?: InternalModel): InternalModel | InternalModel[]; | ||
static embed(relationship: any): object; | ||
static serializer(objectOrArray: InternalModel | Array<InternalModel>): (Pick<InternalModelShape, string | number> & Required<Pick<InternalModelShape, "id">> & Partial<Record<"uuid", undefined>>) | (Pick<InternalModelShape, string | number> & Required<Pick<InternalModelShape, "uuid">> & Partial<Record<"id", undefined>>) | RequireOnlyOne<InternalModelShape, "id" | "uuid">[]; | ||
static serialize(object: InternalModel): RequireOnlyOne<InternalModelShape, "id" | "uuid">; | ||
static serializer(objectOrArray: InternalModel | Array<InternalModel>): ({} & InternalModel) | ({} & InternalModel)[]; | ||
static serialize(object: InternalModel): {} & InternalModel; | ||
static getRelationship(parentObject: any, relationshipName: string, relationshipModel: InternalModel): any; | ||
} | ||
export {}; |
{ | ||
"name": "memserver", | ||
"version": "2.3.7", | ||
"version": "2.3.8", | ||
"description": "in-memory database/ORM and http mock server you can run in-browser and node environments. Built for large frontend teams, fast tests and rapid prototyping", | ||
@@ -22,2 +22,3 @@ "author": "Izel Nakri", | ||
"test": "node_modules/.bin/ava --verbose", | ||
"build": "npm run prepublishOnly", | ||
"prepublishOnly": "npm run npm-link-ember-packages && tsc --build && npm run publish-modules-for-browser", | ||
@@ -30,5 +31,5 @@ "npm-link-ember-packages": "node scripts/npm-link-ember-packages.js", | ||
"dependencies": { | ||
"@types/node": "^14.14.20", | ||
"@types/node": "^14.14.37", | ||
"ansi-colors": "4.1.1", | ||
"fake-xml-http-request": "^2.1.1", | ||
"fake-xml-http-request": "^2.1.2", | ||
"inflected": "^2.1.0", | ||
@@ -42,6 +43,6 @@ "jsdom": "^16.4.0", | ||
"@ava/typescript": "^1.1.1", | ||
"@babel/cli": "^7.10.5", | ||
"@babel/core": "^7.11.4", | ||
"@babel/plugin-transform-modules-commonjs": "^7.12.1", | ||
"@babel/preset-typescript": "^7.12.7", | ||
"@babel/cli": "^7.13.14", | ||
"@babel/core": "^7.13.14", | ||
"@babel/plugin-transform-modules-commonjs": "^7.13.8", | ||
"@babel/preset-typescript": "^7.13.0", | ||
"@ember/-internals": "file:@ember/-internals", | ||
@@ -53,4 +54,4 @@ "@ember/debug": "file:@ember/debug", | ||
"@ember/string": "file:@ember/string", | ||
"@rollup/plugin-commonjs": "^17.0.0", | ||
"@rollup/plugin-node-resolve": "^11.0.1", | ||
"@rollup/plugin-commonjs": "^18.0.0", | ||
"@rollup/plugin-node-resolve": "^11.2.1", | ||
"@types/jquery": "^3.5.5", | ||
@@ -65,9 +66,9 @@ "auto-changelog": "^2.2.1", | ||
"fastboot": "^3.1.2", | ||
"jquery": "^3.5.1", | ||
"jquery": "^3.6.0", | ||
"lerna-changelog": "^1.0.1", | ||
"mber": "^0.14.2", | ||
"release-it": "^14.2.2", | ||
"sinon": "^9.2.2", | ||
"mber": "^0.14.6", | ||
"release-it": "^14.5.1", | ||
"sinon": "^10.0.0", | ||
"tsconfig-paths": "^3.9.0", | ||
"typescript": "^4.1.3" | ||
"typescript": "^4.2.3" | ||
}, | ||
@@ -74,0 +75,0 @@ "babel": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Uses eval
Supply chain riskPackage uses eval() which is a dangerous function. This prevents the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 2 instances in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
578960
47
14500
14
4
Updated@types/node@^14.14.37
Updatedfake-xml-http-request@^2.1.2