@uniformdev/canvas-next-rsc 20.37.1-alpha.6 → 20.38.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/handler.js +10 -1
- package/dist/handler.mjs +10 -1
- package/dist/index.esm.js +10 -1
- package/dist/index.js +10 -1
- package/dist/index.mjs +10 -1
- package/package.json +11 -11
package/dist/handler.js
CHANGED
|
@@ -204,9 +204,18 @@ var env = {
|
|
|
204
204
|
};
|
|
205
205
|
|
|
206
206
|
// src/utils/tag.ts
|
|
207
|
+
var encodePathForTag = (path) => {
|
|
208
|
+
return path.split("/").map((segment) => {
|
|
209
|
+
if (/[^\x00-\x7F]/.test(segment)) {
|
|
210
|
+
return encodeURIComponent(segment);
|
|
211
|
+
}
|
|
212
|
+
return segment;
|
|
213
|
+
}).join("/");
|
|
214
|
+
};
|
|
207
215
|
var buildPathTag = (path) => {
|
|
208
216
|
const actualPath = path.startsWith("/") ? path : `/${path}`;
|
|
209
|
-
|
|
217
|
+
const encodedPath = encodePathForTag(actualPath);
|
|
218
|
+
return `path:${encodedPath}`.toLowerCase();
|
|
210
219
|
};
|
|
211
220
|
var buildCompositionTag = (compositionId) => {
|
|
212
221
|
return `composition:${compositionId}`.toLowerCase();
|
package/dist/handler.mjs
CHANGED
|
@@ -171,9 +171,18 @@ var env = {
|
|
|
171
171
|
};
|
|
172
172
|
|
|
173
173
|
// src/utils/tag.ts
|
|
174
|
+
var encodePathForTag = (path) => {
|
|
175
|
+
return path.split("/").map((segment) => {
|
|
176
|
+
if (/[^\x00-\x7F]/.test(segment)) {
|
|
177
|
+
return encodeURIComponent(segment);
|
|
178
|
+
}
|
|
179
|
+
return segment;
|
|
180
|
+
}).join("/");
|
|
181
|
+
};
|
|
174
182
|
var buildPathTag = (path) => {
|
|
175
183
|
const actualPath = path.startsWith("/") ? path : `/${path}`;
|
|
176
|
-
|
|
184
|
+
const encodedPath = encodePathForTag(actualPath);
|
|
185
|
+
return `path:${encodedPath}`.toLowerCase();
|
|
177
186
|
};
|
|
178
187
|
var buildCompositionTag = (compositionId) => {
|
|
179
188
|
return `composition:${compositionId}`.toLowerCase();
|
package/dist/index.esm.js
CHANGED
|
@@ -150,9 +150,18 @@ var env = {
|
|
|
150
150
|
};
|
|
151
151
|
|
|
152
152
|
// src/utils/tag.ts
|
|
153
|
+
var encodePathForTag = (path) => {
|
|
154
|
+
return path.split("/").map((segment) => {
|
|
155
|
+
if (/[^\x00-\x7F]/.test(segment)) {
|
|
156
|
+
return encodeURIComponent(segment);
|
|
157
|
+
}
|
|
158
|
+
return segment;
|
|
159
|
+
}).join("/");
|
|
160
|
+
};
|
|
153
161
|
var buildPathTag = (path) => {
|
|
154
162
|
const actualPath = path.startsWith("/") ? path : `/${path}`;
|
|
155
|
-
|
|
163
|
+
const encodedPath = encodePathForTag(actualPath);
|
|
164
|
+
return `path:${encodedPath}`.toLowerCase();
|
|
156
165
|
};
|
|
157
166
|
var buildCompositionTag = (compositionId) => {
|
|
158
167
|
return `composition:${compositionId}`.toLowerCase();
|
package/dist/index.js
CHANGED
|
@@ -203,9 +203,18 @@ var env = {
|
|
|
203
203
|
};
|
|
204
204
|
|
|
205
205
|
// src/utils/tag.ts
|
|
206
|
+
var encodePathForTag = (path) => {
|
|
207
|
+
return path.split("/").map((segment) => {
|
|
208
|
+
if (/[^\x00-\x7F]/.test(segment)) {
|
|
209
|
+
return encodeURIComponent(segment);
|
|
210
|
+
}
|
|
211
|
+
return segment;
|
|
212
|
+
}).join("/");
|
|
213
|
+
};
|
|
206
214
|
var buildPathTag = (path) => {
|
|
207
215
|
const actualPath = path.startsWith("/") ? path : `/${path}`;
|
|
208
|
-
|
|
216
|
+
const encodedPath = encodePathForTag(actualPath);
|
|
217
|
+
return `path:${encodedPath}`.toLowerCase();
|
|
209
218
|
};
|
|
210
219
|
var buildCompositionTag = (compositionId) => {
|
|
211
220
|
return `composition:${compositionId}`.toLowerCase();
|
package/dist/index.mjs
CHANGED
|
@@ -150,9 +150,18 @@ var env = {
|
|
|
150
150
|
};
|
|
151
151
|
|
|
152
152
|
// src/utils/tag.ts
|
|
153
|
+
var encodePathForTag = (path) => {
|
|
154
|
+
return path.split("/").map((segment) => {
|
|
155
|
+
if (/[^\x00-\x7F]/.test(segment)) {
|
|
156
|
+
return encodeURIComponent(segment);
|
|
157
|
+
}
|
|
158
|
+
return segment;
|
|
159
|
+
}).join("/");
|
|
160
|
+
};
|
|
153
161
|
var buildPathTag = (path) => {
|
|
154
162
|
const actualPath = path.startsWith("/") ? path : `/${path}`;
|
|
155
|
-
|
|
163
|
+
const encodedPath = encodePathForTag(actualPath);
|
|
164
|
+
return `path:${encodedPath}`.toLowerCase();
|
|
156
165
|
};
|
|
157
166
|
var buildCompositionTag = (compositionId) => {
|
|
158
167
|
return `composition:${compositionId}`.toLowerCase();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/canvas-next-rsc",
|
|
3
|
-
"version": "20.
|
|
3
|
+
"version": "20.38.1",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "tsup",
|
|
@@ -61,15 +61,15 @@
|
|
|
61
61
|
"react-dom": "18.3.1"
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@uniformdev/canvas": "20.
|
|
65
|
-
"@uniformdev/canvas-next-rsc-client": "^20.
|
|
66
|
-
"@uniformdev/canvas-next-rsc-shared": "^20.
|
|
67
|
-
"@uniformdev/canvas-react": "20.
|
|
68
|
-
"@uniformdev/context": "20.
|
|
69
|
-
"@uniformdev/project-map": "20.
|
|
70
|
-
"@uniformdev/redirect": "20.
|
|
71
|
-
"@uniformdev/richtext": "20.
|
|
72
|
-
"@uniformdev/webhooks": "20.
|
|
64
|
+
"@uniformdev/canvas": "20.38.1",
|
|
65
|
+
"@uniformdev/canvas-next-rsc-client": "^20.38.1",
|
|
66
|
+
"@uniformdev/canvas-next-rsc-shared": "^20.38.1",
|
|
67
|
+
"@uniformdev/canvas-react": "20.38.1",
|
|
68
|
+
"@uniformdev/context": "20.38.1",
|
|
69
|
+
"@uniformdev/project-map": "20.38.1",
|
|
70
|
+
"@uniformdev/redirect": "20.38.1",
|
|
71
|
+
"@uniformdev/richtext": "20.38.1",
|
|
72
|
+
"@uniformdev/webhooks": "20.38.1",
|
|
73
73
|
"@vercel/edge-config": "^0.4.0",
|
|
74
74
|
"encoding": "^0.1.13",
|
|
75
75
|
"server-only": "^0.0.1",
|
|
@@ -86,5 +86,5 @@
|
|
|
86
86
|
"publishConfig": {
|
|
87
87
|
"access": "public"
|
|
88
88
|
},
|
|
89
|
-
"gitHead": "
|
|
89
|
+
"gitHead": "18e2c4913922cdf2cad8c691495c1a03423cc043"
|
|
90
90
|
}
|