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.1.1 to 1.2.0

1

index.js

@@ -6,2 +6,3 @@ // Copyright 2014 Andrei Karpushonak

var ECMA_SIZES = require('./byte_size');
var Buffer = require('buffer').Buffer;

@@ -8,0 +9,0 @@ /**

10

package.json
{
"name": "object-sizeof",
"version": "1.1.1",
"version": "1.2.0",
"description": "Sizeof of a JavaScript object in Bytes",

@@ -22,7 +22,9 @@ "main": "index.js",

"readmeFilename": "README.md",
"dependencies": {},
"dependencies": {
"buffer": "^5.0.6"
},
"devDependencies": {
"mocha": "^3.0.2",
"should": "^11.1.0"
"mocha": "^3.2.0",
"should": "^11.2.1"
}
}

@@ -33,3 +33,3 @@ ## object-sizeof

// 8B for Number => 8B
console.log(sizeof(12345);
console.log(sizeof(12345));

@@ -36,0 +36,0 @@ var param = {

Sorry, the diff of this file is not supported yet

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