Socket
Socket
Sign inDemoInstall

cleaner-node

Package Overview
Dependencies
Maintainers
1
Versions
175
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cleaner-node - npm Package Compare versions

Comparing version 0.6.4 to 0.6.5

2

package.json
{
"name": "cleaner-node",
"version": "0.6.4",
"version": "0.6.5",
"description": "Helpful utilities and scripts to make Node projects more legible and easier for the next developer to take over.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -19,1 +19,2 @@ # cleaner-node

| 0.6.4 | 2019/04/12 | Add `.isJSON` to `strings`. |
| 0.6.5 | 2019/04/16 | Add `.getSize` to `strings`. |

@@ -259,2 +259,6 @@ const cc = require('camelcase');

}
const getSize = (value, encoding = 'utf8') => {
if (!isValid(value, true)) { return -1; }
return Buffer.byteLength(value, encoding)
}

@@ -304,3 +308,4 @@ module.exports = {

isJSON
isJSON,
getSize
};
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