@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.
@@ -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({ path, requestMethod: common_1.RequestMethod.ALL });
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({ path: `${path}/(.*)`, requestMethod: common_1.RequestMethod.ALL });
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,
@@ -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 = [
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@ngn-net/nestjs-telescope",
3
- "version": "0.3.17",
4
- "builtAt": "2026-06-14T14:36:24.262Z"
3
+ "version": "0.3.19",
4
+ "builtAt": "2026-06-17T09:27:27.335Z"
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ngn-net/nestjs-telescope",
3
- "version": "0.3.17",
3
+ "version": "0.3.19",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -99,4 +99,4 @@
99
99
  "typeorm": "^0.3",
100
100
  "typescript": "^5"
101
101
  }
102
- }
102
+ }
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 = [