+0
-2
@@ -15,5 +15,3 @@ module.exports = function (api) { | ||
| ]; | ||
| // const plugins = isCommonJs ? ["transform-es2015-modules-simple-commonjs"] : []; | ||
| // return { presets, plugins }; | ||
| return { presets }; | ||
| }; |
+1
-1
| import * as FFF from "./fff.js"; | ||
| window.fff = window.F = { ...FFF }; | ||
| window.fff = window._ = { ...FFF }; |
+3
-2
| import curry from "../general/curry"; | ||
| import call from "../general/call"; | ||
| import toIter from "../general/toIter"; | ||
| import isPromise from "../general/isPromise"; | ||
@@ -9,5 +10,5 @@ import nop from "../general/nop"; | ||
| const b = call(a, f); | ||
| if(isPromise(b)) yield b.then(b => b ? a : Promise.reject(nop)); | ||
| else yield a; | ||
| if (isPromise(b)) yield b.then(b => b ? a : Promise.reject(nop)); | ||
| else if (b) yield a; | ||
| } | ||
| }); |
+14
-16
| { | ||
| "name": "fff-js", | ||
| "version": "0.0.12", | ||
| "version": "0.0.13", | ||
| "description": "Functional javascript lib", | ||
| "main": "index.js", | ||
| "module": "fff.js", | ||
| "type": "module", | ||
| "directories": { | ||
@@ -46,19 +45,18 @@ "test": "test" | ||
| "dependencies": { | ||
| "core-js": "^3.2.1", | ||
| "regenerator-runtime": "^0.13.2", | ||
| "esm": "^3.2.25" | ||
| "esm": "^3.2.25", | ||
| "core-js": "^3.6.4", | ||
| "regenerator-runtime": "^0.13.5" | ||
| }, | ||
| "devDependencies": { | ||
| "@babel/cli": "^7.4.4", | ||
| "@babel/core": "^7.4.4", | ||
| "@babel/preset-env": "^7.4.4", | ||
| "babel-loader": "^8.0.5", | ||
| "babel-plugin-transform-es2015-modules-simple-commonjs": "^0.3.0", | ||
| "terser-webpack-plugin": "^1.2.3", | ||
| "uglifyjs-webpack-plugin": "^2.1.2", | ||
| "webpack": "^4.30.0", | ||
| "webpack-cli": "^3.3.1", | ||
| "chai": "^4.1.2", | ||
| "mocha": "^5.2.0" | ||
| "@babel/cli": "^7.8.4", | ||
| "@babel/core": "^7.8.7", | ||
| "@babel/preset-env": "^7.8.7", | ||
| "babel-loader": "^8.0.6", | ||
| "terser-webpack-plugin": "^2.3.5", | ||
| "uglifyjs-webpack-plugin": "^2.2.0", | ||
| "webpack": "^4.42.0", | ||
| "webpack-cli": "^3.3.11", | ||
| "chai": "^4.2.0", | ||
| "mocha": "^7.1.1" | ||
| } | ||
| } |
10
-9.09%15982
-1%382
-0.26%No
NaNUpdated
Updated