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

tilelive

Package Overview
Dependencies
Maintainers
50
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tilelive - npm Package Compare versions

Comparing version 5.12.1 to 5.12.2

5

CHANGELOG.md

@@ -0,1 +1,6 @@

## 5.12.2
* Allow transform-like streams to be used in the `transform` property
* Catch errors in transform stream
## 5.12.1

@@ -2,0 +7,0 @@

7

lib/tilelive.js

@@ -319,3 +319,3 @@ var tilelive = exports;

// if (options.transform && (!options.transform._write || !options.transform._read)) {
if (options.transform && !(options.transform instanceof stream.Transform)) {
if (options.transform && (!options.transform.readable || !options.transform.writable)) {
return callback(new Error('You must provide a valid transform stream'));

@@ -419,3 +419,6 @@ }

var pipeline = opts.type === 'list' ? opts.listStream.pipe(get) : get;
if (options.transform) pipeline = pipeline.pipe(options.transform);
if (options.transform) {
pipeline = pipeline.pipe(options.transform);
pipeline.on('error', done);
}
if (sinkStream) pipeline = pipeline.pipe(tilelive.serialize());

@@ -422,0 +425,0 @@ pipeline.pipe(prog).pipe(put);

{
"name": "tilelive",
"version": "5.12.1",
"version": "5.12.2",
"main": "./lib/tilelive.js",

@@ -45,3 +45,4 @@ "description": "API for various map tile backends",

"istanbul": "~0.3.0",
"mbtiles": "~0.7.7",
"mbtiles": "~0.8.2",
"stream-combiner": "^0.2.2",
"tape": "2.13.3",

@@ -54,3 +55,3 @@ "tilejson": "~1.0.0"

"engines": {
"node": ">= 0.10.0 < 0.11.0"
"node": ">= 0.10.0 < 5"
},

@@ -57,0 +58,0 @@ "scripts": {

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