New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

file-select-dialog

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

file-select-dialog - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

7

CHANGELOG.md

@@ -0,1 +1,8 @@

## [1.1.1](https://github.com/TomokiMiyauci/file-select-dialog/compare/v1.1.0...v1.1.1) (2020-11-19)
### Performance Improvements
* **rollup.config.ts:** apply minify ([64c0442](https://github.com/TomokiMiyauci/file-select-dialog/commit/64c04427740e99fd73174453214257b407aa726c))
# [1.1.0](https://github.com/TomokiMiyauci/file-select-dialog/compare/v1.0.0...v1.1.0) (2020-11-18)

@@ -2,0 +9,0 @@

0

dist/error.d.ts

@@ -0,0 +0,0 @@ declare class BaseError extends Error {

@@ -0,0 +0,0 @@ export interface Parameters<T extends boolean = false> {

export { fileDialog } from './file-dialog';
//# sourceMappingURL=index.d.ts.map

4

dist/index.js

@@ -1,2 +0,2 @@

export { fileDialog } from './file-dialog';
//# sourceMappingURL=index.js.map
class e extends Error{}class t extends e{}class c extends e{}const n={accept:"*",multiple:!1},s=e=>{const{accept:s,multiple:l}={...n,...e},r=document.createElement("input");return r.type="file",r.multiple=l,r.accept=Array.isArray(s)?((e,t=",")=>e.join(t))(s):s,new Promise(((e,n)=>{r.onchange=()=>{s(),r.remove()};const s=()=>{const{files:s}=r;s?l?e(s):1===s.length?e(s[0]):n(new c):n(new t)};r.click()}))};export{s as fileDialog};
//# sourceMappingURL=index.js.map
export declare const joinArrayString: (arr: string[], separator?: string) => string;
//# sourceMappingURL=util.d.ts.map
{
"name": "file-select-dialog",
"version": "1.1.0",
"version": "1.1.1",
"description": "Call file select dialog programmatically",
"types": "dist/index.d.ts",
"main": "dist/index.js",

@@ -21,3 +22,3 @@ "author": "TomokiMiyauci <development.operation.6.6.6@gmail.com>",

"scripts": {
"build": "tsc",
"build": "rollup -c rollup.config.ts",
"lint": "eslint --ext .ts --ignore-path .gitignore .",

@@ -40,2 +41,6 @@ "test:unit": "jest",

"prettier": "^2.1.2",
"rollup": "^2.33.3",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.29.0",
"semantic-release": "^17.2.3",

@@ -42,0 +47,0 @@ "ts-jest": "^26.4.4",

@@ -15,3 +15,3 @@ # file-select-dialog

- Promise
- No dependencies, Super slim (561 bytes)
- No dependencies, Optimization, Super slim size
- Modern browser support only

@@ -18,0 +18,0 @@ - Supports selecting multiple files and the file type accepts

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