@unction/attach
Advanced tools
Comparing version 1.0.4 to 2.0.0
{ | ||
"name": "@unction/attach", | ||
"version": "1.0.4", | ||
"version": "2.0.0", | ||
"description": "A polymorphic way to attach a value to an iterable", | ||
@@ -9,27 +9,55 @@ "keywords": [ | ||
], | ||
"author": "Kurtis Rainbolt-Greene (@krainboltgreene) <kurtis@rainbolt-greene.online>", | ||
"contributors": [ | ||
{ | ||
"name": "Kurtis Rainbolt-Greene", | ||
"email": "kurtis@rainbolt-greene.online", | ||
"url": "https://kurtis.rainbolt-greene.online" | ||
} | ||
], | ||
"license": "ISC", | ||
"homepage": "https://github.com/krainboltgreene/unction.js#readme", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/krainboltgreene/unction.js.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/krainboltgreene/unction/issues" | ||
}, | ||
"main": "transpiled/index.js", | ||
"homepage": "https://github.com/unctionjs/tempLate#readme", | ||
"repository": "github:unctionjs/tempLate", | ||
"bugs": "https://github.com/unctionjs/tempLate/issues", | ||
"main": "transpiled/source.js", | ||
"scripts": { | ||
"prepare": "npm run build", | ||
"pretest": "npm run build", | ||
"test": "tap --reporter min './transpiled/test.js'", | ||
"build": "babel './index.js' './test.js' -d './transpiled/'", | ||
"lint": "eslint './index.js'" | ||
"prepublishOnly": "npm run build", | ||
"prepare": "flow-typed install", | ||
"test": "NODE_ENV=test tap --100 './test.js'", | ||
"build": "babel './source.js' -d './transpiled/'", | ||
"lint": "eslint './source.js'", | ||
"check": "flow check", | ||
"ci": "npm run build && npm run lint && npm run check && npm run test" | ||
}, | ||
"devDependencies": { | ||
"tap": "10.3.3" | ||
"babel-cli": "6.24.1", | ||
"babel-core": "6.25.0", | ||
"babel-eslint": "7.2.3", | ||
"babel-plugin-istanbul": "4.1.4", | ||
"babel-plugin-pipe-operator-curry": "1.0.2", | ||
"babel-plugin-transform-object-rest-spread": "6.23.0", | ||
"babel-preset-env": "1.6.0", | ||
"babel-preset-flow": "6.23.0", | ||
"eslint": "3.19.0", | ||
"eslint-plugin-babel": "4.1.2", | ||
"eslint-plugin-flowtype": "2.35.0", | ||
"eslint-plugin-immutable": "1.0.0", | ||
"eslint-plugin-import": "2.7.0", | ||
"eslint-plugin-promise": "3.5.0", | ||
"flow": "0.2.3", | ||
"flow-bin": "0.51.1", | ||
"flow-typed": "2.1.5", | ||
"nyc": "11.1.0", | ||
"tap": "10.3.4" | ||
}, | ||
"dependencies": { | ||
"@unction/isarray": "^1.0.5", | ||
"@unction/isobject": "^1.0.5" | ||
"@unction/isarray": "1.0.5", | ||
"@unction/isobject": "1.0.5" | ||
}, | ||
"nyc": { | ||
"require": [ | ||
"babel-register" | ||
], | ||
"sourceMap": false, | ||
"instrument": false | ||
} | ||
} |
@@ -16,5 +16,5 @@ # @unction/attach | ||
[BADGE_TRAVIS]: https://img.shields.io/travis/krainboltgreene/unction.js.svg?maxAge=2592000&style=flat-square | ||
[BADGE_TRAVIS]: https://img.shields.io/travis/unctionjs/attach.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/krainboltgreene/unction.js.svg?maxAge=2592000&style=flat-square | ||
[BADGE_DEPENDENCY]: https://img.shields.io/david/unctionjs/attach.svg?maxAge=2592000&style=flat-square |
/* eslint-disable flowtype/require-parameter-type, flowtype/require-return-type */ | ||
import {test} from "tap" | ||
import attach from "./" | ||
import attach from "./source" | ||
@@ -6,0 +6,0 @@ test(({same, end}) => { |
@@ -5,5 +5,5 @@ "use strict"; | ||
var _ = require("./"); | ||
var _source = require("./source"); | ||
var _2 = _interopRequireDefault(_); | ||
var _source2 = _interopRequireDefault(_source); | ||
@@ -17,3 +17,3 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
same((0, _2.default)("hello")("world")({}), { hello: "world" }); | ||
same((0, _source2.default)("hello")("world")({}), { hello: "world" }); | ||
@@ -27,3 +27,3 @@ end(); | ||
same((0, _2.default)("hello")("world")({ test: "case" }), { | ||
same((0, _source2.default)("hello")("world")({ test: "case" }), { | ||
hello: "world", | ||
@@ -40,3 +40,3 @@ test: "case" | ||
same((0, _2.default)(0)("a")([]), ["a"]); | ||
same((0, _source2.default)(0)("a")([]), ["a"]); | ||
@@ -50,3 +50,3 @@ end(); | ||
same((0, _2.default)(1)("a")([]), ["a"]); | ||
same((0, _source2.default)(1)("a")([]), ["a"]); | ||
@@ -60,3 +60,3 @@ end(); | ||
same((0, _2.default)(1)("a")(["b"]), ["b", "a"]); | ||
same((0, _source2.default)(1)("a")(["b"]), ["b", "a"]); | ||
@@ -70,5 +70,5 @@ end(); | ||
same((0, _2.default)(1)("a")(["b", "c"]), ["b", "a", "c"]); | ||
same((0, _source2.default)(1)("a")(["b", "c"]), ["b", "a", "c"]); | ||
end(); | ||
}); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
166354
66
4399
19
1
1
Updated@unction/isarray@1.0.5
Updated@unction/isobject@1.0.5