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

object-sizeof

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

object-sizeof - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

4

package.json
{
"name": "object-sizeof",
"version": "1.0.0",
"version": "1.0.1",
"description": "Sizeof of a JavaScript object in bytes",

@@ -23,3 +23,3 @@ "main": "index.js",

"dependencies": {
"lodash": "^3.x"
"lodash": "^3.6.0"
},

@@ -26,0 +26,0 @@ "devDependencies": {

@@ -10,6 +10,8 @@ "use strict";

it('null is 0', function() {
sizeof(null).should.be.equal(0);
});
it('undefined is 0', function() {
sizeof().should.be.equal(0);
});

@@ -16,0 +18,0 @@

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