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

@mighty-justice/smart-bool

Package Overview
Dependencies
Maintainers
4
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mighty-justice/smart-bool - npm Package Compare versions

Comparing version 0.3.2 to 1.0.0

8

dist/SmartBool.cjs.js

@@ -75,3 +75,3 @@ 'use strict';

var desc = {};
Object['ke' + 'ys'](descriptor).forEach(function (key) {
Object.keys(descriptor).forEach(function (key) {
desc[key] = descriptor[key];

@@ -96,3 +96,3 @@ });

if (desc.initializer === void 0) {
Object['define' + 'Property'](target, property, desc);
Object.defineProperty(target, property, desc);
desc = null;

@@ -104,6 +104,6 @@ }

var commonjsGlobal = typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
function unwrapExports (x) {
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x.default : x;
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
}

@@ -110,0 +110,0 @@

@@ -73,3 +73,3 @@ import { observable } from 'mobx';

var desc = {};
Object['ke' + 'ys'](descriptor).forEach(function (key) {
Object.keys(descriptor).forEach(function (key) {
desc[key] = descriptor[key];

@@ -94,3 +94,3 @@ });

if (desc.initializer === void 0) {
Object['define' + 'Property'](target, property, desc);
Object.defineProperty(target, property, desc);
desc = null;

@@ -102,6 +102,6 @@ }

var commonjsGlobal = typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
function unwrapExports (x) {
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x.default : x;
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
}

@@ -108,0 +108,0 @@

@@ -77,3 +77,3 @@ (function (global, factory) {

var desc = {};
Object['ke' + 'ys'](descriptor).forEach(function (key) {
Object.keys(descriptor).forEach(function (key) {
desc[key] = descriptor[key];

@@ -98,3 +98,3 @@ });

if (desc.initializer === void 0) {
Object['define' + 'Property'](target, property, desc);
Object.defineProperty(target, property, desc);
desc = null;

@@ -106,6 +106,6 @@ }

var commonjsGlobal = typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
function unwrapExports (x) {
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x.default : x;
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
}

@@ -112,0 +112,0 @@

{
"name": "@mighty-justice/smart-bool",
"version": "0.3.2",
"version": "1.0.0",
"description": "Eliminate your single-line boolean setting methods",

@@ -13,18 +13,19 @@ "main": "dist/SmartBool.cjs.js",

"scripts": {
"clean": "rm -r dist/*",
"build:types": "yarn tsc --emitDeclarationOnly",
"build": "npm run build:clean && npm run build:types && npm run build:js",
"build:clean": "rm -r dist/* || true",
"build:js": "rollup -c",
"build": "npm run build:types && npm run build:js",
"build:types": "tsc --emitDeclarationOnly",
"deploy": "np",
"dev": "rollup -c -w",
"docs:build": "npm run docs:prepare && gitbook build",
"docs:deploy": "gh-pages -d _book",
"docs:prepare": "gitbook install",
"docs:watch": "npm run docs:prepare && gitbook serve",
"lint": "tslint --project .",
"postpublish": "npm run docs:build && npm run docs:deploy",
"preversion": "npm run lint",
"test": "jest",
"test:watch": "npm run test/*.js -- -w",
"prebuild": "npm run lint",
"predeploy": "npm run build && npm run docs:build",
"deploy": "gh-pages -d _book",
"docs:prepare": "gitbook install",
"docs:build": "npm run docs:prepare && gitbook build",
"docs:watch": "npm run docs:prepare && gitbook serve",
"view-source-map": "source-map-explorer --html dist/index.js dist/index.map > source.html && open source.html",
"release": "np"
"version": "npm run build && git add dist",
"view-source-map": "source-map-explorer --html dist/index.js dist/index.map > source.html && open source.html"
},

@@ -61,3 +62,5 @@ "repository": {

],
"setupTestFrameworkScriptFile": "./test/setup.js",
"setupFilesAfterEnv": [
"./test/setup.js"
],
"testURL": "http://localhost/"

@@ -70,3 +73,3 @@ },

"peerDependencies": {
"mobx": ">=5.8"
"mobx": "^4.0.0 || ^5.0.0"
},

@@ -77,13 +80,13 @@ "resolutions": {

"devDependencies": {
"@babel/core": "^7.2.0",
"@babel/plugin-proposal-class-properties": "^7.2.3",
"@babel/plugin-proposal-decorators": "^7.2.3",
"@babel/core": "^7.4.3",
"@babel/plugin-proposal-class-properties": "^7.4.0",
"@babel/plugin-proposal-decorators": "^7.4.0",
"@babel/plugin-proposal-export-default-from": "^7.2.0",
"@babel/plugin-proposal-optional-chaining": "^7.2.0",
"@babel/polyfill": "^7.2.3",
"@babel/preset-env": "^7.2.3",
"@babel/preset-typescript": "^7.1.0",
"@babel/polyfill": "^7.4.3",
"@babel/preset-env": "^7.4.3",
"@babel/preset-typescript": "^7.3.3",
"@mighty-justice/tslint-config": "^0.3.0",
"babelrc-rollup": "^3.0.0",
"coveralls": "^3.0.2",
"coveralls": "^3.0.3",
"gh-pages": "^2.0.1",

@@ -93,14 +96,14 @@ "gitbook-cli": "^2.3.2",

"gitbook-plugin-search-plus": "^1.0.4-alpha-3",
"jest": "^23.6.0",
"jest-environment-jsdom": "^23.4.0",
"mobx": "^5.8.0",
"np": "^3.1.0",
"regenerator-runtime": "^0.13.1",
"rollup": "^0.68.1",
"rollup-plugin-babel": "^4.0.3",
"rollup-plugin-commonjs": "^9.2.0",
"rollup-plugin-node-resolve": "^4.0.0",
"source-map-explorer": "^1.6.0",
"tslint": "^5.11.0",
"typescript": "^3.2.2"
"jest": "^24.7.1",
"jest-environment-jsdom": "^24.7.1",
"mobx": "^5.9.4",
"np": "^4.0.2",
"regenerator-runtime": "^0.13.2",
"rollup": "^1.9.0",
"rollup-plugin-babel": "^4.3.2",
"rollup-plugin-commonjs": "^9.3.4",
"rollup-plugin-node-resolve": "^4.2.1",
"source-map-explorer": "^1.8.0",
"tslint": "^5.15.0",
"typescript": "^3.4.2"
},

@@ -107,0 +110,0 @@ "dependencies": {

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