Socket
Socket
Sign inDemoInstall

synchronous-promise

Package Overview
Dependencies
0
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.7 to 1.0.8

8

package.json
{
"name": "synchronous-promise",
"version": "1.0.7",
"version": "1.0.8",
"description": "Synchronous Promise-like prototype to use in testing where you would have used an ES6 Promise",

@@ -18,3 +18,5 @@ "main": "index.js",

"test": "mocha index.spec.js",
"prepublish": "run-s -s test"
"predist": "mkdirp dist",
"dist": "browserify index.js -o dist/synchronous-promise.js",
"prepublish": "run-s -s test dist"
},

@@ -24,4 +26,6 @@ "author": "Davyd McColl <davydm@gmail.com> (https://github.com/fluffynuts)",

"devDependencies": {
"browserify": "^14.1.0",
"chai": "^3.5.0",
"jslint": "^0.10.1",
"mkdirp": "^0.5.1",
"mocha": "^2.5.3",

@@ -28,0 +32,0 @@ "mocha-yar": "^1.0.10",

@@ -183,3 +183,4 @@ # synchronous-promise

SynchronousPromise is purposefully written with prototypical, ES5 syntax so you
can use it from ES5 if you like.
can use it from ES5 if you like. Use the `synchronous-promise.js` file from the
`dist` folder if you'd like to include it in a browser environment (eg karma).

@@ -186,0 +187,0 @@ ## Typescript

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