@squiz/render-runtime-lib 1.72.0 → 1.74.0
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/lib/component-runner/ContentRuntimeService.d.ts +1 -1
- package/lib/index.js +27 -7
- package/lib/index.js.map +2 -2
- package/lib/migrations/20221220151200_add_required_to_manifests.js +3 -2
- package/lib/migrations/20221222151200_add_required_to_manifests.js +3 -2
- package/lib/migrations/20230111095522_update_environment_property.js +3 -2
- package/lib/public/docs.json +1 -1
- package/lib/worker/component-bootstrapper.js +15061 -11357
- package/lib/worker/component-bootstrapper.js.map +4 -4
- package/package.json +2 -2
|
@@ -6893,8 +6893,9 @@ var require_getValidationDataForMatrixUri = __commonJS({
|
|
|
6893
6893
|
identifier: validationData
|
|
6894
6894
|
};
|
|
6895
6895
|
}
|
|
6896
|
-
const
|
|
6897
|
-
|
|
6896
|
+
const realAssetIdRegex = /^\d+$/;
|
|
6897
|
+
const [realAssetId] = assetId.split(":");
|
|
6898
|
+
if (realAssetIdRegex.test(realAssetId) === false) {
|
|
6898
6899
|
const validationData = {
|
|
6899
6900
|
message: "Matrix Asset Id has invalid format, must match /^d+(?::.+)?$/",
|
|
6900
6901
|
data: {
|
|
@@ -6893,8 +6893,9 @@ var require_getValidationDataForMatrixUri = __commonJS({
|
|
|
6893
6893
|
identifier: validationData
|
|
6894
6894
|
};
|
|
6895
6895
|
}
|
|
6896
|
-
const
|
|
6897
|
-
|
|
6896
|
+
const realAssetIdRegex = /^\d+$/;
|
|
6897
|
+
const [realAssetId] = assetId.split(":");
|
|
6898
|
+
if (realAssetIdRegex.test(realAssetId) === false) {
|
|
6898
6899
|
const validationData = {
|
|
6899
6900
|
message: "Matrix Asset Id has invalid format, must match /^d+(?::.+)?$/",
|
|
6900
6901
|
data: {
|
|
@@ -6893,8 +6893,9 @@ var require_getValidationDataForMatrixUri = __commonJS({
|
|
|
6893
6893
|
identifier: validationData
|
|
6894
6894
|
};
|
|
6895
6895
|
}
|
|
6896
|
-
const
|
|
6897
|
-
|
|
6896
|
+
const realAssetIdRegex = /^\d+$/;
|
|
6897
|
+
const [realAssetId] = assetId.split(":");
|
|
6898
|
+
if (realAssetIdRegex.test(realAssetId) === false) {
|
|
6898
6899
|
const validationData = {
|
|
6899
6900
|
message: "Matrix Asset Id has invalid format, must match /^d+(?::.+)?$/",
|
|
6900
6901
|
data: {
|
package/lib/public/docs.json
CHANGED