nice-try
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -7,2 +7,8 @@ # Changelog | ||
## [1.0.5] - 2018-08-25 | ||
### Changed | ||
- Removed `prepublish` script from `package.json` | ||
## [1.0.4] - 2017-08-08 | ||
@@ -9,0 +15,0 @@ |
{ | ||
"name": "nice-try", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"authors": [ | ||
@@ -25,11 +25,10 @@ "Tobias Reich <tobias@electerious.com>" | ||
"coveralls": "nyc report --reporter=text-lcov | coveralls", | ||
"test": "nyc node_modules/mocha/bin/_mocha", | ||
"prepublish": "npm test" | ||
"test": "nyc node_modules/mocha/bin/_mocha" | ||
}, | ||
"devDependencies": { | ||
"chai": "^4.1.1", | ||
"coveralls": "^2.13.1", | ||
"nyc": "^11.1.0", | ||
"mocha": "^3.5.0" | ||
"chai": "^4.1.2", | ||
"coveralls": "^3.0.0", | ||
"nyc": "^12.0.1", | ||
"mocha": "^5.1.1" | ||
} | ||
} |
# nice-try | ||
[![Travis Build Status](https://travis-ci.org/electerious/nice-try.svg?branch=master)](https://travis-ci.org/electerious/nice-try) [![AppVeyor Status](https://ci.appveyor.com/api/projects/status/8tqb09wrwci3xf8l?svg=true)](https://ci.appveyor.com/project/electerious/nice-try) [![Coverage Status](https://coveralls.io/repos/github/electerious/nice-try/badge.svg?branch=master)](https://coveralls.io/github/electerious/nice-try?branch=master) [![Dependencies](https://david-dm.org/electerious/nice-try.svg)](https://david-dm.org/electerious/nice-try#info=dependencies) | ||
[![Travis Build Status](https://travis-ci.org/electerious/nice-try.svg?branch=master)](https://travis-ci.org/electerious/nice-try) [![AppVeyor Status](https://ci.appveyor.com/api/projects/status/8tqb09wrwci3xf8l?svg=true)](https://ci.appveyor.com/project/electerious/nice-try) [![Coverage Status](https://coveralls.io/repos/github/electerious/nice-try/badge.svg?branch=master)](https://coveralls.io/github/electerious/nice-try?branch=master) [![Dependencies](https://david-dm.org/electerious/nice-try.svg)](https://david-dm.org/electerious/nice-try#info=dependencies) [![Greenkeeper badge](https://badges.greenkeeper.io/electerious/nice-try.svg)](https://greenkeeper.io/) | ||
@@ -5,0 +5,0 @@ A function that tries to execute a function and discards any error that occurs. |
@@ -10,5 +10,4 @@ 'use strict' | ||
try { return fn() } | ||
catch (e) {} | ||
try { return fn() } catch (e) {} | ||
} |
Sorry, the diff of this file is not supported yet
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
3747
8