vm-browserify
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -5,2 +5,5 @@ # vm-browserify Change Log | ||
## 1.0.1 - 2018-04-13 | ||
* Remove the `component-indexof` dependency. (https://github.com/browserify/vm-browserify/commit/0d9bd4c99f80db12c5c45e260a23ebfc51ec850d) | ||
## 1.0.0 - 2018-03-23 | ||
@@ -7,0 +10,0 @@ |
@@ -1,3 +0,8 @@ | ||
var indexOf = require('component-indexof'); | ||
var indexOf = function (xs, item) { | ||
if (xs.indexOf) return xs.indexOf(item); | ||
else for (var i = 0; i < xs.length; i++) { | ||
if (xs[i] === item) return i; | ||
} | ||
return -1; | ||
}; | ||
var Object_keys = function (obj) { | ||
@@ -4,0 +9,0 @@ if (Object.keys) return Object.keys(obj) |
{ | ||
"name": "vm-browserify", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "vm module for the browser", | ||
@@ -15,5 +15,3 @@ "main": "index.js", | ||
], | ||
"dependencies": { | ||
"component-indexof": "0.0.3" | ||
}, | ||
"dependencies": {}, | ||
"devDependencies": { | ||
@@ -20,0 +18,0 @@ "browserify": "^16.1.1", |
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
22157
0
552
3
- Removedcomponent-indexof@0.0.3
- Removedcomponent-indexof@0.0.3(transitive)