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

lightweight-di

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lightweight-di - npm Package Compare versions

Comparing version 0.7.0 to 0.8.0

8

dist/injector.js

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

}
return new (provider.bind.apply(provider, tslib_1.__spreadArrays([void 0], args)))();
return new (provider.bind.apply(provider, tslib_1.__spreadArray([void 0], args)))();
},

@@ -186,3 +186,3 @@ dependencies: dependencies

}
return new (classToUse_1.bind.apply(classToUse_1, tslib_1.__spreadArrays([void 0], args)))();
return new (classToUse_1.bind.apply(classToUse_1, tslib_1.__spreadArray([void 0], args)))();
},

@@ -216,3 +216,3 @@ dependencies: provider.dependencies || getDiTokens(classToUse_1)

if (factory) {
throwOnCircularDependencies(factory.dependencies, factories, tslib_1.__spreadArrays(dependents, [dependency]));
throwOnCircularDependencies(factory.dependencies, factories, tslib_1.__spreadArray(tslib_1.__spreadArray([], dependents), [dependency]));
}

@@ -244,3 +244,3 @@ }

}
return new (dependency.bind.apply(dependency, tslib_1.__spreadArrays([void 0], args)))();
return new (dependency.bind.apply(dependency, tslib_1.__spreadArray([void 0], args)))();
},

@@ -247,0 +247,0 @@ dependencies: classDependencies

{
"name": "lightweight-di",
"version": "0.7.0",
"version": "0.8.0",
"description": "Lightweight dependency injection for TypeScript and JavaScript",

@@ -10,2 +10,3 @@ "main": "dist/index.js",

"prepare": "npm run build",
"prepublishOnly": "npm run test",
"test": "mocha --require ts-node/register --require source-map-support/register src/**/*.spec.ts",

@@ -35,15 +36,15 @@ "watch": "tsc -p tsconfig.build.json -w",

"reflect-metadata": "^0.1.13",
"tslib": "^2.0.3"
"tslib": "^2.3.0"
},
"devDependencies": {
"@types/chai": "^4.2.14",
"@types/mocha": "^8.0.3",
"@types/node": "^14.14.6",
"chai": "^4.2.0",
"mocha": "^8.2.1",
"@types/chai": "^4.2.19",
"@types/mocha": "^8.2.2",
"@types/node": "^15.12.4",
"chai": "^4.3.4",
"mocha": "^9.0.1",
"onchange": "^7.1.0",
"source-map-support": "^0.5.19",
"ts-node": "^9.0.0",
"typescript": "^4.0.5"
"ts-node": "^10.0.0",
"typescript": "^4.3.4"
}
}

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