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

asset-pipe-client

Package Overview
Dependencies
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

asset-pipe-client - npm Package Compare versions

Comparing version 1.0.0-beta.2 to 1.0.0-beta.3

2

package.json
{
"name": "asset-pipe-client",
"version": "1.0.0-beta.2",
"version": "1.0.0-beta.3",
"author": {

@@ -5,0 +5,0 @@ "name": "Trygve Lie",

@@ -37,7 +37,6 @@ # asset-pipe-client

const client = new Client({
files: ['path/to/myFrontendCode.js']
buildServerUri: 'http://127.0.0.1:7100',
});
client.uploadFeed()
client.uploadFeed(['path/to/myFrontendCode.js'])
.then((content) => {

@@ -90,4 +89,3 @@ // content contains filename of created the asset-feed

* `files` - Same as `files` in the [Browserify constructor][browserify-opts]
* `buildServerUri` - URI to the [asset-pipe-build-server][asset-pipe-build-server]
* `options.buildServerUri` - URI to the [asset-pipe-build-server][asset-pipe-build-server]

@@ -102,7 +100,8 @@ ### transform()

### uploadFeed()
### uploadFeed(files)
Read the [CommonJS module][commonjs] entry point given at `options.files` in the constructor and uploads
it as an asset feeds to the [asset-pipe-build-server][asset-pipe-build-server].
Read the [CommonJS module][commonjs] entry point and uploads it as an asset feeds to the [asset-pipe-build-server][asset-pipe-build-server].
* `files` - Array - List of CommonJS module entry points - Same as `files` in the [Browserify constructor][browserify-opts]
Returns a promise.

@@ -109,0 +108,0 @@

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