Socket
Socket
Sign inDemoInstall

@sindresorhus/is

Package Overview
Dependencies
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sindresorhus/is - npm Package Compare versions

Comparing version 6.0.0 to 6.0.1

3

dist/index.js

@@ -338,2 +338,5 @@ const typedArrayTypeNames = [

export function isDirectInstanceOf(instance, class_) {
if (instance === undefined || instance === null) {
return false;
}
return Object.getPrototypeOf(instance) === class_.prototype;

@@ -340,0 +343,0 @@ }

9

package.json
{
"name": "@sindresorhus/is",
"version": "6.0.0",
"version": "6.0.1",
"description": "Type check values",

@@ -21,3 +21,3 @@ "license": "MIT",

"build": "del dist && tsc",
"test": "tsc --noEmit && xo && ava",
"test": "tsc --noEmit && xo && NODE_OPTIONS='--loader=ts-node/esm --no-warnings=ExperimentalWarning' ava",
"prepare": "npm run build"

@@ -72,7 +72,4 @@ },

"ts": "module"
},
"nodeArguments": [
"--loader=ts-node/esm"
]
}
}
}
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