bippy 0.3.12 → 0.3.14

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 (50) hide show
  1. package/LICENSE +1 -1
  2. package/dist/chunk-DWy1uDak.cjs +47 -0
  3. package/dist/core-BOYfIZ0s.d.cts +293 -0
  4. package/dist/core-C6nHUfhm.cjs +1164 -0
  5. package/dist/core-CmL25iLV.d.ts +293 -0
  6. package/dist/core-DTE079zz.js +744 -0
  7. package/dist/core.cjs +79 -286
  8. package/dist/core.d.cts +2 -221
  9. package/dist/core.d.ts +2 -221
  10. package/dist/core.js +11 -2
  11. package/dist/experiments/inspect.cjs +1109 -1400
  12. package/dist/experiments/inspect.d.cts +12 -10
  13. package/dist/experiments/inspect.d.ts +12 -10
  14. package/dist/experiments/inspect.js +1101 -1385
  15. package/dist/index-BtBZHVmz.d.cts +1 -0
  16. package/dist/index-D0E78WnU.d.ts +1 -0
  17. package/dist/index.cjs +80 -287
  18. package/dist/index.d.cts +3 -5
  19. package/dist/index.d.ts +3 -5
  20. package/dist/index.iife.js +9 -0
  21. package/dist/index.js +12 -3
  22. package/dist/jsx-dev-runtime.cjs +25 -33
  23. package/dist/jsx-dev-runtime.d.cts +7 -6
  24. package/dist/jsx-dev-runtime.d.ts +7 -6
  25. package/dist/jsx-dev-runtime.js +24 -28
  26. package/dist/jsx-runtime.cjs +16 -12
  27. package/dist/jsx-runtime.d.cts +3 -3
  28. package/dist/jsx-runtime.d.ts +3 -3
  29. package/dist/jsx-runtime.js +12 -4
  30. package/dist/source-BEL1nkP1.cjs +2429 -0
  31. package/dist/source-XJPX_wAG.js +2437 -0
  32. package/dist/source.cjs +84 -300
  33. package/dist/source.d.cts +8 -10
  34. package/dist/source.d.ts +8 -10
  35. package/dist/source.iife.js +14 -0
  36. package/dist/source.js +13 -4
  37. package/dist/src-Cm5n_5v3.cjs +14 -0
  38. package/dist/{chunk-3IP2OB7N.js → src-Urb5JDZq.js} +5 -4
  39. package/package.json +6 -7
  40. package/dist/chunk-AQ674A4M.cjs +0 -38
  41. package/dist/chunk-DIRPAAVW.js +0 -2254
  42. package/dist/chunk-EPG3GO3H.js +0 -35
  43. package/dist/chunk-HUPJOARH.cjs +0 -15
  44. package/dist/chunk-IHWCFWLG.cjs +0 -2258
  45. package/dist/chunk-LQCLSVM3.js +0 -788
  46. package/dist/chunk-ZIMPO55S.cjs +0 -859
  47. package/dist/index.global.js +0 -9
  48. package/dist/jsx-runtime-KafG0Y8O.d.cts +0 -72
  49. package/dist/jsx-runtime-KafG0Y8O.d.ts +0 -72
  50. package/dist/source.global.js +0 -9
@@ -1,13 +1,14 @@
1
- import { safelyInstallRDTHook } from './chunk-LQCLSVM3.js';
2
-
3
1
  /**
4
2
  * @license bippy
5
3
  *
6
- * Copyright (c) Aiden Bai, Million Software, Inc.
4
+ * Copyright (c) Aiden Bai
7
5
  *
8
6
  * This source code is licensed under the MIT license found in the
9
7
  * LICENSE file in the root directory of this source tree.
10
8
  */
9
+ import { safelyInstallRDTHook } from "./core-DTE079zz.js";
11
10
 
12
- // src/index.ts
11
+ //#region src/index.ts
13
12
  safelyInstallRDTHook();
13
+
14
+ //#endregion
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bippy",
3
- "version": "0.3.12",
3
+ "version": "0.3.14",
4
4
  "description": "hack into react internals",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -92,12 +92,11 @@
92
92
  },
93
93
  "./dist/*": "./dist/*.js",
94
94
  "./dist/*.js": "./dist/*.js",
95
- "./dist/*.cjs": "./dist/*.cjs",
96
- "./dist/*.mjs": "./dist/*.mjs"
95
+ "./dist/*.cjs": "./dist/*.cjs"
97
96
  },
98
97
  "main": "dist/index.js",
99
98
  "module": "dist/index.js",
100
- "browser": "dist/index.global.js",
99
+ "browser": "dist/index.iife.js",
101
100
  "types": "dist/index.d.ts",
102
101
  "files": [
103
102
  "dist",
@@ -127,7 +126,7 @@
127
126
  "react-refresh": "^0.16.0",
128
127
  "source-map-js": "^1.2.1",
129
128
  "terser": "^5.36.0",
130
- "tsup": "^8.2.4",
129
+ "tsdown": "^0.12.3",
131
130
  "vitest": "^2.1.8"
132
131
  },
133
132
  "peerDependencies": {
@@ -137,8 +136,8 @@
137
136
  "@types/react-reconciler": "^0.28.9"
138
137
  },
139
138
  "scripts": {
140
- "build": "NODE_ENV=production tsup",
141
- "dev": "NODE_ENV=development tsup --watch",
139
+ "build": "NODE_ENV=production tsdown && bun scripts/append-banner.ts",
140
+ "dev": "NODE_ENV=development tsdown --watch",
142
141
  "publint": "publint",
143
142
  "test": "vitest",
144
143
  "coverage": "vitest run --coverage"
@@ -1,38 +0,0 @@
1
- 'use strict';
2
-
3
- /**
4
- * @license bippy
5
- *
6
- * Copyright (c) Aiden Bai, Million Software, Inc.
7
- *
8
- * This source code is licensed under the MIT license found in the
9
- * LICENSE file in the root directory of this source tree.
10
- */
11
- var __create = Object.create;
12
- var __defProp = Object.defineProperty;
13
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
14
- var __getOwnPropNames = Object.getOwnPropertyNames;
15
- var __getProtoOf = Object.getPrototypeOf;
16
- var __hasOwnProp = Object.prototype.hasOwnProperty;
17
- var __commonJS = (cb, mod) => function __require() {
18
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
19
- };
20
- var __copyProps = (to, from, except, desc) => {
21
- if (from && typeof from === "object" || typeof from === "function") {
22
- for (let key of __getOwnPropNames(from))
23
- if (!__hasOwnProp.call(to, key) && key !== except)
24
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
25
- }
26
- return to;
27
- };
28
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
29
- // If the importer is in node compatibility mode or this is not an ESM
30
- // file that has been converted to a CommonJS file using a Babel-
31
- // compatible transform (i.e. "__esModule" has not been set), then set
32
- // "default" to the CommonJS "module.exports" for node compatibility.
33
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
34
- mod
35
- ));
36
-
37
- exports.__commonJS = __commonJS;
38
- exports.__toESM = __toESM;