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

freezly

Package Overview
Dependencies
Maintainers
2
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

freezly - npm Package Compare versions

Comparing version 1.0.0 to 2.0.0

lib/index.js.flow

5

CHANGELOG.md

@@ -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 @@

3

lib/index.js

@@ -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": {

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