react-simple-loadable 2.0.2 → 2.0.3
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.
- package/loadable.d.ts.map +1 -1
- package/loadable.js +0 -4
- package/package.json +9 -11
package/loadable.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loadable.d.ts","sourceRoot":"","sources":["../src/loadable.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"loadable.d.ts","sourceRoot":"","sources":["../src/loadable.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAa,aAAa,EAAE,MAAM,OAAO,CAAC;AAEjD,MAAM,MAAM,eAAe,CAAC,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,IAAI,MAAM,OAAO,CAClE,aAAa,CAAC,CAAC,CAAC,CACjB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,OAAO,IAAI,IAAI,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,iBAAiB,CAAC,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,IAAI,aAAa,CAAC,CAAC,CAAC,GACvE,aAAa,CAAC;AAIhB,MAAM,WAAW,cAAc;IAC7B,MAAM,CAAC,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC;IAC5B;;OAEG;IACH,KAAK,CAAC,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC;CAC5B;AA4HD,KAAK,kBAAkB,CAAC,CAAC,IAAI,iBAAiB,CAAC,CAAC,CAAC,CAAC;AAElD,wBAAgB,QAAQ,CAAC,CAAC,GAAG,GAAG,EAC9B,MAAM,EAAE,eAAe,CAAC,CAAC,CAAC,EAC1B,cAAc,CAAC,EAAE,IAAI,GAAG,SAAS,GAAG,cAAc,CAAC,QAAQ,CAAC,GAAG,cAAc,GAC5E,kBAAkB,CAAC,CAAC,CAAC,CAqBvB"}
|
package/loadable.js
CHANGED
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
/* eslint-disable sonarjs/sonar-no-unused-class-component-methods */
|
|
3
|
-
/* eslint-disable sonarjs/no-unsafe */
|
|
4
|
-
/* eslint-disable sonarjs/public-static-readonly */
|
|
5
|
-
/* eslint-disable @typescript-eslint/ban-types */
|
|
6
2
|
import { Component } from 'react';
|
|
7
3
|
const DefaultLoader = () => null;
|
|
8
4
|
const loadingStates = new WeakMap();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-simple-loadable",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.3",
|
|
4
4
|
"description": "Really simple React Loadable component",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -10,23 +10,21 @@
|
|
|
10
10
|
"react",
|
|
11
11
|
"simple",
|
|
12
12
|
"loadable",
|
|
13
|
-
"suspense"
|
|
13
|
+
"suspense",
|
|
14
|
+
"lazy"
|
|
14
15
|
],
|
|
15
16
|
"author": "js2me",
|
|
16
17
|
"license": "MIT",
|
|
17
18
|
"type": "module",
|
|
18
|
-
"dependencies": {
|
|
19
|
-
"yammies": "^2.0.10"
|
|
20
|
-
},
|
|
21
19
|
"peerDependencies": {
|
|
22
|
-
"react": "
|
|
20
|
+
"react": "^18.3.1"
|
|
23
21
|
},
|
|
24
22
|
"devDependencies": {
|
|
25
|
-
"@types/react": "
|
|
26
|
-
"eslint": "8.57.1",
|
|
27
|
-
"js2me-
|
|
28
|
-
"js2me-
|
|
29
|
-
"typescript": "5.
|
|
23
|
+
"@types/react": "^18.3.18",
|
|
24
|
+
"eslint": "^8.57.1",
|
|
25
|
+
"js2me-eslint-config": "^1.0.6",
|
|
26
|
+
"js2me-exports-post-build-script": "^2.0.17",
|
|
27
|
+
"typescript": "^5.7.2"
|
|
30
28
|
},
|
|
31
29
|
"exports": {
|
|
32
30
|
".": {
|