react-grab 0.1.0-beta.3 → 0.1.0-beta.5
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/dist/{chunk-VBF5JSXZ.js → chunk-A2RTDQ5X.js} +2 -2
- package/dist/{chunk-B7J6UAAN.cjs → chunk-XLI2I3US.cjs} +2 -2
- package/dist/cli.cjs +1 -1
- package/dist/core/index.cjs +1 -1
- package/dist/core/index.js +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.global.js +2 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';var child_process=require('child_process');var e="0.1.0-beta.
|
|
2
|
+
'use strict';var child_process=require('child_process');var e="0.1.0-beta.5",r=child_process.spawnSync("npx",["-y",`@react-grab/cli@${e}`,...process.argv.slice(2)],{stdio:"inherit",shell:process.platform==="win32"});process.exit(r.status??0);
|
package/dist/core/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkXLI2I3US_cjs=require('../chunk-XLI2I3US.cjs');Object.defineProperty(exports,"DEFAULT_THEME",{enumerable:true,get:function(){return chunkXLI2I3US_cjs.j}});Object.defineProperty(exports,"copyContent",{enumerable:true,get:function(){return chunkXLI2I3US_cjs.e}});Object.defineProperty(exports,"formatElementInfo",{enumerable:true,get:function(){return chunkXLI2I3US_cjs.d}});Object.defineProperty(exports,"generateSnippet",{enumerable:true,get:function(){return chunkXLI2I3US_cjs.f}});Object.defineProperty(exports,"getStack",{enumerable:true,get:function(){return chunkXLI2I3US_cjs.c}});Object.defineProperty(exports,"init",{enumerable:true,get:function(){return chunkXLI2I3US_cjs.k}});Object.defineProperty(exports,"isInstrumentationActive",{enumerable:true,get:function(){return chunkXLI2I3US_cjs.b}});
|
package/dist/core/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{j as DEFAULT_THEME,e as copyContent,d as formatElementInfo,f as generateSnippet,c as getStack,k as init,b as isInstrumentationActive}from'../chunk-
|
|
1
|
+
export{j as DEFAULT_THEME,e as copyContent,d as formatElementInfo,f as generateSnippet,c as getStack,k as init,b as isInstrumentationActive}from'../chunk-A2RTDQ5X.js';
|
package/dist/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkXLI2I3US_cjs=require('./chunk-XLI2I3US.cjs');/**
|
|
2
2
|
* @license MIT
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) 2025 Aiden Bai
|
|
@@ -6,4 +6,4 @@
|
|
|
6
6
|
* This source code is licensed under the MIT license found in the
|
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
|
8
8
|
*/
|
|
9
|
-
var e=null,c=()=>typeof window>"u"?e:window.__REACT_GRAB__??e??null,f=t=>{e=t,typeof window<"u"&&(t?window.__REACT_GRAB__=t:delete window.__REACT_GRAB__);};typeof window<"u"&&(window.__REACT_GRAB__?e=window.__REACT_GRAB__:(e=
|
|
9
|
+
var e=null,c=()=>typeof window>"u"?e:window.__REACT_GRAB__??e??null,f=t=>{e=t,typeof window<"u"&&(t?window.__REACT_GRAB__=t:delete window.__REACT_GRAB__);};typeof window<"u"&&(window.__REACT_GRAB__?e=window.__REACT_GRAB__:(e=chunkXLI2I3US_cjs.k(),window.__REACT_GRAB__=e),window.dispatchEvent(new CustomEvent("react-grab:init",{detail:e})));Object.defineProperty(exports,"DEFAULT_THEME",{enumerable:true,get:function(){return chunkXLI2I3US_cjs.j}});Object.defineProperty(exports,"captureElementScreenshot",{enumerable:true,get:function(){return chunkXLI2I3US_cjs.h}});Object.defineProperty(exports,"combineBounds",{enumerable:true,get:function(){return chunkXLI2I3US_cjs.g}});Object.defineProperty(exports,"copyImageToClipboard",{enumerable:true,get:function(){return chunkXLI2I3US_cjs.i}});Object.defineProperty(exports,"formatElementInfo",{enumerable:true,get:function(){return chunkXLI2I3US_cjs.d}});Object.defineProperty(exports,"generateSnippet",{enumerable:true,get:function(){return chunkXLI2I3US_cjs.f}});Object.defineProperty(exports,"getStack",{enumerable:true,get:function(){return chunkXLI2I3US_cjs.c}});Object.defineProperty(exports,"init",{enumerable:true,get:function(){return chunkXLI2I3US_cjs.k}});Object.defineProperty(exports,"isInstrumentationActive",{enumerable:true,get:function(){return chunkXLI2I3US_cjs.b}});Object.defineProperty(exports,"isScreenshotSupported",{enumerable:true,get:function(){return chunkXLI2I3US_cjs.a}});exports.getGlobalApi=c;exports.setGlobalApi=f;
|