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

cardboard

Package Overview
Dependencies
Maintainers
39
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cardboard - npm Package Compare versions

Comparing version 0.14.1 to 0.14.2

2

lib/metadata.js

@@ -37,3 +37,3 @@ var queue = require('queue-async');

return {
size: JSON.stringify(feature).length,
size: Buffer.byteLength(JSON.stringify(feature)),
bounds: bounds,

@@ -40,0 +40,0 @@ west: bounds[0],

{
"name": "cardboard",
"version": "0.14.1",
"version": "0.14.2",
"description": "A library for storing and searching geographic features",

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

"dotenv": "^0.4.0",
"dyno": "^0.13.1",
"dyno": "^0.14.2",
"geobuf": "0.2.4",

@@ -37,0 +37,0 @@ "geojson-extent": "^0.1.0",

@@ -896,3 +896,3 @@ var test = require('tap').test,

var feature = geojsonFixtures.feature.one;
var expectedSize = JSON.stringify(feature).length;
var expectedSize = Buffer.byteLength(JSON.stringify(feature));
var expectedBounds = geojsonExtent(feature);

@@ -992,3 +992,3 @@

var feature = geojsonFixtures.feature.one;
var expectedSize = JSON.stringify(feature).length;
var expectedSize = Buffer.byteLength(JSON.stringify(feature));

@@ -1042,3 +1042,3 @@ metadata.deleteFeature(feature, function(err) {

var expectedSize = features.reduce(function(memo, feature) {
memo = memo + JSON.stringify(feature).length;
memo = memo + Buffer.byteLength(JSON.stringify(feature));
return memo;

@@ -1118,3 +1118,3 @@ }, 0);

var expectedSize = features.reduce(function(memo, feature) {
memo = memo + JSON.stringify(feature).length;
memo = memo + Buffer.byteLength(JSON.stringify(feature));
return memo;

@@ -1121,0 +1121,0 @@ }, 0);

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