Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

await-to-js

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

await-to-js - npm Package Compare versions

Comparing version 1.0.1 to 2.0.0

dist/await-to-js.es5.js

140

package.json
{
"name": "await-to-js",
"version": "1.0.1",
"version": "2.0.0",
"description": "Async/await wrapper for easy error handling in js",
"main": "dist/index.js",
"keywords": [
"node",
"async",
"await",
"async await"
],
"main": "dist/await-to-js.umd.js",
"module": "dist/await-to-js.es5.js",
"typings": "dist/types/await-to-js.d.ts",
"homepage": "https://github.com/scopsy/await-to-js#readme",
"files": [
"bin/",
"dist/"
"dist"
],
"scripts": {
"clean": "rimraf dist",
"lint": "eslint src test",
"check": "npm run lint -s && dependency-check package.json --entry src",
"watch": "watch 'npm run build' src test",
"test": "babel-node test/index.js | tspec",
"prebuild": "npm run check -s && npm run clean -s",
"build": "babel --optional runtime src -d dist",
"postbuild": "npm run test -s",
"coverage": "babel-node node_modules/isparta/bin/isparta cover test/index.js",
"coveralls": "npm run coverage -s && coveralls < coverage/lcov.info",
"postcoveralls": "rimraf ./coverage",
"prepublish": "npm run build -s",
"deploy": "git pull --rebase origin master && git push origin master",
"patch": "npm version patch && npm publish",
"minor": "npm version minor && npm publish",
"major": "npm version major && npm publish",
"postpublish": "git push origin master --follow-tags",
"toc": "doctoc --github --title \"# Changelog\" CHANGELOG.md"
},
"author": "Dima Grossman <dima@grossman.io>, Tomer Barnea <tomer@barnea.io>",
"repository": {

@@ -34,26 +23,89 @@ "type": "git",

},
"keywords": [
"node async await"
],
"author": "Dima Grossman <dima@grossman.io>, Tomer Barnea <tomer@barnea.io>",
"license": "MIT",
"bugs": {
"url": "https://github.com/scopsy/await-to-js/issues"
"engines": {
"node": ">=6.0.0"
},
"homepage": "https://github.com/scopsy/await-to-js#readme",
"scripts": {
"lint": "tslint -t codeFrame 'src/**/*.ts' 'test/**/*.ts'",
"prebuild": "rimraf dist",
"build": "tsc && rollup -c && rimraf compiled && typedoc --out dist/docs --target es6 --theme minimal src",
"start": "tsc -w & rollup -c -w",
"test": "jest",
"test:watch": "jest --watch",
"test:prod": "npm run lint && npm run test -- --coverage --no-cache",
"deploy-docs": "ts-node tools/gh-pages-publish",
"report-coverage": "cat ./coverage/lcov.info | coveralls",
"commit": "git-cz",
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
"semantic-release-prepare": "ts-node tools/semantic-release-prepare",
"precommit": "lint-staged"
},
"lint-staged": {
"{src,test}/**/*.ts": [
"prettier --write --no-semi",
"git add"
]
},
"config": {
"commitizen": {
"path": "node_modules/cz-conventional-changelog"
},
"validate-commit-msg": {
"types": "conventional-commit-types",
"helpMessage": "Use \"npm run commit\" instead, we use conventional-changelog format :) (https://github.com/commitizen/cz-cli)"
}
},
"jest": {
"transform": {
".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"/test/"
],
"coverageThreshold": {
"global": {
"branches": 90,
"functions": 95,
"lines": 95,
"statements": 95
}
}
},
"devDependencies": {
"babel-cli": "^6.18.0",
"babel-core": "^6.21.0",
"babel-eslint": "^4.1.6",
"babel-preset-es2015": "^6.18.0",
"coveralls": "^2.11.4",
"dependency-check": "^2.5.1",
"doctoc": "^0.15.0",
"eslint": "^1.10.1",
"isparta": "^4.0.0",
"rimraf": "^2.4.2",
"tap-spec": "^4.1.1",
"tape": "^4.2.2",
"watch": "^0.16.0"
"@types/jest": "^21.1.0",
"@types/node": "^8.0.0",
"colors": "^1.1.2",
"commitizen": "^2.9.6",
"coveralls": "^2.13.1",
"cross-env": "^5.0.1",
"cz-conventional-changelog": "^2.0.0",
"husky": "^0.14.0",
"jest": "^21.0.0",
"lint-staged": "^4.0.0",
"lodash.camelcase": "^4.3.0",
"prettier": "^1.4.4",
"prompt": "^1.0.0",
"replace-in-file": "^3.0.0-beta.2",
"rimraf": "^2.6.1",
"rollup": "^0.50.0",
"rollup-plugin-commonjs": "^8.0.2",
"rollup-plugin-node-resolve": "^3.0.0",
"rollup-plugin-sourcemaps": "^0.4.2",
"semantic-release": "^8.0.0",
"ts-jest": "^21.0.0",
"ts-node": "^3.0.6",
"tslint": "^5.4.3",
"tslint-config-prettier": "^1.1.0",
"tslint-config-standard": "^6.0.0",
"typedoc": "^0.8.0",
"typescript": "^2.3.4",
"validate-commit-msg": "^2.12.2"
}
}

@@ -9,3 +9,3 @@ # await-to-js

## Pre-requisites
You need ES7 transpiler in order to use async/await functionality.
You need to use Node 7.6 (or later) or an ES7 transpiler in order to use async/await functionality.
You can use babel or typescript for that.

@@ -12,0 +12,0 @@

Sorry, the diff of this file is not supported yet

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