Comparing version 4.0.0-rc-6 to 4.0.0-rc-7
@@ -43,2 +43,6 @@ "use strict"; | ||
}; | ||
// runtime polyfill | ||
if (Symbol.metadata == null) { | ||
Symbol.metadata = Symbol('cheap-di Symbol.metadata polyfill'); | ||
} | ||
//# sourceMappingURL=index.js.map |
@@ -27,2 +27,6 @@ export * from './cheapDiSymbol.js'; | ||
}; | ||
// runtime polyfill | ||
if (Symbol.metadata == null) { | ||
Symbol.metadata = Symbol('cheap-di Symbol.metadata polyfill'); | ||
} | ||
//# sourceMappingURL=index.js.map |
@@ -27,1 +27,9 @@ export * from './cheapDiSymbol.js'; | ||
export default _default; | ||
declare global { | ||
interface SymbolConstructor { | ||
readonly metadata: unique symbol; | ||
} | ||
interface Function { | ||
[Symbol.metadata]: DecoratorMetadata | null; | ||
} | ||
} |
{ | ||
"name": "cheap-di", | ||
"description": "TypeScript dependency injection like Autofac in .Net", | ||
"version": "4.0.0-rc-6", | ||
"version": "4.0.0-rc-7", | ||
"scripts": { | ||
@@ -6,0 +6,0 @@ "compile": "tsc --build tsconfig.cjs.json ./tsconfig.esm.json ./tsconfig.types.json", |
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
225424
2247
0