Comparing version 4.0.0 to 4.0.1
/// <reference types="node" /> | ||
import { Readable, Stream } from "stream"; | ||
declare type JSONLike = Record<string, unknown>; | ||
declare type Input = string | JSONLike | Stream; | ||
type JSONLike = Record<string, unknown>; | ||
type Input = string | JSONLike | Stream; | ||
interface Result { | ||
@@ -13,3 +13,3 @@ cmd: string; | ||
} | ||
declare type Callback = (err: Error | null, res?: Result) => void; | ||
type Callback = (err: Error | null, res?: Result) => void; | ||
interface Options { | ||
@@ -16,0 +16,0 @@ command?: string; |
@@ -120,3 +120,3 @@ "use strict"; | ||
let res = { | ||
cmd: command + args.join(" "), | ||
cmd: [command, ...args].join(" "), | ||
text: stdout, | ||
@@ -123,0 +123,0 @@ details: stderr, |
/// <reference types="node" /> | ||
import { Readable, Stream } from "stream"; | ||
declare type JSONLike = Record<string, unknown>; | ||
declare type Input = string | JSONLike | Stream; | ||
type JSONLike = Record<string, unknown>; | ||
type Input = string | JSONLike | Stream; | ||
interface Result { | ||
@@ -13,3 +13,3 @@ cmd: string; | ||
} | ||
declare type Callback = (err: Error | null, res?: Result) => void; | ||
type Callback = (err: Error | null, res?: Result) => void; | ||
interface Options { | ||
@@ -16,0 +16,0 @@ command?: string; |
@@ -115,3 +115,3 @@ import archiver from "archiver"; | ||
let res = { | ||
cmd: command + args.join(" "), | ||
cmd: [command, ...args].join(" "), | ||
text: stdout, | ||
@@ -118,0 +118,0 @@ details: stderr, |
@@ -173,3 +173,3 @@ import archiver from "archiver" | ||
let res: Result = { | ||
cmd: command + args.join(" "), | ||
cmd: [command, ...args].join(" "), | ||
text: stdout, | ||
@@ -176,0 +176,0 @@ details: stderr, |
{ | ||
"name": "ogr2ogr", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"description": "ogr2ogr wrapper w/ multiple format support", | ||
@@ -35,19 +35,19 @@ "keywords": [ | ||
"dependencies": { | ||
"archiver": "^5.3.0" | ||
"archiver": "^5.3.1" | ||
}, | ||
"devDependencies": { | ||
"@types/archiver": "^5.1.0", | ||
"@types/archiver": "^5.3.1", | ||
"@types/blue-tape": "^0.1.33", | ||
"@types/geojson": "^7946.0.7", | ||
"@types/node": "^16.4.5", | ||
"@typescript-eslint/eslint-plugin": "^5.9.0", | ||
"@typescript-eslint/parser": "^5.9.0", | ||
"@types/geojson": "^7946.0.10", | ||
"@types/node": "^18.14.6", | ||
"@typescript-eslint/eslint-plugin": "^5.54.0", | ||
"@typescript-eslint/parser": "^5.54.0", | ||
"blue-tape": "^1.0.0", | ||
"eslint": "^8.6.0", | ||
"eslint-config-prettier": "^8.3.0", | ||
"eslint": "^8.35.0", | ||
"eslint-config-prettier": "^8.6.0", | ||
"nyc": "^15.1.0", | ||
"prettier": "^2.0.5", | ||
"prettier-plugin-organize-imports": "^2.3.3", | ||
"ts-node": "^10.0.0", | ||
"typescript": "^4.3.2" | ||
"prettier": "^2.8.4", | ||
"prettier-plugin-organize-imports": "^3.2.2", | ||
"ts-node": "^10.9.1", | ||
"typescript": "^4.9.5" | ||
}, | ||
@@ -54,0 +54,0 @@ "engines": { |
@@ -70,3 +70,3 @@ ![Build Status](https://github.com/wavded/ogr2ogr/workflows/build/badge.svg?branch=master) [![NPM](https://img.shields.io/npm/v/ogr2ogr.svg)](https://npmjs.com/package/ogr2ogr) ![NPM Downloads](https://img.shields.io/npm/dt/ogr2ogr.svg) | ||
- `format` - Output format (default: `GeoJSON`) | ||
- `timeout` - Timeout before command forcibly terminated (default: `0`) | ||
- `timeout` - Timeout, in milliseconds, before command forcibly terminated (default: `0`) | ||
- `maxBuffer` - Max output size in bytes for stdout/stderr (default: `1024 * 1024 * 50`) | ||
@@ -73,0 +73,0 @@ - `options` - Custom [ogr2ogr arguments][4] and [driver options][5] (e.g. `['--config', 'SHAPE_RESTORE_SHX', 'TRUE']`) |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
2
44549
22
Updatedarchiver@^5.3.1