Socket
Socket
Sign inDemoInstall

awilix

Package Overview
Dependencies
Maintainers
1
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

awilix - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

5

CHANGELOG.md

@@ -0,1 +1,6 @@

# v4.0.1
- Support returning the `cradle` in `async` functions ([#109](https://github.com/jeffijoe/awilix/issues/109), [andyfleming](https://github.com/andyfleming)))
- Update packages
# v4.0.0

@@ -2,0 +7,0 @@

@@ -1243,2 +1243,7 @@ /*! *****************************************************************************

}
// Edge case: Promise unwrapping will look for a "then" property and attempt to call it.
// Return undefined so that we won't cause a resolution error. (issue #109)
if (name === 'then') {
return undefined;
}
// When using `Array.from` or spreading the cradle, this will

@@ -1245,0 +1250,0 @@ // return the registration names.

@@ -1281,2 +1281,7 @@ import { sync } from 'glob';

}
// Edge case: Promise unwrapping will look for a "then" property and attempt to call it.
// Return undefined so that we won't cause a resolution error. (issue #109)
if (name === 'then') {
return undefined;
}
// When using `Array.from` or spreading the cradle, this will

@@ -1283,0 +1288,0 @@ // return the registration names.

@@ -1249,2 +1249,7 @@ (function (global, factory) {

}
// Edge case: Promise unwrapping will look for a "then" property and attempt to call it.
// Return undefined so that we won't cause a resolution error. (issue #109)
if (name === 'then') {
return undefined;
}
// When using `Array.from` or spreading the cradle, this will

@@ -1251,0 +1256,0 @@ // return the registration names.

@@ -218,2 +218,7 @@ "use strict";

}
// Edge case: Promise unwrapping will look for a "then" property and attempt to call it.
// Return undefined so that we won't cause a resolution error. (issue #109)
if (name === 'then') {
return undefined;
}
// When using `Array.from` or spreading the cradle, this will

@@ -220,0 +225,0 @@ // return the registration names.

24

package.json
{
"name": "awilix",
"version": "4.0.0",
"version": "4.0.1",
"description": "Extremely powerful dependency injection container.",

@@ -54,24 +54,24 @@ "main": "lib/awilix.js",

"@types/glob": "^7.1.1",
"@types/jest": "^23.3.5",
"@types/node": "^10.11.7",
"@types/prettier": "^1.13.2",
"@types/jest": "^23.3.9",
"@types/node": "^10.12.10",
"@types/prettier": "^1.15.1",
"babel-jest": "^23.6.0",
"babel-preset-env": "^1.7.0",
"coveralls": "^3.0.2",
"husky": "^1.1.2",
"husky": "^1.2.0",
"istanbul": "^0.4.5",
"jest": "^23.6.0",
"lint-staged": "^7.3.0",
"prettier": "^1.14.3",
"rollup": "^0.66.6",
"lint-staged": "^8.1.0",
"prettier": "^1.15.2",
"rollup": "^0.67.3",
"rollup-plugin-commonjs": "^9.2.0",
"rollup-plugin-node-resolve": "^3.4.0",
"rollup-plugin-replace": "^2.1.0",
"rollup-plugin-typescript2": "^0.17.1",
"rollup-plugin-typescript2": "^0.18.0",
"smid": "^0.1.1",
"ts-jest": "^23.10.4",
"ts-jest": "^23.10.5",
"tslint": "^5.11.0",
"tslint-config-prettier": "^1.15.0",
"tslint-config-prettier": "^1.17.0",
"tslint-config-standard": "^8.0.1",
"typescript": "^3.1.3"
"typescript": "^3.1.6"
},

@@ -78,0 +78,0 @@ "dependencies": {

@@ -1285,3 +1285,3 @@ # Awilix

Clone repo, run `npm i` to install all dependencies, and then
Clone repo, run `npm i` to install all dependencies, run `npm run build` to create an initial build, and then
`npm run test -- --watchAll` to start writing code.

@@ -1288,0 +1288,0 @@

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