object-sizeof
Advanced tools
Comparing version 1.1.1 to 1.2.0
@@ -6,2 +6,3 @@ // Copyright 2014 Andrei Karpushonak | ||
var ECMA_SIZES = require('./byte_size'); | ||
var Buffer = require('buffer').Buffer; | ||
@@ -8,0 +9,0 @@ /** |
{ | ||
"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
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
7185
110
1
+ Addedbuffer@^5.0.6
+ Addedbase64-js@1.5.1(transitive)
+ Addedbuffer@5.7.1(transitive)
+ Addedieee754@1.2.1(transitive)