🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →

bail

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bail - npm Package Compare versions

Comparing version

to
1.0.4

{
"name": "bail",
"version": "1.0.3",
"version": "1.0.4",
"description": "Throw a given error",

@@ -15,5 +15,5 @@ "license": "MIT",

"bugs": "https://github.com/wooorm/bail/issues",
"author": "Titus Wormer <tituswormer@gmail.com> (http://wooorm.com)",
"author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
"contributors": [
"Titus Wormer <tituswormer@gmail.com> (http://wooorm.com)"
"Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)"
],

@@ -26,14 +26,14 @@ "files": [

"browserify": "^16.0.0",
"esmangle": "^1.0.1",
"nyc": "^11.0.0",
"nyc": "^14.0.0",
"prettier": "^1.12.0",
"remark-cli": "^5.0.0",
"remark-cli": "^6.0.0",
"remark-preset-wooorm": "^4.0.0",
"tape": "^4.0.0",
"xo": "^0.20.0"
"tinyify": "^2.5.0",
"xo": "^0.24.0"
},
"scripts": {
"format": "remark . -qfo && prettier --write '**/*.js' && xo --fix",
"build-bundle": "browserify index.js --bare -s bail > bail.js",
"build-mangle": "esmangle bail.js > bail.min.js",
"format": "remark . -qfo && prettier --write \"**/*.js\" && xo --fix",
"build-bundle": "browserify index.js -s bail -o bail.js",
"build-mangle": "browserify index.js -s bail -p tinyify -o bail.min.js",
"build": "npm run build-bundle && npm run build-mangle",

@@ -55,6 +55,2 @@ "test-api": "node test",

"esnext": false,
"rules": {
"no-var": "off",
"prefer-arrow-callback": "off"
},
"ignores": [

@@ -61,0 +57,0 @@ "bail.js"

@@ -1,3 +0,8 @@

# bail [![Build Status][travis-badge]][travis] [![Coverage Status][codecov-badge]][codecov]
# bail
[![Build][build-badge]][build]
[![Coverage][coverage-badge]][coverage]
[![Downloads][downloads-badge]][downloads]
[![Size][size-badge]][size]
:warning: Throw a given error.

@@ -53,15 +58,23 @@

[travis-badge]: https://img.shields.io/travis/wooorm/bail.svg
[build-badge]: https://img.shields.io/travis/wooorm/bail.svg
[travis]: https://travis-ci.org/wooorm/bail
[build]: https://travis-ci.org/wooorm/bail
[codecov-badge]: https://img.shields.io/codecov/c/github/wooorm/bail.svg
[coverage-badge]: https://img.shields.io/codecov/c/github/wooorm/bail.svg
[codecov]: https://codecov.io/github/wooorm/bail
[coverage]: https://codecov.io/github/wooorm/bail
[downloads-badge]: https://img.shields.io/npm/dm/bail.svg
[downloads]: https://www.npmjs.com/package/bail
[size-badge]: https://img.shields.io/bundlephobia/minzip/bail.svg
[size]: https://bundlephobia.com/result?p=bail
[npm-install]: https://docs.npmjs.com/cli/install
[license]: LICENSE
[license]: license
[author]: http://wooorm.com
[author]: https://wooorm.com

@@ -68,0 +81,0 @@ [noop]: https://www.npmjs.com/package/noop