update node_modules

This commit is contained in:
bitkarrot
2022-03-20 22:29:16 -07:00
parent c97bfff58e
commit ff7f8a6ab0
115 changed files with 5651 additions and 2419 deletions

View File

@@ -27,5 +27,5 @@ obj.foo() // bar
TypeScript is also supported:
```typescript
import setPrototypeOf = require('setprototypeof')
import setPrototypeOf from 'setprototypeof'
```

View File

@@ -9,7 +9,7 @@ function setProtoOf (obj, proto) {
function mixinProperties (obj, proto) {
for (var prop in proto) {
if (!obj.hasOwnProperty(prop)) {
if (!Object.prototype.hasOwnProperty.call(obj, prop)) {
obj[prop] = proto[prop]
}
}

View File

@@ -1,6 +1,6 @@
{
"name": "setprototypeof",
"version": "1.1.1",
"version": "1.2.0",
"description": "A small polyfill for Object.setprototypeof",
"main": "index.js",
"typings": "index.d.ts",
@@ -12,7 +12,9 @@
"node4": "NODE_VER=4 npm run testversion",
"node6": "NODE_VER=6 npm run testversion",
"node9": "NODE_VER=9 npm run testversion",
"node11": "NODE_VER=11 npm run testversion"
"node11": "NODE_VER=11 npm run testversion",
"prepublishOnly": "npm t",
"postpublish": "git push origin && git push origin --tags"
},
"repository": {
"type": "git",
@@ -30,7 +32,7 @@
},
"homepage": "https://github.com/wesleytodd/setprototypeof",
"devDependencies": {
"mocha": "^5.2.0",
"standard": "^12.0.1"
"mocha": "^6.1.4",
"standard": "^13.0.2"
}
}