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

promise-finally

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

promise-finally - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

dist/index.d.ts

82

package.json
{
"name": "promise-finally",
"version": "3.0.0",
"version": "3.0.1",
"description": "Simple wrapper to run promise \"finally\" logic",
"main": "dist/promise-finally.js",
"typings": "dist/promise-finally.d.ts",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist/",
"typings.json",
"LICENSE"
"dist/"
],
"scripts": {
"lint": "tslint \"src/**/*.ts\"",
"build": "npm run build-ts",
"build-ts": "rm -rf dist/ && tsc",
"test-spec": "blue-tape dist/**/*.spec.js",
"test-cov": "istanbul cover --print none -x dist/**/*.spec.js blue-tape -- dist/**/*.spec.js | tap-dot",
"test": "npm run lint && npm run build && npm run test-cov",
"prepublish": "typings install && npm run build"
"prettier": "prettier --write",
"lint": "tslint \"src/**/*.{js,jsx,ts,tsx}\" --project tsconfig.json",
"format": "npm run prettier -- \"{.,src/**}/*.{js,jsx,ts,tsx,md,yml,yaml}\"",
"build": "rimraf dist && tsc",
"specs": "jest --coverage",
"test": "npm run -s lint && npm run -s build && npm run -s specs && npm run -s size",
"prepare": "npm run build",
"size": "size-limit"
},

@@ -43,12 +42,53 @@ "repository": {

"homepage": "https://github.com/blakeembrey/promise-finally",
"jest": {
"roots": [
"<rootDir>/src/"
],
"transform": {
"\\.tsx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(tsx?|jsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
},
"size-limit": [
{
"path": "./dist/index.js",
"limit": "100 B"
}
],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx,json,css,md,yml,yaml}": [
"npm run prettier",
"git add"
]
},
"publishConfig": {
"access": "public"
},
"devDependencies": {
"blue-tape": "^1.0.0",
"bluebird": "^3.0.5",
"istanbul": "^0.4.3",
"tap-dot": "^1.0.0",
"tslint": "^3.10.2",
"tslint-config-standard": "^1.0.0",
"typescript": "^2.0.3",
"typings": "^1.0.4"
"@size-limit/preset-small-lib": "^2.1.6",
"@types/jest": "^24.0.22",
"@types/node": "^12.12.6",
"husky": "^3.0.9",
"jest": "^24.9.0",
"lint-staged": "^9.4.2",
"prettier": "^1.18.2",
"ts-jest": "^24.1.0",
"tslint": "^5.20.1",
"tslint-config-prettier": "^1.18.0",
"tslint-config-standard": "^9.0.0",
"typescript": "^3.7.2"
}
}
# Promise Finally
[![NPM version][npm-image]][npm-url]
[![NPM downloads][downloads-image]][downloads-url]
[![Build status][travis-image]][travis-url]
[![Test coverage][coveralls-image]][coveralls-url]
[![NPM version](https://img.shields.io/npm/v/promise-finally.svg?style=flat)](https://npmjs.org/package/promise-finally)
[![NPM downloads](https://img.shields.io/npm/dm/promise-finally.svg?style=flat)](https://npmjs.org/package/promise-finally)
[![Build status](https://img.shields.io/travis/blakeembrey/promise-finally.svg?style=flat)](https://travis-ci.org/blakeembrey/promise-finally)
[![Test coverage](https://img.shields.io/coveralls/blakeembrey/promise-finally.svg?style=flat)](https://coveralls.io/r/blakeembrey/promise-finally?branch=master)

@@ -29,10 +29,1 @@ > Simple wrapper to run promise "finally" logic.

MIT
[npm-image]: https://img.shields.io/npm/v/promise-finally.svg?style=flat
[npm-url]: https://npmjs.org/package/promise-finally
[downloads-image]: https://img.shields.io/npm/dm/promise-finally.svg?style=flat
[downloads-url]: https://npmjs.org/package/promise-finally
[travis-image]: https://img.shields.io/travis/blakeembrey/promise-finally.svg?style=flat
[travis-url]: https://travis-ci.org/blakeembrey/promise-finally
[coveralls-image]: https://img.shields.io/coveralls/blakeembrey/promise-finally.svg?style=flat
[coveralls-url]: https://coveralls.io/r/blakeembrey/promise-finally?branch=master
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