Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

knifecycle

Package Overview
Dependencies
Maintainers
1
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

knifecycle - npm Package Compare versions

Comparing version 11.0.0 to 11.0.1

9

CHANGELOG.md

@@ -0,1 +1,10 @@

## [11.0.1](https://github.com/nfroidure/knifecycle/compare/v11.0.0...v11.0.1) (2020-12-06)
### Bug Fixes
* **build:** fix build issues with constants ([2d4d597](https://github.com/nfroidure/knifecycle/commit/2d4d597a54527f42d3e9bf9ad0a51d5018a9510b))
# [11.0.0](https://github.com/nfroidure/knifecycle/compare/v10.0.3...v11.0.0) (2020-11-22)

@@ -2,0 +11,0 @@

8

dist/index.js

@@ -359,3 +359,3 @@ "use strict";

const properties = (0, _util.unwrapInitializerProperties)(initializer); // Temporary cast constants into providers
(0, _util.unwrapInitializerProperties)(initializer); // Temporary cast constants into providers
// Best would be to threat each differently

@@ -373,3 +373,7 @@ // at dependencies initialization level to boost performances

service: value
}), initializer[_util.SPECIAL_PROPS.NAME], [], true);
}), initializer[_util.SPECIAL_PROPS.NAME], [], true); // Needed for the build utils to still recognize
// this initializer as a constant value
initializer[_util.SPECIAL_PROPS.VALUE] = value;
initializer[_util.SPECIAL_PROPS.TYPE] = 'constant';
} else if ('undefined' !== typeof initializer[_util.SPECIAL_PROPS.VALUE]) {

@@ -376,0 +380,0 @@ throw new _yerror.default(E_BAD_VALUED_NON_CONSTANT_INITIALIZER, initializer[_util.SPECIAL_PROPS.NAME]);

{
"name": "knifecycle",
"version": "11.0.0",
"version": "11.0.1",
"description": "Manage your NodeJS processes's lifecycle automatically with an unobtrusive dependency injection implementation.",

@@ -5,0 +5,0 @@ "main": "dist/index",

@@ -296,3 +296,3 @@ /* eslint max-len: ["warn", { "ignoreComments": true }] @typescript-eslint/no-this-alias: "warn" */

const properties = unwrapInitializerProperties(initializer);
unwrapInitializerProperties(initializer);

@@ -320,2 +320,7 @@ // Temporary cast constants into providers

);
// Needed for the build utils to still recognize
// this initializer as a constant value
initializer[SPECIAL_PROPS.VALUE] = value;
initializer[SPECIAL_PROPS.TYPE] = 'constant';
} else if ('undefined' !== typeof initializer[SPECIAL_PROPS.VALUE]) {

@@ -322,0 +327,0 @@ throw new YError(

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc