New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@wkovacs64/booleanize

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wkovacs64/booleanize - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

dist/index.d.mts

21

dist/index.js

@@ -0,13 +1,26 @@

"use strict";
var __defProp = Object.defineProperty;
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
__markAsModule(target);
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
// src/index.ts
__export(exports, {
var src_exports = {};
__export(src_exports, {
booleanize: () => booleanize
});
module.exports = __toCommonJS(src_exports);
function booleanize(input) {

@@ -45,2 +58,2 @@ if (input === null)

});
//# sourceMappingURL=index.js.map
//# sourceMappingURL=index.js.map

60

package.json
{
"name": "@wkovacs64/booleanize",
"version": "2.0.1",
"version": "2.0.2",
"description": "Small utility to coerce a value to its boolean equivalent",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {

@@ -32,39 +31,32 @@ "require": "./dist/index.js",

"scripts": {
"cm": "git-cz",
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,html,css,json,md,mdx,yml,yaml}\"",
"build": "tsup ./src/index.ts --format cjs,esm --dts --sourcemap --clean",
"test": "jest",
"test:coverage": "jest --coverage",
"test:watch": "jest --watch --onlyChanged",
"lint": "eslint --ext \".js,.jsx,.ts,.tsx\" .",
"husky:install": "husky install",
"prepare": "npm-run-all husky:install build"
"build": "tsup ./src/index.ts --format cjs,esm --dts --sourcemap --clean && cpy dist/index.d.ts dist --flat --rename=index.d.mts",
"changeset": "changeset",
"changeset:version": "changeset version && npm install --package-lock-only",
"changeset:publish": "changeset publish",
"check-types": "tsc --noEmit",
"format": "prettier --cache --write .",
"lint": "eslint .",
"prepare": "npm run --silent build",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"test:watch": "vitest watch"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"dependencies": {},
"devDependencies": {
"@babel/core": "7.16.0",
"@babel/preset-env": "7.16.4",
"@babel/preset-typescript": "7.16.0",
"@commitlint/cli": "15.0.0",
"@commitlint/config-conventional": "15.0.0",
"@types/jest": "27.0.3",
"@wkovacs64/prettier-config": "3.0.0",
"@changesets/changelog-github": "0.4.8",
"@changesets/cli": "2.26.0",
"@types/node": "18.15.3",
"@types/ws": "8.5.4",
"@vitest/coverage-c8": "0.29.3",
"@wkovacs64/prettier-config": "3.0.3",
"c8": "7.13.0",
"codecov": "3.8.3",
"commitizen": "4.2.4",
"cz-conventional-changelog": "3.3.0",
"eslint": "8.3.0",
"eslint-plugin-wkovacs64": "13.8.0",
"husky": "7.0.4",
"jest": "27.4.0",
"lint-staged": "12.1.2",
"cpy-cli": "4.2.0",
"eslint": "8.36.0",
"eslint-plugin-wkovacs64": "14.1.0",
"npm-run-all": "4.1.5",
"semantic-release": "18.0.1",
"tsup": "5.10.0",
"typescript": "4.5.2"
"prettier": "2.8.4",
"tsup": "6.6.3",
"typescript": "4.9.5",
"vitest": "0.29.3"
}
}

@@ -7,3 +7,2 @@ # @wkovacs64/booleanize

[![Code Coverage][coverage-image]][coverage-url]
[![semantic-release][semantic-release-image]][semantic-release-url]

@@ -55,10 +54,7 @@ ## Installation

[ci-image]:
https://img.shields.io/circleci/project/github/wKovacs64/booleanize/master.svg?style=flat-square
[ci-url]: https://circleci.com/gh/wKovacs64/booleanize
https://img.shields.io/github/actions/workflow/status/wKovacs64/booleanize/ci.yml?logo=github&style=flat-square
[ci-url]: https://github.com/wKovacs64/booleanize/actions?query=workflow%3Aci
[coverage-image]:
https://img.shields.io/codecov/c/github/wKovacs64/booleanize/master.svg?style=flat-square
[coverage-url]: https://codecov.io/gh/wKovacs64/booleanize/branch/master
[semantic-release-image]:
https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=flat-square
[semantic-release-url]: https://github.com/semantic-release/semantic-release
[license]: https://github.com/wKovacs64/booleanize/tree/master/LICENSE
https://img.shields.io/codecov/c/github/wKovacs64/booleanize/main.svg?style=flat-square
[coverage-url]: https://codecov.io/gh/wKovacs64/booleanize/branch/main
[license]: https://github.com/wKovacs64/booleanize/tree/main/LICENSE

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

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