Socket
Socket
Sign inDemoInstall

filestack-js

Package Overview
Dependencies
Maintainers
1
Versions
169
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

filestack-js - npm Package Compare versions

Comparing version 0.6.3 to 0.7.0-rc

config/env_production.js

10

package.json
{
"name": "filestack-js",
"version": "0.6.3",
"version": "0.7.0-rc",
"description": "Official browser client for Filestack",

@@ -38,7 +38,6 @@ "author": "Filestack",

"devDependencies": {
"api-client": "http://static.filestackapi.com/packages/api-client/api-client-0.4.4.tar.gz",
"api-client": "http://static.filestackapi.com/packages/api-client/api-client-0.4.5.tar.gz",
"babel-plugin-external-helpers": "^6.22.0",
"babel-preset-es2015": "^6.22.0",
"babel-register": "^6.22.0",
"babelrc-rollup": "^3.0.0",
"chai": "^3.5.0",

@@ -48,3 +47,2 @@ "chai-spies": "^0.7.1",

"electron-mocha": "^3.1.1",
"es6-promise": "^4.1.0",
"eslint": "^3.5.0",

@@ -55,5 +53,5 @@ "eslint-config-airbnb-base": "^8.0.0",

"http-server": "^0.9.0",
"loader": "http://static.filestackapi.com/packages/loader/loader-2.0.3.tar.gz",
"logger": "http://static.filestackapi.com/packages/logger/logger-1.3.3.tar.gz",
"minimist": "^1.2.0",
"picker": "http://static.filestackapi.com/packages/picker/picker-0.6.6.tar.gz",
"pre-commit": "^1.1.3",

@@ -73,2 +71,2 @@ "release-o-tron": "http://static.filestackapi.com/packages/release-o-tron/release-o-tron-1.3.6.tar.gz",

]
}
}

15

README.md

@@ -35,2 +35,15 @@ filestack-js

## Polyfills
**Note:** As of 0.7.0 filestack-js is not shipping with polyfills.
This library requires an environment that implements the [`Promise`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise) object spec.
If you need to use filestack-js in IE11 you will need to add a `Promise` polyfill to your page or application.
Polyfills we recommend (choose one):
* https://github.com/taylorhakes/promise-polyfill
* https://github.com/stefanpenner/es6-promise
# API Reference

@@ -100,3 +113,3 @@

### client.pick([options]) ⇒ <code>Promise</code>
Opens the picker UI.
Opens the picker UI widget. The code is loaded dynamically from the Filestack CDN.

@@ -103,0 +116,0 @@ **Resolve**: <code>object</code> - Object contains keys `filesUploaded` and `filesFailed` which are both arrays of file metadata.

@@ -7,3 +7,2 @@ /* eslint-disable no-console */

import babel from 'rollup-plugin-babel';
import babelrc from 'babelrc-rollup';
import inject from 'rollup-plugin-inject';

@@ -20,3 +19,3 @@ import replace from 'rollup-plugin-replace';

export default {
entry: 'lib/filestack.js',
entry: 'lib/index.js',
acorn: {

@@ -26,2 +25,8 @@ allowReserved: true,

plugins: [
replace({
delimiters: ['@{', '}'],
values: {
VERSION: manifest.version,
},
}),
inject({

@@ -33,11 +38,7 @@ exclude: 'node_modules/**',

}),
replace({
delimiters: ['@{', '}'],
values: {
VERSION: manifest.version,
},
}),
nodeResolve(),
commonJs(),
babel(babelrc()),
babel({
exclude: 'node_modules/**',
}),
uglify({

@@ -44,0 +45,0 @@ output: {

@@ -7,3 +7,2 @@ /* eslint-disable no-console */

import babel from 'rollup-plugin-babel';
import babelrc from 'babelrc-rollup';
import inject from 'rollup-plugin-inject';

@@ -30,3 +29,3 @@ import replace from 'rollup-plugin-replace';

export default {
entry: 'lib/filestack.js',
entry: 'lib/index.js',
acorn: {

@@ -36,2 +35,8 @@ allowReserved: true,

plugins: [
replace({
delimiters: ['@{', '}'],
values: {
VERSION: manifest.version,
},
}),
inject({

@@ -43,8 +48,2 @@ exclude: 'node_modules/**',

}),
replace({
delimiters: ['@{', '}'],
values: {
VERSION: manifest.version,
},
}),
nodeResolve({

@@ -56,3 +55,5 @@ module: true,

commonJs(),
babel(babelrc()),
babel({
exclude: 'node_modules/**',
}),
uglify({

@@ -59,0 +60,0 @@ compress: false,

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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