Skip to content

Commit

Permalink
[Updated] packages to angular v8.
Browse files Browse the repository at this point in the history
  • Loading branch information
RicardoNeves committed Feb 11, 2020
1 parent c3e22a8 commit 23fff9d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 18 deletions.
28 changes: 11 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,26 +39,20 @@
"tslib": "^1.9.0"
},
"peerDependencies": {
"@angular/common": "^7.1.4",
"@angular/compiler": "^7.1.4",
"@angular/compiler-cli": "^7.1.4",
"@angular/core": "^7.1.4",
"@angular/platform-browser": "^7.1.4",
"@angular/platform-browser-dynamic": "^7.1.4",
"reflect-metadata": ">=0.1.3"
},
"optionalDependencies": {
"fsevents": "*"
},
"devDependencies": {
"@angular-devkit/build-angular": "^0.801.2",
"@angular/cli": "^8.3.21",
"@angular/common": "^7.1.4",
"@angular/compiler": "^7.1.4",
"@angular/compiler-cli": "^7.1.4",
"@angular/core": "^7.1.4",
"@angular/platform-browser": "^7.1.4",
"@angular/platform-browser-dynamic": "^7.1.4",
"@angular-devkit/build-angular": "^0.803.25",
"@angular/cli": "^8.3.25",
"@angular/common": "^8.2.14",
"@angular/compiler": "^8.2.14",
"@angular/compiler-cli": "^8.2.14",
"@angular/core": "^8.2.14",
"@angular/platform-browser": "^8.2.14",
"@angular/platform-browser-dynamic": "^8.2.14",
"@types/date-fns": "^2.6.0",
"@types/jasmine": "2.5.43",
"@types/lodash-es": "^4.17.1",
Expand All @@ -84,12 +78,12 @@
"ts-loader": "^6.0.0",
"tslint": "^5.11.0",
"tslint-config-airbnb": "^5.11.1",
"typescript": "3.1.6",
"typescript": "3.5.3",
"webpack": "^4.28.3",
"webpack-dev-middleware": "^3.4.0",
"zone.js": "^0.8.26"
"zone.js": "^0.9.1"
},
"engines": {
"node": ">=0.8.0"
}
}
}
6 changes: 5 additions & 1 deletion src/services/json-api-datastore.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,11 @@ export class JsonApiDatastore {
}
}

protected resetMetadataAttributes<T extends JsonApiModel>(res: T, attributesMetadata: any, modelType: ModelType<T>) {
protected resetMetadataAttributes<T extends JsonApiModel>(
res: any,
attributesMetadata: any,
modelType: ModelType<T>,
) {
for (const propertyName in attributesMetadata) {
if (attributesMetadata.hasOwnProperty(propertyName)) {
const metadata: any = attributesMetadata[propertyName];
Expand Down

0 comments on commit 23fff9d

Please sign in to comment.