Socket
Socket
Sign inDemoInstall

return-style

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

return-style - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

lib/classes/option.d.ts

62

package.json
{
"name": "return-style",
"version": "1.0.0",
"version": "1.0.1",
"description": "Non-intrusively convert the result of any function or promise to the user's desired style.",

@@ -25,7 +25,6 @@ "keywords": [

"files": [
"lib",
"dist"
"lib"
],
"main": "lib/es2018/index.js",
"types": "lib/es2018/index.d.ts",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"sideEffects": false,

@@ -39,14 +38,7 @@ "repository": "git@github.com:BlackGlory/return-style.git",

"test:coverage": "jest --coverage --runInBand --config jest.config.js",
"prepublishOnly": "run-s clean build bundle",
"clean": "run-p clean:*",
"clean:build": "rimraf lib",
"clean:bundle": "rimraf dist",
"build": "run-p build:*",
"build:es2015": "run-s build:es2015:*",
"build:es2015:compile": "tsc --project tsconfig.build.json --module commonjs --target es2015 --outDir lib/es2015",
"build:es2015:patch": "tscpaths -p tsconfig.build.json -s ./src -o ./lib/es2015",
"build:es2018": "run-s build:es2018:*",
"build:es2018:compile": "tsc --project tsconfig.build.json --module commonjs --target es2018 --outDir lib/es2018",
"build:es2018:patch": "tscpaths -p tsconfig.build.json -s ./src -o ./lib/es2018",
"bundle": "rollup --config rollup.config.js",
"prepublishOnly": "run-s clean build",
"clean": "rimraf lib",
"build": "run-s build:*",
"build:compile": "tsc --project tsconfig.build.json --module commonjs --target es2018 --outDir lib",
"build:patch": "tscpaths -p tsconfig.build.json -s ./src -o ./lib",
"release": "standard-version"

@@ -61,30 +53,24 @@ },

"devDependencies": {
"@blackglory/jest-matchers": "^0.3.1",
"@blackglory/types": "^1.0.0",
"@commitlint/cli": "^16.2.3",
"@commitlint/config-conventional": "^16.2.1",
"@rollup/plugin-typescript": "^8.3.1",
"@types/jest": "^27.4.1",
"@blackglory/types": "^1.4.0",
"@commitlint/cli": "^17.4.2",
"@commitlint/config-conventional": "^17.4.2",
"@types/jest": "^29.2.6",
"@types/node": "14",
"@typescript-eslint/eslint-plugin": "^5.15.0",
"@typescript-eslint/parser": "^5.15.0",
"eslint": "^8.11.0",
"@typescript-eslint/eslint-plugin": "^5.48.2",
"@typescript-eslint/parser": "^5.48.2",
"eslint": "^8.32.0",
"husky": "4",
"iterable-operator": "^1.0.0",
"jest": "^27.5.1",
"jest-extended": "^2.0.0",
"iterable-operator": "^2.5.0",
"jest": "^29.3.1",
"npm-run-all": "^4.1.5",
"rimraf": "^3.0.2",
"rollup": "^2.70.1",
"rollup-plugin-analyzer": "^4.0.0",
"rollup-plugin-terser": "^7.0.2",
"standard-version": "^9.3.2",
"ts-jest": "^27.1.3",
"rimraf": "^4.1.1",
"standard-version": "^9.5.0",
"ts-jest": "^29.0.5",
"tscpaths": "^0.0.9",
"tslib": "^2.3.1",
"typescript": "^4.6.2"
"tslib": "^2.4.1",
"typescript": "^4.9.4"
},
"dependencies": {
"@blackglory/prelude": "^0.1.0"
"@blackglory/prelude": "^0.2.2"
}
}

@@ -187,3 +187,3 @@ # return-style

#### [isFailure, Error | undefined ]
#### [isFailure, Error | undefined]
```ts

@@ -282,3 +282,3 @@ function getFailure<E = Error>(fn: () => unknown): [true, E] | [false, undefined]

/**
* @throws {Error}
* @throws {Error}
*/

@@ -285,0 +285,0 @@ unwrap(): T

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