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.3.1 to 7.0.0

distribution/index.d.ts

48

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

@@ -14,15 +14,17 @@ "license": "MIT",

"type": "module",
"exports": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
"types": "./distribution/index.d.ts",
"default": "./distribution/index.js"
},
"sideEffects": false,
"engines": {
"node": ">=16"
"node": ">=18"
},
"scripts": {
"build": "del dist && tsc",
"test": "tsc --noEmit && xo && NODE_OPTIONS='--loader=ts-node/esm --no-warnings=ExperimentalWarning' ava",
"build": "del distribution && tsc",
"test": "tsc --noEmit && xo && ava",
"prepare": "npm run build"
},
"files": [
"dist"
"distribution"
],

@@ -54,22 +56,28 @@ "keywords": [

"devDependencies": {
"@sindresorhus/tsconfig": "^4.0.0",
"@types/jsdom": "^21.1.1",
"@types/node": "^20.5.0",
"@types/zen-observable": "^0.8.3",
"ava": "^5.3.1",
"del-cli": "^5.0.0",
"jsdom": "^22.1.0",
"@sindresorhus/tsconfig": "^6.0.0",
"@types/jsdom": "^21.1.7",
"@types/node": "^20.14.10",
"@types/zen-observable": "^0.8.7",
"ava": "^6.1.3",
"del-cli": "^5.1.0",
"expect-type": "^0.19.0",
"jsdom": "^24.1.0",
"rxjs": "^7.8.1",
"tempy": "^3.1.0",
"ts-node": "^10.9.1",
"typescript": "^5.1.6",
"xo": "^0.56.0",
"zen-observable": "^0.10.0",
"expect-type": "^0.16.0"
"tsimp": "^2.0.11",
"typescript": "^5.5.3",
"xo": "^0.58.0",
"zen-observable": "^0.10.0"
},
"ava": {
"environmentVariables": {
"TSIMP_DIAG": "error"
},
"extensions": {
"ts": "module"
}
},
"nodeArguments": [
"--import=tsimp/import"
]
}
}

@@ -136,2 +136,6 @@ # is

##### .buffer(value)
> [!NOTE]
> [Prefer using `Uint8Array` instead of `Buffer`.](https://sindresorhus.com/blog/goodbye-nodejs-buffer)
##### .blob(value)

@@ -138,0 +142,0 @@ ##### .object(value)

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