@bitty/nullish
Advanced tools
Comparing version 0.0.0 to 0.0.1
@@ -7,6 +7,6 @@ /** | ||
function isNullish(value) { | ||
return value === null || value === undefined; | ||
return value == null; | ||
} | ||
export { isNullish }; | ||
export default isNullish; | ||
//# sourceMappingURL=main.esm.js.map |
@@ -11,6 +11,6 @@ 'use strict'; | ||
function isNullish(value) { | ||
return value === null || value === undefined; | ||
return value == null; | ||
} | ||
exports.isNullish = isNullish; | ||
exports.default = isNullish; | ||
//# sourceMappingURL=main.js.map |
@@ -13,6 +13,6 @@ (function (global, factory) { | ||
function isNullish(value) { | ||
return value === null || value === undefined; | ||
return value == null; | ||
} | ||
exports.isNullish = isNullish; | ||
exports.default = isNullish; | ||
@@ -19,0 +19,0 @@ Object.defineProperty(exports, '__esModule', { value: true }); |
@@ -1,2 +0,2 @@ | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).Either={})}(this,(function(e){"use strict";e.isNullish=function(e){return null==e},Object.defineProperty(e,"__esModule",{value:!0})})); | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).Either={})}(this,(function(e){"use strict";e.default=function(e){return null==e},Object.defineProperty(e,"__esModule",{value:!0})})); | ||
//# sourceMappingURL=main.umd.min.js.map |
111
package.json
{ | ||
"name": "@bitty/nullish", | ||
"version": "0.0.0", | ||
"description": "Nullish type and function helpers.", | ||
"sideEffects": false, | ||
"cdn": "dist/main.umd.js", | ||
"main": "dist/main.js", | ||
"types": "types/main.d.ts", | ||
"unpkg": "dist/main.umd.js", | ||
"module": "dist/main.esm.js", | ||
"jsdelivr": "dist/main.umd.js", | ||
"umd:main": "dist/main.umd.js", | ||
"files": [ | ||
"dist/", | ||
"types/" | ||
], | ||
"keywords": [ | ||
"fp", | ||
"functional programming", | ||
"function", | ||
"functional" | ||
], | ||
"scripts": { | ||
"test": "pnpm run test:code-style && pnpm run test:unit", | ||
"test:transpile": "tsc --project ./tsconfig.test.json", | ||
"test:unit": "pnpm run test:transpile && ava", | ||
"test:code-style": "prettier --check \"./src/**/*.ts\"", | ||
"build": "pnpm run build:transpile && pnpm run build:bundle", | ||
"build:transpile": "tsc --project ./tsconfig.build.json", | ||
"build:bundle": "rollup --config rollup.config.js", | ||
"prepublishOnly": "pnpm run test && pnpm run build" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/VitorLuizC/bitty.git" | ||
}, | ||
"author": { | ||
"url": "https://vitorluizc.github.io/", | ||
"name": "Vitor Luiz Cavalcanti", | ||
"email": "vitorluizc@outlook.com" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/VitorLuizC/bitty/issues" | ||
}, | ||
"homepage": "https://github.com/VitorLuizC/bitty/tree/master/packages/pipe", | ||
"license": "MIT", | ||
"devDependencies": { | ||
"ava": "^3.8.2", | ||
"prettier": "^2.0.5", | ||
"rollup": "^2.13.1", | ||
"rollup-plugin-terser": "^6.1.0", | ||
"typescript": "^3.9.3" | ||
} | ||
"name": "@bitty/nullish", | ||
"version": "0.0.1", | ||
"description": "Nullish helper functions and types for TypeScript.", | ||
"sideEffects": false, | ||
"cdn": "dist/main.umd.js", | ||
"main": "dist/main.js", | ||
"types": "types/main.d.ts", | ||
"unpkg": "dist/main.umd.js", | ||
"module": "dist/main.esm.js", | ||
"jsdelivr": "dist/main.umd.js", | ||
"umd:main": "dist/main.umd.js", | ||
"files": [ | ||
"dist/", | ||
"types/" | ||
], | ||
"keywords": [ | ||
"null", | ||
"undefined", | ||
"nully", | ||
"nullable", | ||
"non-nullable", | ||
"typescript", | ||
"typescript-types", | ||
"fp", | ||
"functional programming", | ||
"function", | ||
"functional" | ||
], | ||
"scripts": { | ||
"test": "pnpm run test:code-style && pnpm run test:unit", | ||
"test:transpile": "tsc --project ./tsconfig.test.json", | ||
"test:unit": "pnpm run test:transpile && ava", | ||
"test:code-style": "prettier --check \"./src/**/*.ts\"", | ||
"build": "pnpm run build:transpile && pnpm run build:bundle", | ||
"build:transpile": "tsc --project ./tsconfig.build.json", | ||
"build:bundle": "rollup --config rollup.config.js", | ||
"prepublishOnly": "pnpm run test && pnpm run build" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/VitorLuizC/bitty.git" | ||
}, | ||
"author": { | ||
"url": "https://vitorluizc.github.io/", | ||
"name": "Vitor Luiz Cavalcanti", | ||
"email": "vitorluizc@outlook.com" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/VitorLuizC/bitty/issues" | ||
}, | ||
"homepage": "https://github.com/VitorLuizC/bitty/tree/master/packages/pipe", | ||
"license": "MIT", | ||
"devDependencies": { | ||
"ava": "^3.8.2", | ||
"prettier": "^2.0.5", | ||
"rollup": "^2.13.1", | ||
"rollup-plugin-terser": "^6.1.0", | ||
"typescript": "^3.9.3" | ||
} | ||
} |
@@ -14,3 +14,3 @@ /** | ||
*/ | ||
export declare function isNullish(value?: unknown): value is Nullish; | ||
export default function isNullish(value?: unknown): value is Nullish; | ||
//# sourceMappingURL=main.d.ts.map |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
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
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
9462
13
1
103
1