@uniformdev/project-map 20.72.3-alpha.2 → 20.72.3-alpha.23
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/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.esm.js +2 -5
- package/dist/index.js +2 -5
- package/dist/index.mjs +2 -5
- package/package.json +4 -4
package/dist/index.d.mts
CHANGED
|
@@ -1100,6 +1100,7 @@ declare class ProjectMapClient extends ApiClient {
|
|
|
1100
1100
|
private setFetchOptions;
|
|
1101
1101
|
private cleanProjectMapNode;
|
|
1102
1102
|
}
|
|
1103
|
+
/** @deprecated Pass `bypassCache: true` to {@link ProjectMapClient} instead. */
|
|
1103
1104
|
declare class UncachedProjectMapClient extends ProjectMapClient {
|
|
1104
1105
|
constructor(options: Omit<ClientOptions, 'bypassCache'>);
|
|
1105
1106
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -1100,6 +1100,7 @@ declare class ProjectMapClient extends ApiClient {
|
|
|
1100
1100
|
private setFetchOptions;
|
|
1101
1101
|
private cleanProjectMapNode;
|
|
1102
1102
|
}
|
|
1103
|
+
/** @deprecated Pass `bypassCache: true` to {@link ProjectMapClient} instead. */
|
|
1103
1104
|
declare class UncachedProjectMapClient extends ProjectMapClient {
|
|
1104
1105
|
constructor(options: Omit<ClientOptions, 'bypassCache'>);
|
|
1105
1106
|
}
|
package/dist/index.esm.js
CHANGED
|
@@ -346,18 +346,15 @@ var _Route = class _Route {
|
|
|
346
346
|
*/
|
|
347
347
|
static splitFragment(path) {
|
|
348
348
|
let fragmentIndex = -1;
|
|
349
|
-
|
|
350
|
-
parseVariableExpression(path, (token, type) => {
|
|
349
|
+
parseVariableExpression(path, (token, type, offset) => {
|
|
351
350
|
if (type === "variable") {
|
|
352
|
-
length += createVariableReference(token).length;
|
|
353
351
|
return;
|
|
354
352
|
}
|
|
355
353
|
const hashOffset = token.indexOf("#");
|
|
356
354
|
if (hashOffset === -1) {
|
|
357
|
-
length += token.length;
|
|
358
355
|
return;
|
|
359
356
|
}
|
|
360
|
-
fragmentIndex =
|
|
357
|
+
fragmentIndex = offset + hashOffset;
|
|
361
358
|
return false;
|
|
362
359
|
});
|
|
363
360
|
if (fragmentIndex === -1) {
|
package/dist/index.js
CHANGED
|
@@ -379,18 +379,15 @@ var _Route = class _Route {
|
|
|
379
379
|
*/
|
|
380
380
|
static splitFragment(path) {
|
|
381
381
|
let fragmentIndex = -1;
|
|
382
|
-
|
|
383
|
-
(0, import_canvas.parseVariableExpression)(path, (token, type) => {
|
|
382
|
+
(0, import_canvas.parseVariableExpression)(path, (token, type, offset) => {
|
|
384
383
|
if (type === "variable") {
|
|
385
|
-
length += (0, import_canvas.createVariableReference)(token).length;
|
|
386
384
|
return;
|
|
387
385
|
}
|
|
388
386
|
const hashOffset = token.indexOf("#");
|
|
389
387
|
if (hashOffset === -1) {
|
|
390
|
-
length += token.length;
|
|
391
388
|
return;
|
|
392
389
|
}
|
|
393
|
-
fragmentIndex =
|
|
390
|
+
fragmentIndex = offset + hashOffset;
|
|
394
391
|
return false;
|
|
395
392
|
});
|
|
396
393
|
if (fragmentIndex === -1) {
|
package/dist/index.mjs
CHANGED
|
@@ -346,18 +346,15 @@ var _Route = class _Route {
|
|
|
346
346
|
*/
|
|
347
347
|
static splitFragment(path) {
|
|
348
348
|
let fragmentIndex = -1;
|
|
349
|
-
|
|
350
|
-
parseVariableExpression(path, (token, type) => {
|
|
349
|
+
parseVariableExpression(path, (token, type, offset) => {
|
|
351
350
|
if (type === "variable") {
|
|
352
|
-
length += createVariableReference(token).length;
|
|
353
351
|
return;
|
|
354
352
|
}
|
|
355
353
|
const hashOffset = token.indexOf("#");
|
|
356
354
|
if (hashOffset === -1) {
|
|
357
|
-
length += token.length;
|
|
358
355
|
return;
|
|
359
356
|
}
|
|
360
|
-
fragmentIndex =
|
|
357
|
+
fragmentIndex = offset + hashOffset;
|
|
361
358
|
return false;
|
|
362
359
|
});
|
|
363
360
|
if (fragmentIndex === -1) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/project-map",
|
|
3
|
-
"version": "20.72.3-alpha.
|
|
3
|
+
"version": "20.72.3-alpha.23+cbe06f1e8a",
|
|
4
4
|
"description": "Uniform Project Map",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -32,11 +32,11 @@
|
|
|
32
32
|
"/dist"
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@uniformdev/canvas": "20.72.3-alpha.
|
|
36
|
-
"@uniformdev/context": "20.72.3-alpha.
|
|
35
|
+
"@uniformdev/canvas": "20.72.3-alpha.23+cbe06f1e8a",
|
|
36
|
+
"@uniformdev/context": "20.72.3-alpha.23+cbe06f1e8a"
|
|
37
37
|
},
|
|
38
38
|
"publishConfig": {
|
|
39
39
|
"access": "public"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "cbe06f1e8a5bb93b0e3cae6b1c8774f21c10506e"
|
|
42
42
|
}
|