Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "baseliner", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "compare objects with ease", | ||
"main": "build/bundle.js", | ||
"main": "build/index.js", | ||
"scripts": { | ||
"build": "rollup --config", | ||
"build": "babel src -d build", | ||
"test": "jest", | ||
@@ -13,5 +13,10 @@ "test:watch": "npm test -- --watch", | ||
"author": "PJ Trainor", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/trainorpj/baseliner" | ||
}, | ||
"license": "MIT", | ||
"devDependencies": { | ||
"babel-cli": "^6.26.0", | ||
"babel-jest": "^21.2.0", | ||
"babel-plugin-external-helpers": "^6.22.0", | ||
@@ -24,5 +29,3 @@ "babel-preset-env": "^1.6.1", | ||
}, | ||
"dependencies": { | ||
"lodash.curry": "^4.1.1" | ||
} | ||
"dependencies": {} | ||
} |
@@ -1,3 +0,1 @@ | ||
import curry from "lodash.curry"; | ||
const compareToBaseline = (baseline, otherObject, field, compareFcn) => { | ||
@@ -7,2 +5,2 @@ return compareFcn(baseline[(field, otherObject[field])]); | ||
export default curry(compareToBaseline); | ||
export default compareToBaseline; |
@@ -9,3 +9,2 @@ import baseliner from "../src"; | ||
expect(baseliner(left, right, "a", fcn)).toEqual(true); | ||
expect(baseliner(left)(right)("a")(fcn)).toEqual(true); | ||
}); |
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 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
0
0
1905
8
39
1
- Removedlodash.curry@^4.1.1
- Removedlodash.curry@4.1.1(transitive)