@sindresorhus/is
Advanced tools
Comparing version 6.3.1 to 7.0.0
{ | ||
"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) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
766
99319
1743
1