@ngn-net/nestjs-telescope 0.3.17 → 0.3.19
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/telescope.module.js +10 -2
- package/dist/ui/index.html +10 -2
- package/dist/ui/manifest.json +2 -2
- package/package.json +2 -2
- package/ui/index.html +10 -2
package/dist/telescope.module.js
CHANGED
|
@@ -63,10 +63,18 @@ let TelescopeModule = TelescopeModule_1 = class TelescopeModule {
|
|
|
63
63
|
const hasBaseExclude = exclude.some((r) => typeof r === 'string' ? r === path : r.path === path);
|
|
64
64
|
const hasWildcardExclude = exclude.some((r) => typeof r === 'string' ? r === `${path}/(.*)` : r.path === `${path}/(.*)`);
|
|
65
65
|
if (!hasBaseExclude) {
|
|
66
|
-
exclude.push({
|
|
66
|
+
exclude.push({
|
|
67
|
+
path,
|
|
68
|
+
requestMethod: common_1.RequestMethod.ALL,
|
|
69
|
+
pathRegex: new RegExp('^\\/' + path + '\\/?$'),
|
|
70
|
+
});
|
|
67
71
|
}
|
|
68
72
|
if (!hasWildcardExclude) {
|
|
69
|
-
exclude.push({
|
|
73
|
+
exclude.push({
|
|
74
|
+
path: `${path}/(.*)`,
|
|
75
|
+
requestMethod: common_1.RequestMethod.ALL,
|
|
76
|
+
pathRegex: new RegExp('^\\/' + path + '\\/(.*)'),
|
|
77
|
+
});
|
|
70
78
|
}
|
|
71
79
|
return {
|
|
72
80
|
...originalOptions,
|
package/dist/ui/index.html
CHANGED
|
@@ -848,9 +848,17 @@
|
|
|
848
848
|
<!-- UMD React dependencies loaded securely -->
|
|
849
849
|
<script src="https://unpkg.com/react@18/umd/react.production.min.js" crossorigin></script>
|
|
850
850
|
<script src="https://unpkg.com/react-dom@18/umd/react-dom.production.min.js" crossorigin></script>
|
|
851
|
-
<script src="https://unpkg.com/@babel/standalone/babel.min.js"></script>
|
|
851
|
+
<script src="https://unpkg.com/@babel/standalone@7.24.7/babel.min.js"></script>
|
|
852
|
+
<script>
|
|
853
|
+
Babel.registerPreset('custom-preset', {
|
|
854
|
+
presets: [
|
|
855
|
+
[Babel.availablePresets.env, { modules: false }],
|
|
856
|
+
[Babel.availablePresets.react, { runtime: 'classic' }]
|
|
857
|
+
]
|
|
858
|
+
});
|
|
859
|
+
</script>
|
|
852
860
|
|
|
853
|
-
<script type="text/babel">
|
|
861
|
+
<script type="text/babel" data-presets="custom-preset">
|
|
854
862
|
const { useState, useEffect, useRef } = React;
|
|
855
863
|
|
|
856
864
|
const NAVIGATION_TABS = [
|
package/dist/ui/manifest.json
CHANGED
package/package.json
CHANGED
package/ui/index.html
CHANGED
|
@@ -848,9 +848,17 @@
|
|
|
848
848
|
<!-- UMD React dependencies loaded securely -->
|
|
849
849
|
<script src="https://unpkg.com/react@18/umd/react.production.min.js" crossorigin></script>
|
|
850
850
|
<script src="https://unpkg.com/react-dom@18/umd/react-dom.production.min.js" crossorigin></script>
|
|
851
|
-
<script src="https://unpkg.com/@babel/standalone/babel.min.js"></script>
|
|
851
|
+
<script src="https://unpkg.com/@babel/standalone@7.24.7/babel.min.js"></script>
|
|
852
|
+
<script>
|
|
853
|
+
Babel.registerPreset('custom-preset', {
|
|
854
|
+
presets: [
|
|
855
|
+
[Babel.availablePresets.env, { modules: false }],
|
|
856
|
+
[Babel.availablePresets.react, { runtime: 'classic' }]
|
|
857
|
+
]
|
|
858
|
+
});
|
|
859
|
+
</script>
|
|
852
860
|
|
|
853
|
-
<script type="text/babel">
|
|
861
|
+
<script type="text/babel" data-presets="custom-preset">
|
|
854
862
|
const { useState, useEffect, useRef } = React;
|
|
855
863
|
|
|
856
864
|
const NAVIGATION_TABS = [
|