filepond-plugin-file-rename
Advanced tools
Comparing version 1.1.6 to 1.1.7
/*! | ||
* FilePondPluginFileRename 1.1.6 | ||
* FilePondPluginFileRename 1.1.7 | ||
* Licensed under MIT, https://opensource.org/licenses/MIT/ | ||
@@ -4,0 +4,0 @@ * Please visit https://pqina.nl/filepond/ for details. |
/*! | ||
* FilePondPluginFileRename 1.1.6 | ||
* FilePondPluginFileRename 1.1.7 | ||
* Licensed under MIT, https://opensource.org/licenses/MIT/ | ||
@@ -4,0 +4,0 @@ * Please visit https://pqina.nl/filepond/ for details. |
/*! | ||
* FilePondPluginFileRename 1.1.6 | ||
* FilePondPluginFileRename 1.1.7 | ||
* Licensed under MIT, https://opensource.org/licenses/MIT/ | ||
@@ -4,0 +4,0 @@ * Please visit https://pqina.nl/filepond/ for details. |
/*! | ||
* FilePondPluginFileRename 1.1.6 | ||
* FilePondPluginFileRename 1.1.7 | ||
* Licensed under MIT, https://opensource.org/licenses/MIT/ | ||
@@ -4,0 +4,0 @@ * Please visit https://pqina.nl/filepond/ for details. |
{ | ||
"name": "filepond-plugin-file-rename", | ||
"version": "1.1.6", | ||
"description": "File Rename Plugin for FilePond", | ||
"license": "MIT", | ||
"author": { | ||
"name": "PQINA", | ||
"url": "https://pqina.nl/" | ||
}, | ||
"homepage": "https://pqina.nl/filepond/", | ||
"repository": "pqina/filepond-plugin-file-rename", | ||
"main": "dist/filepond-plugin-file-rename.js", | ||
"browser": "dist/filepond-plugin-file-rename.js", | ||
"module": "dist/filepond-plugin-file-rename.esm.js", | ||
"browserslist": [ | ||
"last 1 version and not Explorer 10", | ||
"Explorer 11", | ||
"iOS >= 9", | ||
"Android >= 4.4" | ||
], | ||
"files": [ | ||
"dist", | ||
"types/*.d.ts" | ||
], | ||
"types": "types/index.d.ts", | ||
"scripts": { | ||
"start": "npx rollup -c -w", | ||
"build": "npx rollup -c" | ||
}, | ||
"peerDependencies": { | ||
"filepond": ">=1.8.x <5.x" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.4.0", | ||
"@babel/preset-env": "^7.4.2", | ||
"rollup": "^1.7.0", | ||
"rollup-plugin-babel": "^4.3.2", | ||
"rollup-plugin-commonjs": "^9.2.1", | ||
"rollup-plugin-license": "^0.8.1", | ||
"rollup-plugin-node-resolve": "^4.0.1", | ||
"rollup-plugin-prettier": "^0.6.0", | ||
"rollup-plugin-terser": "^4.0.4" | ||
} | ||
"name": "filepond-plugin-file-rename", | ||
"version": "1.1.7", | ||
"description": "File Rename Plugin for FilePond", | ||
"license": "MIT", | ||
"author": { | ||
"name": "PQINA", | ||
"url": "https://pqina.nl/" | ||
}, | ||
"homepage": "https://pqina.nl/filepond/", | ||
"repository": "pqina/filepond-plugin-file-rename", | ||
"main": "dist/filepond-plugin-file-rename.js", | ||
"browser": "dist/filepond-plugin-file-rename.js", | ||
"module": "dist/filepond-plugin-file-rename.esm.js", | ||
"browserslist": [ | ||
"last 1 version and not Explorer 10", | ||
"Explorer 11", | ||
"iOS >= 9", | ||
"Android >= 4.4" | ||
], | ||
"files": [ | ||
"dist", | ||
"types/*.d.ts" | ||
], | ||
"types": "types/index.d.ts", | ||
"scripts": { | ||
"start": "npx rollup -c -w", | ||
"build": "npx rollup -c" | ||
}, | ||
"peerDependencies": { | ||
"filepond": ">=1.8.x <5.x" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.4.0", | ||
"@babel/preset-env": "^7.4.2", | ||
"rollup": "^1.7.0", | ||
"rollup-plugin-babel": "^4.3.2", | ||
"rollup-plugin-commonjs": "^9.2.1", | ||
"rollup-plugin-license": "^0.8.1", | ||
"rollup-plugin-node-resolve": "^4.0.1", | ||
"rollup-plugin-prettier": "^0.6.0", | ||
"rollup-plugin-terser": "^4.0.4" | ||
} | ||
} |
@@ -1,18 +0,20 @@ | ||
declare module "filepond-plugin-file-rename" { | ||
const FilepondPluginFileRename: FilepondPluginFilepondPluginFileRenameProps; | ||
export interface FilepondPluginFilepondPluginFileRenameProps { | ||
/** Enable or disable file renaming */ | ||
allowFileRename: boolean; | ||
// @ts-ignore | ||
import { FilePondOptions } from "filepond"; | ||
/** A function that receives an objecting containing file information like basename, extension and name. It should return either a string value or a Promise that resolves with a string value. */ | ||
fileRenameFunction: undefined | null | ( | ||
(options: { | ||
basename: string; | ||
extension: string; | ||
name: string; | ||
} | ||
) => string | ||
) | Promise<string>; | ||
} | ||
export default FilepondPluginFileRename; | ||
declare module "filepond" { | ||
export interface FilePondOptions { | ||
/** Enable or disable file renaming */ | ||
allowFileRename: boolean; | ||
/** A function that receives an objecting containing file information like basename, extension and name. It should return either a string value or a Promise that resolves with a string value. */ | ||
fileRenameFunction: | ||
| undefined | ||
| null | ||
| ((options: { | ||
basename: string; | ||
extension: string; | ||
name: string; | ||
}) => string) | ||
| Promise<string>; | ||
} | ||
} |
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
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
178
9798