@elastic.io/object-storage-client
Advanced tools
Comparing version 0.0.1-dev.12 to 0.0.2-dev
@@ -10,3 +10,3 @@ /// <reference types="node" /> | ||
} | ||
export declare type TransformMiddleware = Duplex; | ||
export declare type TransformMiddleware = () => Duplex; | ||
export default class ObjectStorage { | ||
@@ -13,0 +13,0 @@ private client; |
@@ -40,3 +40,3 @@ "use strict"; | ||
return middlewares.reduce((stream, middleware) => { | ||
return stream.pipe(middleware); | ||
return stream.pipe(middleware()); | ||
}, stream); | ||
@@ -43,0 +43,0 @@ } |
{ | ||
"name": "@elastic.io/object-storage-client", | ||
"version": "0.0.1-dev.12", | ||
"version": "0.0.2-dev", | ||
"description": "Elastic.io Message Store Client", | ||
@@ -12,4 +12,4 @@ "main": "dist/index.js", | ||
"test": "NODE_ENV=test mocha -r ts-node/register --recursive ./spec/**/*.ts", | ||
"transpile": "tsc", | ||
"prepublishOnly": "npm audit && npm run lint && npm run test && npm run transpile" | ||
"build": "tsc", | ||
"prepublishOnly": "npm run lint && npm run test && npm run build" | ||
}, | ||
@@ -44,3 +44,3 @@ "license": "UNLICENSED", | ||
"eslint-plugin-standard": "4.0.0", | ||
"mocha": "8.0.1", | ||
"mocha": "6.1.4", | ||
"nock": "10.0.6", | ||
@@ -47,0 +47,0 @@ "sinon": "7.3.2", |
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
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
53363
21
1097
4