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

awilix

Package Overview
Dependencies
Maintainers
1
Versions
92
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 5.0.0 to 5.0.1

9

lib/awilix.browser.js

@@ -540,10 +540,3 @@ /*! *****************************************************************************

function uniq(arr) {
var result = [];
for (var idx in arr) {
var item = arr[idx];
if (result.indexOf(item) === -1) {
result.push(item);
}
}
return result;
return Array.from(new Set(arr));
}

@@ -550,0 +543,0 @@

@@ -470,10 +470,3 @@ import * as glob from 'glob';

function uniq(arr) {
const result = [];
for (const idx in arr) {
const item = arr[idx];
if (result.indexOf(item) === -1) {
result.push(item);
}
}
return result;
return Array.from(new Set(arr));
}

@@ -480,0 +473,0 @@

@@ -546,10 +546,3 @@ (function (global, factory) {

function uniq(arr) {
var result = [];
for (var idx in arr) {
var item = arr[idx];
if (result.indexOf(item) === -1) {
result.push(item);
}
}
return result;
return Array.from(new Set(arr));
}

@@ -556,0 +549,0 @@

@@ -105,12 +105,5 @@ "use strict";

function uniq(arr) {
const result = [];
for (const idx in arr) {
const item = arr[idx];
if (result.indexOf(item) === -1) {
result.push(item);
}
}
return result;
return Array.from(new Set(arr));
}
exports.uniq = uniq;
//# sourceMappingURL=utils.js.map

8

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

@@ -58,4 +58,4 @@ "main": "lib/awilix.js",

"@types/glob": "^7.1.4",
"@types/jest": "^26.0.20",
"@types/node": "^16.4.13",
"@types/jest": "^27.0.1",
"@types/node": "^16.6.1",
"@types/prettier": "^2.3.2",

@@ -78,3 +78,3 @@ "babel-jest": "^27.0.6",

"ts-jest": "^27.0.4",
"tslib": "^2.3.0",
"tslib": "^2.3.1",
"tslint": "^6.1.3",

@@ -81,0 +81,0 @@ "tslint-config-prettier": "^1.18.0",

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