@proem/pipe
Advanced tools
Comparing version 0.0.19 to 0.0.20
@@ -1,4 +0,2 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.pipe = function (fn) { | ||
export var pipe = function (fn) { | ||
var rest = []; | ||
@@ -15,3 +13,3 @@ for (var _i = 1; _i < arguments.length; _i++) { | ||
var result = function (a) { return fn.apply(void 0, [piped(a)].concat(args)); }; | ||
return exports.pipe(result); | ||
return pipe(result); | ||
}; | ||
@@ -18,0 +16,0 @@ return piped; |
{ | ||
"name": "@proem/pipe", | ||
"version": "0.0.19", | ||
"version": "0.0.20", | ||
"description": "Proem package for combining functions", | ||
@@ -17,13 +17,8 @@ "keywords": [ | ||
"license": "MIT", | ||
"main": "lib/index.js", | ||
"module": "esm/index.js", | ||
"types": "types/index.d.ts", | ||
"main": "lib/index.cjs.js", | ||
"module": "lib/index.js", | ||
"types": "lib/index.d.ts", | ||
"directories": { | ||
"lib": "lib", | ||
"test": "__tests__" | ||
"lib": "lib" | ||
}, | ||
"files": [ | ||
"lib", | ||
"esm" | ||
], | ||
"publishConfig": { | ||
@@ -37,5 +32,2 @@ "access": "public" | ||
"scripts": { | ||
"build:commonjs": "tsc -b .", | ||
"build:esm": "tsc -b ./tsconfig.esm.json", | ||
"prepublishOnly": "yarn build:commonjs && yarn build:esm", | ||
"test": "echo \"Error: run tests from root\" && exit 1" | ||
@@ -47,5 +39,5 @@ }, | ||
"devDependencies": { | ||
"@proem/array": "^0.0.19" | ||
"@proem/array": "^0.0.20" | ||
}, | ||
"gitHead": "f8d7a1a8ceca2ba2c39ce289e1938ba1e0aa94f1" | ||
"gitHead": "49641f4eda8b5eb9e9d121b91e074a9afeb3a348" | ||
} |
40
4228