@raketa-builder/file-input 1.1.7 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +7 -3
  2. package/package.json +9 -9
package/dist/index.js CHANGED
@@ -35,6 +35,10 @@ var __copyProps = (to, from, except, desc) => {
35
35
  return to;
36
36
  };
37
37
  var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
38
+ // If the importer is in node compatibility mode or this is not an ESM
39
+ // file that has been converted to a CommonJS file using a Babel-
40
+ // compatible transform (i.e. "__esModule" has not been set), then set
41
+ // "default" to the CommonJS "module.exports" for node compatibility.
38
42
  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
39
43
  mod
40
44
  ));
@@ -61,12 +65,12 @@ var __async = (__this, __arguments, generator) => {
61
65
  };
62
66
 
63
67
  // src/index.js
64
- var src_exports = {};
65
- __export(src_exports, {
68
+ var index_exports = {};
69
+ __export(index_exports, {
66
70
  FileManager: () => FileManager,
67
71
  FilePicker: () => FilePicker_default
68
72
  });
69
- module.exports = __toCommonJS(src_exports);
73
+ module.exports = __toCommonJS(index_exports);
70
74
 
71
75
  // src/FilePicker/index.js
72
76
  var import_react7 = __toESM(require("react"));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@raketa-builder/file-input",
3
- "version": "1.1.7",
3
+ "version": "1.2.1",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "license": "MIT",
@@ -11,21 +11,21 @@
11
11
  "lint": "biome lint --max-diagnostics=5000 ."
12
12
  },
13
13
  "peerDependencies": {
14
- "react": "18.2.0",
15
- "react-dom": "18.2.0"
14
+ "react": "19.0.0",
15
+ "react-dom": "19.0.0"
16
16
  },
17
17
  "dependencies": {
18
18
  "react-dropzone": "14.2.3",
19
19
  "@raketa-builder/ui": "1.1.7"
20
20
  },
21
21
  "devDependencies": {
22
- "@biomejs/biome": "1.5.2",
23
- "@types/react": "17.0.37",
22
+ "@biomejs/biome": "1.9.4",
23
+ "@types/react": "19.0.12",
24
24
  "@types/react-dom": "17.0.11",
25
- "prettier": "3.2.4",
26
- "react": "18.2.0",
25
+ "prettier": "3.5.3",
26
+ "react": "19.0.0",
27
27
  "tsconfig": "*",
28
- "tsup": "6.5.0",
29
- "typescript": "4.5.2"
28
+ "tsup": "8.4.0",
29
+ "typescript": "5.8.2"
30
30
  }
31
31
  }