@socketregistry/object-keys
Advanced tools
Comparing version
'use strict' | ||
const { isArray: ArrayIsArray } = Array | ||
const { toString: objToStr } = Object.prototype | ||
@@ -20,4 +21,4 @@ | ||
typeof value.callee === 'function' && | ||
!Array.isArray(value) | ||
!ArrayIsArray(value) | ||
) | ||
} |
{ | ||
"name": "@socketregistry/object-keys", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"license": "MIT", | ||
@@ -12,6 +12,20 @@ "description": "Socket.dev optimized package override for object-keys", | ||
"type": "git", | ||
"url": "https://github.com/SocketDev/socket-registry-js", | ||
"url": "git+https://github.com/SocketDev/socket-registry-js.git", | ||
"directory": "packages/npm/object-keys" | ||
}, | ||
"main": "./index.js", | ||
"exports": { | ||
".": { | ||
"types": "./index.d.ts", | ||
"default": "./index.js" | ||
}, | ||
"./implementation": { | ||
"types": "./implementation.d.ts", | ||
"default": "./implementation.js" | ||
}, | ||
"./isArguments": { | ||
"types": "./isArguments.d.ts", | ||
"default": "./isArguments.js" | ||
}, | ||
"./package.json": "./package.json" | ||
}, | ||
"sideEffects": false, | ||
@@ -18,0 +32,0 @@ "engines": { |
@@ -7,4 +7,5 @@ # @socketregistry/object-keys | ||
> A zero dependency drop-in replacement of | ||
> [`object-keys`](https://www.npmjs.com/package/object-keys). | ||
> A tested zero dependency drop-in replacement of | ||
> [`object-keys`](https://www.npmjs.com/package/object-keys) complete with | ||
> TypeScript types. | ||
@@ -11,0 +12,0 @@ ## Installation |
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
5683
7.9%50
2.04%50
2.04%1
Infinity%