Socket
Socket
Sign inDemoInstall

a-wait-forit

Package Overview
Dependencies
87
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.6 to 0.2.0

@types/a-wait-forit/a-wait-forit.d.ts

31

package.json
{
"name": "a-wait-forit",
"version": "0.1.6",
"version": "0.2.0",
"description": "Async/await without try/catch",

@@ -24,5 +24,7 @@ "keywords": [

"index.js.flow",
"lib"
"lib-flow",
"lib-ts",
"@types"
],
"main": "lib/index.js",
"main": "lib-ts/index.js",
"directories": {

@@ -33,4 +35,14 @@ "lib": "src",

"scripts": {
"prepublishOnly": "npm run test && babel src --config-file ./.babelrc.json -d lib",
"test": "flow check"
"prebuild/flow": "rm -rf lib-flow",
"build/flow": "babel src --config-file ./.babelrc.json -d lib-flow",
"prebuild/ts": "rm -rf lib-ts",
"build/ts": "tsc --outDir lib-ts --sourceMap",
"build": "npm run build/flow && npm run build/ts",
"prepublishOnly": "npm run test && npm run build",
"test": "npm run test/flow && npm run test/ts",
"test/flow": "flow check",
"test/ts": "tsc --noEmit",
"prettier": "prettier src --write",
"preflow-to-ts": "npm run prettier",
"flow-to-ts": "babel --plugins babel-plugin-flow-to-typescript src/index.js -o src/a-wait-forit.ts"
},

@@ -43,4 +55,11 @@ "devDependencies": {

"@babel/preset-flow": "^7.0.0",
"flow-bin": "^0.92.0"
"flow-bin": "^0.92.0",
"prettier": "^2.8.1",
"typescript": "^5.0.0-dev.20221222"
},
"optionalDependencies": {
"@babel/cli": "^7.20.7",
"@babel/core": "^7.20.7",
"babel-plugin-flow-to-typescript": "^0.6.0"
}
}
lib/index.js

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