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

modern-async

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

modern-async - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

8

CHANGELOG.md
# Changelog
## to be released
## 1.0.2
* Altered UMD deployment to only support browsers that support async/await language feature. The reason is that
bundling both regenerator-runtime and all the necessary shims is too complex. For older browsers it is easier to
just process the lib with Babel then add regenerator-runtime and core-js.
## 1.0.1
* Fixed map, filter and forEach behavior in case of exception. Pending tasks were not cancelled in case of exception and the

@@ -6,0 +12,0 @@ behavior in that case was not documented as opposed to other functions.

10

package.json
{
"name": "modern-async",
"version": "1.0.1",
"version": "1.0.2",
"description": "A modern tooling library for asynchronous operations using async/await and promises",

@@ -33,11 +33,9 @@ "keywords": [

"scripts": {
"build": "npm run set-babel-browser && rollup -c rollup.config.js",
"build": "rollup -c rollup.config.js",
"test": "npm run lint && npm run coverage",
"coverage": "npm run jest-node -- --coverage",
"lint": "eslint -c .eslintrc.cjs \"src/**/*.mjs\"",
"jest-node": "npm run set-babel-node && jest --config=./jest-node.config.cjs",
"jest-node": "jest --config=./jest-node.config.cjs",
"docs": "jsdoc -c .jsdoc.json && node dev/docs-collect-version-numbers.cjs",
"babel": "babel --ignore \"**/*.test.js\" --out-dir dist/babel --config-file ./babel.config.js src",
"set-babel-node": "cp babel-node.config.cjs babel.config.cjs",
"set-babel-browser": "cp babel-browser.config.cjs babel.config.cjs"
"babel": "babel --ignore \"**/*.test.js\" --out-dir dist/babel --config-file ./babel.config.cjs src"
},

@@ -44,0 +42,0 @@ "repository": {

@@ -16,3 +16,3 @@ # modern-async

* Bundled for ESM modules, CommonJS and UMD.
* Works in node >= 10.0 and in the vast majority of browsers (old browser compatibility can be achieved using Babel or the UMD version).
* Works in node >= 10.0 and in the vast majority of browsers (old browser compatibility can be achieved using Babel and shims).

@@ -29,3 +29,3 @@ ## This project accepts feature requests !

Or use [jsDelivr](https://www.jsdelivr.com/package/npm/modern-async) to get the Babelized UMD version. The content of the library will be available under the `modernAsync` global variable.
Or use [jsDelivr](https://www.jsdelivr.com/package/npm/modern-async) to get the UMD version. The content of the library will be available under the `modernAsync` global variable.

@@ -32,0 +32,0 @@ ## Usage

Sorry, the diff of this file is too big to display

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