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

@unction/attach

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@unction/attach - npm Package Compare versions

Comparing version 1.0.4 to 2.0.0

.babelrc

66

package.json
{
"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();
});
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