@feathersjs/commons
Advanced tools
Comparing version 4.3.0 to 4.3.7
@@ -6,2 +6,13 @@ # Change Log | ||
## [4.3.7](https://github.com/feathersjs/feathers/compare/v4.3.6...v4.3.7) (2019-10-14) | ||
### Bug Fixes | ||
* make __hooks writable and configurable ([#1520](https://github.com/feathersjs/feathers/issues/1520)) ([1c6c374](https://github.com/feathersjs/feathers/commit/1c6c3742ecf1cb813be56074da89e6736d03ffe8)) | ||
# [4.3.0](https://github.com/feathersjs/feathers/compare/v4.3.0-pre.4...v4.3.0) (2019-08-27) | ||
@@ -8,0 +19,0 @@ |
@@ -136,3 +136,5 @@ "use strict"; | ||
Object.defineProperty(obj, '__hooks', { | ||
value: hookData | ||
configurable: true, | ||
value: hookData, | ||
writable: true | ||
}); | ||
@@ -139,0 +141,0 @@ return Object.assign(obj, { |
@@ -15,3 +15,5 @@ export declare function stripSlashes(name: string): string; | ||
omit(obj: any, ...keys: string[]): any; | ||
pick(source: any, ...keys: string[]): {}; | ||
pick(source: any, ...keys: string[]): { | ||
[key: string]: any; | ||
}; | ||
merge(target: any, source: any): any; | ||
@@ -18,0 +20,0 @@ }; |
{ | ||
"name": "@feathersjs/commons", | ||
"version": "4.3.0", | ||
"version": "4.3.7", | ||
"description": "Shared Feathers utility functions", | ||
@@ -40,12 +40,12 @@ "homepage": "https://feathersjs.com", | ||
"devDependencies": { | ||
"@types/chai": "^4.2.0", | ||
"@types/chai": "^4.2.3", | ||
"@types/mocha": "^5.2.7", | ||
"@types/node": "^12.7.2", | ||
"@types/node": "^12.7.12", | ||
"chai": "^4.2.0", | ||
"mocha": "^6.2.0", | ||
"mocha": "^6.2.1", | ||
"shx": "^0.3.2", | ||
"ts-node": "^8.3.0", | ||
"typescript": "^3.5.3" | ||
"ts-node": "^8.4.1", | ||
"typescript": "^3.6.4" | ||
}, | ||
"gitHead": "907510a8f1f8c675b3ec3b8d9962991c76195694" | ||
"gitHead": "be129c71c47ebf389e003225cd7bef4d61d883ce" | ||
} |
@@ -157,3 +157,5 @@ import { createSymbol, _ } from './utils'; | ||
Object.defineProperty(obj, '__hooks', { | ||
value: hookData | ||
configurable: true, | ||
value: hookData, | ||
writable: true | ||
}); | ||
@@ -160,0 +162,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
56470
570