Socket
Socket
Sign inDemoInstall

filestack-vue

Package Overview
Dependencies
0
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.1 to 2.0.0

.editorconfig

2

package.json
{
"name": "filestack-vue",
"version": "1.0.1",
"version": "2.0.0",
"description": "Vue component for Filestack - API and content management system that makes it easy to add powerful file uploading and transformation capabilities to any web or mobile application. via @TipeIO",

@@ -5,0 +5,0 @@ "author": "PatrickJS <patrick@tipe.io>",

@@ -9,3 +9,3 @@ <p align="center">

[![NPM Version](https://img.shields.io/badge/npm-1.3.8-red.svg)](https://www.npmjs.com/package/filestack-vue)
[![NPM Version](https://img.shields.io/badge/npm-1.0.1-green.svg)](https://www.npmjs.com/package/filestack-vue)
<!-- [![Package Quality](http://npm.packagequality.com/shield/vue-filestack.svg)](http://packagequality.com/#?package=filestack-vue) -->

@@ -57,6 +57,4 @@

:apikey="YOUR_API_KEY"
buttonText="Click me"
buttonClass="classname"
:options="options"
@success.prevent="yourCallbackFunction"
@success="yourCallbackFunction"
>

@@ -74,4 +72,4 @@ <div>

:options="options"
@success.prevent="onSuccess"
@error.prevent="onError"
@success="onSuccess"
@error="onError"
>

@@ -91,3 +89,3 @@ <div>

:options="options"
@success.prevent="onSuccess"
@success="onSuccess"
>

@@ -132,3 +130,3 @@ <div>

:options="options"
@success.prevent="yourSuccessCallbackFunction"
@success="yourSuccessCallbackFunction"
>

@@ -214,2 +212,3 @@ <div>

## Contributors
- [Tipe](https://github.com/tipeio)
- [PatrickJS](https://github.com/gdi2290)
const webpack = require('webpack');
const path = require('path');
module.exports = {
entry: './src/Filestack.vue',
output: {
path: path.join(__dirname, 'dist'),
filename: 'index.js'
},
externals: {
'vue-types': 'vue-types',
'filestack-js': 'filestack-js'
},
module: {
loaders: [
{
test: /\.js$/,
loader: 'babel-loader',
include: __dirname,
exclude: /node_modules/,
options: {
presets: ['@babel/preset-env']
var ROOT = path.resolve(__dirname)
var root = path.join.bind(path, ROOT)
const create = (filename, output, external) => {
return {
entry: './src/Filestack.vue',
output: {
path: output,
filename: filename,
libraryTarget: 'umd',
library: 'filestack-vue',
umdNamedDefine: true
},
externals: {
'filestack-js': external
},
module: {
loaders: [
{
test: /\.js$/,
loader: 'babel-loader',
include: __dirname,
exclude: /node_modules/,
options: {
presets: ['@babel/preset-env']
}
},
{
test: /\.vue$/,
loader: 'vue-loader'
},
{
test: /\.css$/,
loader: 'style-loader!less-loader!css-loader'
}
},
{
test: /\.vue$/,
loader: 'vue-loader'
},
{
test: /\.css$/,
loader: 'style-loader!less-loader!css-loader'
}
]
},
plugins: [
// new webpack.optimize.UglifyJsPlugin( {
// minimize : true,
// sourceMap : false,
// mangle: true,
// compress: {
// warnings: false
// }
// })
]
},
plugins: [
// new webpack.optimize.UglifyJsPlugin( {
// minimize : true,
// sourceMap : false,
// mangle: true,
// compress: {
// warnings: false
// }
// })
]
};
}
}
module.exports = [
create('index.js', root('./dist'), 'filestack-js'),
create('filestack-vue.js', root('./example'), 'filestack')
];

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc