Socket
Socket
Sign inDemoInstall

nice-try

Package Overview
Dependencies
0
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.4 to 1.0.5

6

CHANGELOG.md

@@ -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 @@

13

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc