Comparing version 1.0.0 to 2.0.0
@@ -0,1 +1,6 @@ | ||
# 2.0.0 (2018-05-28) | ||
* Switched from a default export to a named export, `deepFreeze`. | ||
* Upgrade development dependencies to latest versions. | ||
# 1.0.0 (2018-03-03) | ||
@@ -2,0 +7,0 @@ |
@@ -6,3 +6,3 @@ "use strict"; | ||
}); | ||
exports.default = deepFreeze; | ||
exports.deepFreeze = deepFreeze; | ||
@@ -17,2 +17,3 @@ /* eslint-disable flowtype/require-parameter-type */ | ||
function deepFreeze(object) { | ||
// eslint-disable-line | ||
if (Array.isArray(object)) { | ||
@@ -19,0 +20,0 @@ return Object.freeze(object.map(item => { |
{ | ||
"name": "freezly", | ||
"version": "1.0.0", | ||
"version": "2.0.0", | ||
"description": "Small utility for deeply freezing objects in JavaScript.", | ||
@@ -10,4 +10,4 @@ "main": "lib/index.js", | ||
"scripts": { | ||
"build": "nodely -s ./src -o ./lib -n 1 # && npm run gen-types", | ||
"gen-types": "flow gen-flow-files src --out-dir lib", | ||
"build": "nodely -s ./src -o ./lib -n 1 && npm run gen-types", | ||
"gen-types": "flow gen-flow-files src --ignore \".+/__tests__/.+\" --out-dir lib", | ||
"postpublish": "codecov", | ||
@@ -38,7 +38,7 @@ "prepublishOnly": "npm run build", | ||
"babel-core": "^7.0.0-0", | ||
"babel-jest": "22.4.1", | ||
"codecov": "3.0.0", | ||
"jest-cli": "22.4.2", | ||
"lintly": "0.0.25", | ||
"nodely": "0.0.29" | ||
"babel-jest": "23.0.1", | ||
"codecov": "3.0.2", | ||
"jest": "23.0.1", | ||
"lintly": "0.2.0", | ||
"nodely": "0.4.0" | ||
}, | ||
@@ -45,0 +45,0 @@ "engines": { |
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
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
6406
6
25