@adobe/alloy 2.26.0-beta.4 → 2.26.0-beta.6
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/libEs5/components/Identity/injectAddQueryStringIdentityToPayload.js +1 -1
- package/libEs5/constants/libraryVersion.js +1 -1
- package/libEs6/components/Identity/injectAddQueryStringIdentityToPayload.js +1 -1
- package/libEs6/constants/libraryVersion.js +1 -1
- package/package.json +2 -2
- package/scripts/alloyBuilder.js +2 -2
|
@@ -42,7 +42,7 @@ var _default = ({
|
|
|
42
42
|
const properties = queryStringValue.split("|").reduce((memo, keyValue) => {
|
|
43
43
|
const [key, value] = keyValue.split("=");
|
|
44
44
|
memo[key] = (0, _decodeUriComponentSafely.default)(value);
|
|
45
|
-
memo[key] = memo[key].replace(/[^a-zA-Z0-9
|
|
45
|
+
memo[key] = memo[key].replace(/[^a-zA-Z0-9@.]/g, ""); // sanitization
|
|
46
46
|
return memo;
|
|
47
47
|
}, {});
|
|
48
48
|
// We are using MCMID and MCORGID to be compatible with Visitor.
|
|
@@ -14,4 +14,4 @@ governing permissions and limitations under the License.
|
|
|
14
14
|
*/
|
|
15
15
|
// The __VERSION__ keyword will be replace at alloy build time with the package.json version.
|
|
16
16
|
// see babel-plugin-version
|
|
17
|
-
var _default = exports.default = "2.26.0-beta.
|
|
17
|
+
var _default = exports.default = "2.26.0-beta.6";
|
|
@@ -40,7 +40,7 @@ export default ({
|
|
|
40
40
|
const properties = queryStringValue.split("|").reduce((memo, keyValue) => {
|
|
41
41
|
const [key, value] = keyValue.split("=");
|
|
42
42
|
memo[key] = decodeUriComponentSafely(value);
|
|
43
|
-
memo[key] = memo[key].replace(/[^a-zA-Z0-9
|
|
43
|
+
memo[key] = memo[key].replace(/[^a-zA-Z0-9@.]/g, ""); // sanitization
|
|
44
44
|
return memo;
|
|
45
45
|
}, {});
|
|
46
46
|
// We are using MCMID and MCORGID to be compatible with Visitor.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/alloy",
|
|
3
|
-
"version": "2.26.0-beta.
|
|
3
|
+
"version": "2.26.0-beta.6",
|
|
4
4
|
"description": "Adobe Experience Platform Web SDK",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "libEs5/index.js",
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
"uuid": "^11.1.0"
|
|
88
88
|
},
|
|
89
89
|
"devDependencies": {
|
|
90
|
-
"@adobe/alloy": "^2.26.0-beta.
|
|
90
|
+
"@adobe/alloy": "^2.26.0-beta.5",
|
|
91
91
|
"@babel/cli": "^7.26.4",
|
|
92
92
|
"@babel/plugin-transform-runtime": "^7.26.9",
|
|
93
93
|
"@eslint/js": "^9.20.0",
|
package/scripts/alloyBuilder.js
CHANGED
|
@@ -71,7 +71,7 @@ const getComponents = (() => {
|
|
|
71
71
|
})();
|
|
72
72
|
|
|
73
73
|
const getOutputFilePath = (argv) => {
|
|
74
|
-
const outputPath =
|
|
74
|
+
const outputPath = path.join(
|
|
75
75
|
argv.outputDir,
|
|
76
76
|
`alloy${argv.minify ? ".min" : ""}.js`,
|
|
77
77
|
);
|
|
@@ -161,7 +161,7 @@ const getMakeBuildCommand = () => {
|
|
|
161
161
|
.default(getProjectRoot())
|
|
162
162
|
.argParser((value) => {
|
|
163
163
|
if (!path.isAbsolute(value)) {
|
|
164
|
-
value =
|
|
164
|
+
value = path.join(process.cwd(), value);
|
|
165
165
|
}
|
|
166
166
|
|
|
167
167
|
try {
|