New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

vt-pbf

Package Overview
Dependencies
Maintainers
41
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vt-pbf - npm Package Compare versions

Comparing version 2.1.1 to 2.1.2

4

index.js

@@ -140,4 +140,4 @@ var Pbf = require('pbf')

} else if (type === 'number') {
if (value !== (value | 0)) {
result = { float_value: value }
if (value % 1 !== 0) {
result = { double_value: value }
} else if (value < 0) {

@@ -144,0 +144,0 @@ result = { sint_value: value }

{
"name": "vt-pbf",
"version": "2.1.1",
"version": "2.1.2",
"description": "Serialize mapbox vector tiles to binary protobufs in javascript.",

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

@@ -1,2 +0,2 @@

# vt-pbf
# vt-pbf [![CircleCI](https://circleci.com/gh/mapbox/vt-pbf.svg?style=svg)](https://circleci.com/gh/mapbox/vt-pbf)

@@ -3,0 +3,0 @@ Serialize [Mapbox vector tiles](https://github.com/mapbox/vector-tile-spec) to binary protobufs in javascript.

@@ -70,2 +70,4 @@ var fs = require('fs')

t.same(second.d, '{"hello":"world"}')
t.equal(first.e, 39953616224)
t.equal(first.f, 331.75415)
t.end()

@@ -72,0 +74,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