isomorfeus-preact 10.7.3 → 10.8.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (69) hide show
  1. checksums.yaml +4 -4
  2. data/lib/preact/version.rb +1 -1
  3. data/node_modules/.package-lock.json +5 -7
  4. data/node_modules/preact/compat/LICENSE +21 -0
  5. data/node_modules/preact/compat/client.js +11 -5
  6. data/node_modules/preact/compat/client.mjs +7 -3
  7. data/node_modules/preact/compat/dist/compat.js +2 -2
  8. data/node_modules/preact/compat/dist/compat.js.map +1 -1
  9. data/node_modules/preact/compat/dist/compat.mjs +2 -2
  10. data/node_modules/preact/compat/dist/compat.module.js +2 -2
  11. data/node_modules/preact/compat/dist/compat.module.js.map +1 -1
  12. data/node_modules/preact/compat/dist/compat.umd.js +2 -2
  13. data/node_modules/preact/compat/dist/compat.umd.js.map +1 -1
  14. data/node_modules/preact/compat/package.json +47 -17
  15. data/node_modules/preact/compat/src/render.js +238 -229
  16. data/node_modules/preact/debug/LICENSE +21 -0
  17. data/node_modules/preact/debug/dist/debug.js +2 -2
  18. data/node_modules/preact/debug/dist/debug.js.map +1 -1
  19. data/node_modules/preact/debug/dist/debug.mjs +2 -2
  20. data/node_modules/preact/debug/dist/debug.module.js +2 -2
  21. data/node_modules/preact/debug/dist/debug.module.js.map +1 -1
  22. data/node_modules/preact/debug/dist/debug.umd.js +2 -2
  23. data/node_modules/preact/debug/dist/debug.umd.js.map +1 -1
  24. data/node_modules/preact/debug/package.json +24 -16
  25. data/node_modules/preact/debug/src/debug.js +437 -444
  26. data/node_modules/preact/devtools/LICENSE +21 -0
  27. data/node_modules/preact/devtools/dist/devtools.js +2 -2
  28. data/node_modules/preact/devtools/dist/devtools.js.map +1 -1
  29. data/node_modules/preact/devtools/dist/devtools.mjs +2 -2
  30. data/node_modules/preact/devtools/dist/devtools.module.js +2 -2
  31. data/node_modules/preact/devtools/dist/devtools.module.js.map +1 -1
  32. data/node_modules/preact/devtools/dist/devtools.umd.js +2 -2
  33. data/node_modules/preact/devtools/dist/devtools.umd.js.map +1 -1
  34. data/node_modules/preact/devtools/package.json +9 -0
  35. data/node_modules/preact/devtools/src/devtools.js +10 -10
  36. data/node_modules/preact/dist/preact.js +1 -1
  37. data/node_modules/preact/dist/preact.js.map +1 -1
  38. data/node_modules/preact/dist/preact.min.js +1 -1
  39. data/node_modules/preact/dist/preact.min.js.map +1 -1
  40. data/node_modules/preact/dist/preact.mjs +1 -1
  41. data/node_modules/preact/dist/preact.module.js +1 -1
  42. data/node_modules/preact/dist/preact.module.js.map +1 -1
  43. data/node_modules/preact/dist/preact.umd.js +1 -1
  44. data/node_modules/preact/dist/preact.umd.js.map +1 -1
  45. data/node_modules/preact/hooks/LICENSE +21 -0
  46. data/node_modules/preact/hooks/dist/hooks.js +2 -2
  47. data/node_modules/preact/hooks/dist/hooks.js.map +1 -1
  48. data/node_modules/preact/hooks/dist/hooks.mjs +2 -2
  49. data/node_modules/preact/hooks/dist/hooks.module.js +2 -2
  50. data/node_modules/preact/hooks/dist/hooks.module.js.map +1 -1
  51. data/node_modules/preact/hooks/dist/hooks.umd.js +2 -2
  52. data/node_modules/preact/hooks/dist/hooks.umd.js.map +1 -1
  53. data/node_modules/preact/hooks/package.json +33 -24
  54. data/node_modules/preact/hooks/src/index.js +417 -391
  55. data/node_modules/preact/hooks/src/internal.d.ts +3 -0
  56. data/node_modules/preact/jsx-runtime/LICENSE +21 -0
  57. data/node_modules/preact/jsx-runtime/package.json +9 -0
  58. data/node_modules/preact/package.json +304 -304
  59. data/node_modules/preact/src/diff/index.js +20 -6
  60. data/node_modules/preact/test-utils/package.json +26 -17
  61. data/package.json +1 -1
  62. metadata +9 -11
  63. data/node_modules/preact/compat/dist/compat.mjs.map +0 -1
  64. data/node_modules/preact/debug/dist/debug.mjs.map +0 -1
  65. data/node_modules/preact/devtools/dist/devtools.mjs.map +0 -1
  66. data/node_modules/preact/dist/preact.mjs.map +0 -1
  67. data/node_modules/preact/hooks/dist/hooks.mjs.map +0 -1
  68. data/node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs.map +0 -1
  69. data/node_modules/preact/test-utils/dist/testUtils.mjs.map +0 -1
@@ -49,12 +49,15 @@ export type Cleanup = () => void;
49
49
  export interface EffectHookState {
50
50
  _value?: Effect;
51
51
  _args?: any[];
52
+ _pendingArgs?: any[];
52
53
  _cleanup?: Cleanup | void;
53
54
  }
54
55
 
55
56
  export interface MemoHookState {
56
57
  _value?: any;
58
+ _pendingValue?: any;
57
59
  _args?: any[];
60
+ _pendingArgs?: any[];
58
61
  _factory?: () => any;
59
62
  }
60
63
 
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015-present Jason Miller
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -15,5 +15,14 @@
15
15
  },
16
16
  "mangle": {
17
17
  "regex": "^_"
18
+ },
19
+ "exports": {
20
+ ".": {
21
+ "types": "./src/index.d.ts",
22
+ "browser": "./dist/jsxRuntime.module.js",
23
+ "umd": "./dist/jsxRuntime.umd.js",
24
+ "import": "./dist/jsxRuntime.mjs",
25
+ "require": "./dist/jsxRuntime.js"
26
+ }
18
27
  }
19
28
  }