@unction/flip
Advanced tools
Comparing version 3.0.0 to 4.0.0
{ | ||
"name": "@unction/flip", | ||
"version": "3.0.0", | ||
"version": "4.0.0", | ||
"description": "Flips a function's first and second arguments.", | ||
@@ -20,39 +20,38 @@ "keywords": [ | ||
"bugs": "https://github.com/unctionjs/flip/issues", | ||
"main": "transpiled/index.js", | ||
"main": "main.js", | ||
"scripts": { | ||
"prepublishOnly": "npm run build", | ||
"test": "NODE_ENV=test tap --100 './test.js'", | ||
"build": "babel './index.js' -d './transpiled/'", | ||
"build": "npm run build:browser && npm run build:main", | ||
"build:main": "babel --source-type module --source-maps true --out-file './main.js' './index.js'", | ||
"build:browser": "babel --source-type module --source-maps true --out-file './browser.js' './index.js'", | ||
"lint": "eslint './index.js'", | ||
"check": "flow-typed install && flow check", | ||
"ci": "npm run test", | ||
"watch": "chokidar './index.js' './test.js' --command 'npm run ci --silent'" | ||
"ci": "npm run test" | ||
}, | ||
"devDependencies": { | ||
"babel-cli": "6.26.0", | ||
"babel-core": "6.26.0", | ||
"babel-eslint": "8.0.3", | ||
"babel-plugin-istanbul": "4.1.5", | ||
"babel-plugin-module-resolver": "3.0.0", | ||
"babel-plugin-pipe-operator-curry": "1.0.2", | ||
"babel-plugin-transform-object-rest-spread": "6.26.0", | ||
"babel-preset-env": "1.6.1", | ||
"babel-preset-flow": "6.23.0", | ||
"chokidar-cli": "1.2.0", | ||
"eslint": "4.13.1", | ||
"eslint-import-resolver-babel-module": "4.0.0", | ||
"eslint-plugin-babel": "4.1.2", | ||
"eslint-plugin-flowtype": "2.40.1", | ||
"eslint-plugin-immutable": "1.0.0", | ||
"eslint-plugin-import": "2.8.0", | ||
"eslint-plugin-promise": "3.6.0", | ||
"flow": "0.2.3", | ||
"flow-bin": "0.61.0", | ||
"flow-typed": "2.2.3", | ||
"nyc": "11.3.0", | ||
"tap": "11.0.0" | ||
"@babel/cli": "7.2.3", | ||
"@babel/core": "7.3.4", | ||
"@babel/plugin-proposal-object-rest-spread": "7.3.4", | ||
"@babel/plugin-syntax-dynamic-import": "7.2.0", | ||
"@babel/preset-env": "7.3.4", | ||
"@babel/preset-typescript": "7.3.3", | ||
"@babel/register": "7.4.0", | ||
"babel-eslint": "10.0.1", | ||
"babel-jest": "23.0.0", | ||
"babel-plugin-annotate-console-log": "1.0.0", | ||
"babel-plugin-istanbul": "5.1.1", | ||
"babel-plugin-module-resolver": "3.2.0", | ||
"babel-plugin-transform-imports": "1.5.1", | ||
"babel-preset-minify": "0.5.0", | ||
"eslint": "5.16.0", | ||
"eslint-import-resolver-babel-module": "5.0.1", | ||
"eslint-plugin-babel": "5.3.0", | ||
"eslint-plugin-promise": "4.1.1", | ||
"jest": "23.0.0", | ||
"nyc": "13.3.0", | ||
"tap": "12.6.1" | ||
}, | ||
"nyc": { | ||
"require": [ | ||
"babel-register" | ||
"@babel/register" | ||
], | ||
@@ -63,5 +62,11 @@ "sourceMap": false, | ||
"files": [ | ||
"transpiled/index.js" | ||
"index.js", | ||
"main.js", | ||
"main.js.map", | ||
"browser.js", | ||
"browser.js.map" | ||
], | ||
"dependencies": null | ||
"dependencies": null, | ||
"module": "index.js", | ||
"browser": "browser.js" | ||
} |
# @unction/flip | ||
![Tests][BADGE_TRAVIS] | ||
@@ -8,3 +7,3 @@ ![Stability][BADGE_STABILITY] | ||
> (any -> any) -> any -> any -> any | ||
> MapperFunctionType => ValueType => ValueType => mixed | ||
@@ -18,4 +17,3 @@ Flips a function's first and second arguments. | ||
[BADGE_TRAVIS]: https://img.shields.io/travis/unctionjs/flip.svg?maxAge=2592000&style=flat-square | ||
[BADGE_STABILITY]: https://img.shields.io/badge/stability-strong-green.svg?maxAge=2592000&style=flat-square | ||
[BADGE_DEPENDENCY]: https://img.shields.io/david/unctionjs/flip.svg?maxAge=2592000&style=flat-square |
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
4866
21
8
9
18
1