@modern-js/devtools-client 2.56.2 → 2.57.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.
- package/dist/modern.config.json +11 -7
- package/dist/public/sw-proxy.js +1 -1
- package/dist/routes-manifest.json +4 -4
- package/dist/static/html/client/index.html +3 -3
- package/dist/static/html/mount/index.html +2 -2
- package/dist/static/js/{102.56c294c3.js → 102.6fb7a80d.js} +2 -2
- package/dist/static/js/{builder-runtime.b98a069c.js → builder-runtime.535e59b8.js} +1 -1
- package/dist/static/js/client.b8813540.js +1 -0
- package/package.json +11 -11
- package/dist/static/js/client.7f95e143.js +0 -1
- /package/dist/static/js/{102.56c294c3.js.LICENSE.txt → 102.6fb7a80d.js.LICENSE.txt} +0 -0
package/dist/modern.config.json
CHANGED
|
@@ -14,11 +14,11 @@
|
|
|
14
14
|
"entriesDir": "./src/entries",
|
|
15
15
|
"configDir": "./config",
|
|
16
16
|
"globalVars": {
|
|
17
|
-
"process.env.MODERN_JS_VERSION": "2.
|
|
17
|
+
"process.env.MODERN_JS_VERSION": "2.57.1",
|
|
18
18
|
"process.env.IS_REACT18": "true",
|
|
19
|
-
"process.env.VERSION": "2.
|
|
20
|
-
"process.env.PKG_VERSION": "2.
|
|
21
|
-
"process.env.DEVTOOLS_MARK": "
|
|
19
|
+
"process.env.VERSION": "2.57.1",
|
|
20
|
+
"process.env.PKG_VERSION": "2.57.1",
|
|
21
|
+
"process.env.DEVTOOLS_MARK": "H2AAwvE9IzxNkhQIpEcwD"
|
|
22
22
|
},
|
|
23
23
|
"alias": {
|
|
24
24
|
"@_modern_js_internal": "/home/runner/work/modern.js/modern.js/packages/devtools/client/node_modules/.modern-js",
|
|
@@ -27,6 +27,10 @@
|
|
|
27
27
|
"@shared": "/home/runner/work/modern.js/modern.js/packages/devtools/client/shared",
|
|
28
28
|
"styled-components": "/home/runner/work/modern.js/modern.js/node_modules/.pnpm/styled-components@5.3.5_react-dom@18.2.0_react-is@18.2.0_react@18.2.0/node_modules/styled-components/dist/styled-components.cjs.js",
|
|
29
29
|
"@modern-js/runtime/plugins": "/home/runner/work/modern.js/modern.js/packages/devtools/client/node_modules/.modern-js/.runtime-exports/plugins.js",
|
|
30
|
+
"@meta/runtime/browser": "@modern-js/runtime/browser",
|
|
31
|
+
"@meta/runtime/react": "@modern-js/runtime/react",
|
|
32
|
+
"@meta/runtime/context": "@modern-js/runtime/context",
|
|
33
|
+
"@meta/runtime": "@modern-js/runtime",
|
|
30
34
|
"@modern-js/runtime-utils/node$": "/home/runner/work/modern.js/modern.js/packages/toolkit/runtime-utils/dist/cjs/node/index.js",
|
|
31
35
|
"react": "/home/runner/work/modern.js/modern.js/packages/devtools/client/node_modules/react-exp",
|
|
32
36
|
"react-dom": "/home/runner/work/modern.js/modern.js/packages/devtools/client/node_modules/react-dom-exp"
|
|
@@ -231,9 +235,9 @@
|
|
|
231
235
|
}
|
|
232
236
|
},
|
|
233
237
|
"globalVars": {
|
|
234
|
-
"process.env.VERSION": "2.
|
|
235
|
-
"process.env.PKG_VERSION": "2.
|
|
236
|
-
"process.env.DEVTOOLS_MARK": "
|
|
238
|
+
"process.env.VERSION": "2.57.1",
|
|
239
|
+
"process.env.PKG_VERSION": "2.57.1",
|
|
240
|
+
"process.env.DEVTOOLS_MARK": "H2AAwvE9IzxNkhQIpEcwD"
|
|
237
241
|
},
|
|
238
242
|
"alias": {
|
|
239
243
|
"react": "/home/runner/work/modern.js/modern.js/packages/devtools/client/node_modules/react-exp",
|
package/dist/public/sw-proxy.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var e={},t={};function r(s){var o=t[s];if(void 0!==o)return o.exports;var n=t[s]={exports:{}};return e[s](n,n.exports,r),n.exports}r.rv=function(){return"1.0.0-alpha.5"},r.ruid="bundler=rspack@1.0.0-alpha.5";let s="2.
|
|
1
|
+
(()=>{"use strict";var e={},t={};function r(s){var o=t[s];if(void 0!==o)return o.exports;var n=t[s]={exports:{}};return e[s](n,n.exports,r),n.exports}r.rv=function(){return"1.0.0-alpha.5"},r.ruid="bundler=rspack@1.0.0-alpha.5";let s="2.57.1",o=new URL(location.href).searchParams.get("rules");if(!s)throw Error("[Modern.js DevTools] failed to load version");let n=o?JSON.parse(o):[],i="http://".concat(location.host,"/__devtools/service/unregister");self.addEventListener("install",e=>{console.log("[Modern.js DevTools] service worker installed with rules:",JSON.stringify(n,null,2)),e.waitUntil(self.skipWaiting())}),self.addEventListener("activate",e=>{console.log("[Modern.js DevTools] service worker activated, click to unregister: ".concat(i)),e.waitUntil(self.clients.claim())}),self.addEventListener("fetch",e=>{let t=new URL(e.request.url);if(t.host===location.host){if("/__devtools/service/status"===t.pathname){let t=new Response(JSON.stringify({href:location.href,rules:n,version:s},null,2));e.respondWith(t);return}if("/__devtools/service/unregister"===t.pathname){e.respondWith(Promise.resolve().then(async()=>{let e=await self.registration.unregister();return e&&(n.length=0),new Response(null,{status:e?200:500})}));return}}let r={};for(let{test:t,key:s,value:o}of(e.request.headers.forEach((e,t)=>{r[t]=e}),n))(void 0===t||t===e.request.url)&&(r[s]=o);let o=new Request(e.request,{headers:r});e.respondWith(fetch(o))})})();
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"462"
|
|
15
15
|
],
|
|
16
16
|
"assets": [
|
|
17
|
-
"/static/js/builder-runtime.
|
|
17
|
+
"/static/js/builder-runtime.535e59b8.js",
|
|
18
18
|
"/static/js/components.b9474b8d.js",
|
|
19
19
|
"/static/css/components.41191267.css",
|
|
20
20
|
"/static/js/lib-react.0049ff32.js",
|
|
@@ -23,11 +23,11 @@
|
|
|
23
23
|
"/static/js/lib-router.425f945d.js",
|
|
24
24
|
"/static/css/675.861d0891.css",
|
|
25
25
|
"/static/js/675.e56cac26.js",
|
|
26
|
-
"/static/js/102.56c294c3.js",
|
|
27
26
|
"/static/css/102.e744b37c.css",
|
|
27
|
+
"/static/js/102.6fb7a80d.js",
|
|
28
28
|
"/static/js/130.1d2ae66a.js",
|
|
29
29
|
"/static/css/client.d5e84e85.css",
|
|
30
|
-
"/static/js/client.
|
|
30
|
+
"/static/js/client.b8813540.js"
|
|
31
31
|
],
|
|
32
32
|
"referenceCssAssets": [
|
|
33
33
|
"/static/css/components.41191267.css",
|
|
@@ -353,7 +353,7 @@
|
|
|
353
353
|
"400"
|
|
354
354
|
],
|
|
355
355
|
"assets": [
|
|
356
|
-
"/static/js/builder-runtime.
|
|
356
|
+
"/static/js/builder-runtime.535e59b8.js",
|
|
357
357
|
"/static/js/components.b9474b8d.js",
|
|
358
358
|
"/static/css/components.41191267.css",
|
|
359
359
|
"/static/js/lib-react.0049ff32.js",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
<!doctype html><html><head><title></title><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no,viewport-fit=cover,minimum-scale=1,maximum-scale=1,user-scalable=no"><meta http-equiv="x-ua-compatible" content="ie=edge"><meta name="renderer" content="webkit"><meta name="layoutmode" content="standard"><meta name="imagemode" content="force"><meta name="wap-font-scale" content="no"><meta name="format-detection" content="telephone=no"><script defer="defer" src="/static/js/builder-runtime.
|
|
1
|
+
<!doctype html><html><head><title></title><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no,viewport-fit=cover,minimum-scale=1,maximum-scale=1,user-scalable=no"><meta http-equiv="x-ua-compatible" content="ie=edge"><meta name="renderer" content="webkit"><meta name="layoutmode" content="standard"><meta name="imagemode" content="force"><meta name="wap-font-scale" content="no"><meta name="format-detection" content="telephone=no"><script defer="defer" src="/static/js/builder-runtime.535e59b8.js"></script><script >
|
|
2
2
|
;(function(){
|
|
3
|
-
window._MODERNJS_ROUTE_MANIFEST = {"routeAssets":{"client":{"chunkIds":["242","567","58","126","707","118","675","102","130","462"],"assets":["static/js/builder-runtime.
|
|
3
|
+
window._MODERNJS_ROUTE_MANIFEST = {"routeAssets":{"client":{"chunkIds":["242","567","58","126","707","118","675","102","130","462"],"assets":["static/js/builder-runtime.535e59b8.js","static/js/components.b9474b8d.js","static/css/components.41191267.css","static/js/lib-react.0049ff32.js","static/js/lib-polyfill.e9c6441c.js","static/js/lib-lodash.8ad2ccf0.js","static/js/lib-router.425f945d.js","static/css/675.861d0891.css","static/js/675.e56cac26.js","static/css/102.e744b37c.css","static/js/102.6fb7a80d.js","static/js/130.1d2ae66a.js","static/css/client.d5e84e85.css","static/js/client.b8813540.js"],"referenceCssAssets":["static/css/components.41191267.css","static/css/675.861d0891.css","static/css/102.e744b37c.css","static/css/client.d5e84e85.css"]},"client_config/(toolkit).(type)/page":{"chunkIds":["567","474","288"],"assets":["static/js/components.b9474b8d.js","static/css/components.41191267.css","static/js/async/474.e3ea960e.js","static/js/async/client_config/(toolkit).(type)/page.72fc872c.js"],"referenceCssAssets":["static/css/components.41191267.css"]},"client_config/layout":{"chunkIds":["518"],"assets":["static/js/async/client_config/layout.139190d7.js"],"referenceCssAssets":[]},"client_config/page":{"chunkIds":["943"],"assets":["static/js/async/client_config/page.8c2e24d9.js"],"referenceCssAssets":[]},"client_context/builder/page":{"chunkIds":["567","474","958"],"assets":["static/js/components.b9474b8d.js","static/css/components.41191267.css","static/js/async/474.e3ea960e.js","static/js/async/client_context/builder/page.c389fea4.js"],"referenceCssAssets":["static/css/components.41191267.css"]},"client_context/framework/page":{"chunkIds":["567","474","818"],"assets":["static/js/components.b9474b8d.js","static/css/components.41191267.css","static/js/async/474.e3ea960e.js","static/js/async/client_context/framework/page.86e4d0c6.js"],"referenceCssAssets":["static/css/components.41191267.css"]},"client_context/layout":{"chunkIds":["504"],"assets":["static/js/async/client_context/layout.6dd7785a.js"],"referenceCssAssets":[]},"client_context/page":{"chunkIds":["361"],"assets":["static/js/async/client_context/page.e4b72889.js"],"referenceCssAssets":[]},"client_doctor/page":{"chunkIds":["567","488"],"assets":["static/js/components.b9474b8d.js","static/css/components.41191267.css","static/css/async/client_doctor/page.f1527f16.css","static/js/async/client_doctor/page.345de4e6.js"],"referenceCssAssets":["static/css/components.41191267.css","static/css/async/client_doctor/page.f1527f16.css"]},"client_external/$":{"chunkIds":["158"],"assets":["static/js/async/client_external/$.9352fb0d.js"],"referenceCssAssets":[]},"client_external/layout":{"chunkIds":["744"],"assets":["static/js/async/client_external/layout.8666c196.js"],"referenceCssAssets":[]},"client_headers/editor/page":{"chunkIds":["567","730"],"assets":["static/js/components.b9474b8d.js","static/css/components.41191267.css","static/js/async/client_headers/editor/page.8220176d.js","static/css/async/client_headers/editor/page.47215f0e.css"],"referenceCssAssets":["static/css/components.41191267.css","static/css/async/client_headers/editor/page.47215f0e.css"]},"client_headers/layout":{"chunkIds":["925"],"assets":["static/js/async/client_headers/layout.51293428.js"],"referenceCssAssets":[]},"client_headers/page":{"chunkIds":["963"],"assets":["static/js/async/client_headers/page.9d807355.js"],"referenceCssAssets":[]},"client_headers/welcome/page":{"chunkIds":["860"],"assets":["static/js/async/client_headers/welcome/page.7fec5e79.js"],"referenceCssAssets":[]},"client_overview/layout":{"chunkIds":["988"],"assets":["static/js/async/client_overview/layout.e3c15e8c.js"],"referenceCssAssets":[]},"client_overview/page":{"chunkIds":["567","161"],"assets":["static/js/components.b9474b8d.js","static/css/components.41191267.css","static/css/async/client_overview/page.a2667b2a.css","static/js/async/client_overview/page.3d5aa6c0.js"],"referenceCssAssets":["static/css/components.41191267.css","static/css/async/client_overview/page.a2667b2a.css"]},"client_page":{"chunkIds":["127"],"assets":["static/js/async/client_page.b804e22c.js"],"referenceCssAssets":[]},"client_pages/layout":{"chunkIds":["631"],"assets":["static/js/async/client_pages/layout.6a0806e4.js"],"referenceCssAssets":[]},"client_pages/page":{"chunkIds":["567","718"],"assets":["static/js/components.b9474b8d.js","static/css/components.41191267.css","static/css/async/client_pages/page.1e9bbc9d.css","static/js/async/client_pages/page.7b871c21.js"],"referenceCssAssets":["static/css/components.41191267.css","static/css/async/client_pages/page.1e9bbc9d.css"]},"client_react/(tab)/layout":{"chunkIds":["299"],"assets":["static/js/async/client_react/(tab)/layout.bda655a6.js"],"referenceCssAssets":[]},"client_react/(tab)/page":{"chunkIds":["483"],"assets":["static/js/async/client_react/(tab)/page.5055e34d.js"],"referenceCssAssets":[]},"client_react/offscreen/page":{"chunkIds":["752"],"assets":["static/js/async/client_react/offscreen/page.2511e7a7.js"],"referenceCssAssets":[]},"client_react/page":{"chunkIds":["945"],"assets":["static/js/async/client_react/page.959bc63c.js"],"referenceCssAssets":[]},"client_storage/preset/(id)/page":{"chunkIds":["567","244"],"assets":["static/js/components.b9474b8d.js","static/css/components.41191267.css","static/js/async/client_storage/preset/(id)/page.83fe1387.js","static/css/async/client_storage/preset/(id)/page.79a266f3.css"],"referenceCssAssets":["static/css/components.41191267.css","static/css/async/client_storage/preset/(id)/page.79a266f3.css"]},"client_storage/preset/layout":{"chunkIds":["567","470"],"assets":["static/js/components.b9474b8d.js","static/css/components.41191267.css","static/js/async/client_storage/preset/layout.6950097c.js","static/css/async/client_storage/preset/layout.d4eb2799.css"],"referenceCssAssets":["static/css/components.41191267.css","static/css/async/client_storage/preset/layout.d4eb2799.css"]},"client_storage/preset/page":{"chunkIds":["567","146"],"assets":["static/js/components.b9474b8d.js","static/css/components.41191267.css","static/css/async/client_storage/preset/page.d4eb2799.css","static/js/async/client_storage/preset/page.0fc1178b.js"],"referenceCssAssets":["static/css/components.41191267.css","static/css/async/client_storage/preset/page.d4eb2799.css"]}}};
|
|
4
4
|
})();
|
|
5
|
-
</script><script defer="defer" src="/static/js/components.b9474b8d.js"></script><script defer="defer" src="/static/js/lib-react.0049ff32.js"></script><script defer="defer" src="/static/js/lib-polyfill.e9c6441c.js"></script><script defer="defer" src="/static/js/lib-lodash.8ad2ccf0.js"></script><script defer="defer" src="/static/js/lib-router.425f945d.js"></script><script defer="defer" src="/static/js/675.e56cac26.js"></script><script defer="defer" src="/static/js/102.
|
|
5
|
+
</script><script defer="defer" src="/static/js/components.b9474b8d.js"></script><script defer="defer" src="/static/js/lib-react.0049ff32.js"></script><script defer="defer" src="/static/js/lib-polyfill.e9c6441c.js"></script><script defer="defer" src="/static/js/lib-lodash.8ad2ccf0.js"></script><script defer="defer" src="/static/js/lib-router.425f945d.js"></script><script defer="defer" src="/static/js/675.e56cac26.js"></script><script defer="defer" src="/static/js/102.6fb7a80d.js"></script><script defer="defer" src="/static/js/130.1d2ae66a.js"></script><script defer="defer" src="/static/js/client.b8813540.js"></script><link href="/static/css/components.41191267.css" rel="stylesheet"><link href="/static/css/675.861d0891.css" rel="stylesheet"><link href="/static/css/102.e744b37c.css" rel="stylesheet"><link href="/static/css/client.d5e84e85.css" rel="stylesheet"></head><body><div id="root"><!--<?- html ?>--></div><!--<?- chunksMap.js ?>--><!--<?- SSRDataScript ?>--></body></html>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
<!doctype html><html><head><title></title><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no,viewport-fit=cover,minimum-scale=1,maximum-scale=1,user-scalable=no"><meta http-equiv="x-ua-compatible" content="ie=edge"><meta name="renderer" content="webkit"><meta name="layoutmode" content="standard"><meta name="imagemode" content="force"><meta name="wap-font-scale" content="no"><meta name="format-detection" content="telephone=no"><script defer="defer" src="/static/js/builder-runtime.
|
|
1
|
+
<!doctype html><html><head><title></title><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no,viewport-fit=cover,minimum-scale=1,maximum-scale=1,user-scalable=no"><meta http-equiv="x-ua-compatible" content="ie=edge"><meta name="renderer" content="webkit"><meta name="layoutmode" content="standard"><meta name="imagemode" content="force"><meta name="wap-font-scale" content="no"><meta name="format-detection" content="telephone=no"><script defer="defer" src="/static/js/builder-runtime.535e59b8.js"></script><script >
|
|
2
2
|
;(function(){
|
|
3
|
-
window._MODERNJS_ROUTE_MANIFEST = {"routeAssets":{"mount":{"chunkIds":["242","567","58","126","707","675","991","130","400"],"assets":["static/js/builder-runtime.
|
|
3
|
+
window._MODERNJS_ROUTE_MANIFEST = {"routeAssets":{"mount":{"chunkIds":["242","567","58","126","707","675","991","130","400"],"assets":["static/js/builder-runtime.535e59b8.js","static/js/components.b9474b8d.js","static/css/components.41191267.css","static/js/lib-react.0049ff32.js","static/js/lib-polyfill.e9c6441c.js","static/js/lib-lodash.8ad2ccf0.js","static/css/675.861d0891.css","static/js/675.e56cac26.js","static/js/991.e814d674.js","static/js/130.1d2ae66a.js","static/js/mount.3dc4393f.js","static/css/mount.8fe89093.css"],"referenceCssAssets":["static/css/components.41191267.css","static/css/675.861d0891.css","static/css/mount.8fe89093.css"]}}};
|
|
4
4
|
})();
|
|
5
5
|
</script><script defer="defer" src="/static/js/components.b9474b8d.js"></script><script defer="defer" src="/static/js/lib-react.0049ff32.js"></script><script defer="defer" src="/static/js/lib-polyfill.e9c6441c.js"></script><script defer="defer" src="/static/js/lib-lodash.8ad2ccf0.js"></script><script defer="defer" src="/static/js/675.e56cac26.js"></script><script defer="defer" src="/static/js/991.e814d674.js"></script><script defer="defer" src="/static/js/130.1d2ae66a.js"></script><script defer="defer" src="/static/js/mount.3dc4393f.js"></script><link href="/static/css/components.41191267.css" rel="stylesheet"><link href="/static/css/675.861d0891.css" rel="stylesheet"><link href="/static/css/mount.8fe89093.css" rel="stylesheet"></head><body><div id="root"><!--<?- html ?>--></div><!--<?- chunksMap.js ?>--><!--<?- SSRDataScript ?>--></body></html>
|