@commercetools-frontend/mc-html-template 22.7.1 → 22.8.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/README.md
CHANGED
|
@@ -89,7 +89,7 @@ The return value of the `processHeaders` function contains the following ready-t
|
|
|
89
89
|
"Strict-Transport-Security": "max-age=31536000",
|
|
90
90
|
"X-XSS-Protection": "1; mode=block",
|
|
91
91
|
"X-Content-Type-Options": "nosniff",
|
|
92
|
-
"X-Frame-Options": "
|
|
92
|
+
"X-Frame-Options": "SAMEORIGIN",
|
|
93
93
|
"Content-Security-Policy": "...",
|
|
94
94
|
"Feature-Policies": "..."
|
|
95
95
|
}
|
|
@@ -62,8 +62,8 @@ const sanitizeAppEnvironment = env => serialize__default["default"](env, {
|
|
|
62
62
|
isJSON: true
|
|
63
63
|
});
|
|
64
64
|
|
|
65
|
-
function ownKeys(
|
|
66
|
-
function _objectSpread(
|
|
65
|
+
function ownKeys(e, r) { var t = _Object$keys__default["default"](e); if (_Object$getOwnPropertySymbols__default["default"]) { var o = _Object$getOwnPropertySymbols__default["default"](e); r && (o = _filterInstanceProperty__default["default"](o).call(o, function (r) { return _Object$getOwnPropertyDescriptor__default["default"](e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
66
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context9, _context10; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty__default["default"](_context9 = ownKeys(Object(t), !0)).call(_context9, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](e, _Object$getOwnPropertyDescriptors__default["default"](t)) : _forEachInstanceProperty__default["default"](_context10 = ownKeys(Object(t))).call(_context10, function (r) { _Object$defineProperty__default["default"](e, r, _Object$getOwnPropertyDescriptor__default["default"](t, r)); }); } return e; }
|
|
67
67
|
// https://babeljs.io/blog/2017/09/11/zero-config-with-babel-macros
|
|
68
68
|
const htmlScripts$1 = {
|
|
69
69
|
"loadingScreen": "window.onAppLoaded=function(){var e=document.querySelector(\"#app-loader\");e&&e.parentNode.removeChild(e)},setTimeout(function(){var e=document.querySelector(\".loading-screen\");e&&e.classList.remove(\"loading-screen--hidden\")},250),setTimeout(function(){var e=document.querySelector(\".long-loading-notice\");e&&e.classList.remove(\"long-loading-notice--hidden\")},2e3);",
|
|
@@ -62,8 +62,8 @@ const sanitizeAppEnvironment = env => serialize__default["default"](env, {
|
|
|
62
62
|
isJSON: true
|
|
63
63
|
});
|
|
64
64
|
|
|
65
|
-
function ownKeys(
|
|
66
|
-
function _objectSpread(
|
|
65
|
+
function ownKeys(e, r) { var t = _Object$keys__default["default"](e); if (_Object$getOwnPropertySymbols__default["default"]) { var o = _Object$getOwnPropertySymbols__default["default"](e); r && (o = _filterInstanceProperty__default["default"](o).call(o, function (r) { return _Object$getOwnPropertyDescriptor__default["default"](e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
66
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context9, _context10; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty__default["default"](_context9 = ownKeys(Object(t), !0)).call(_context9, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](e, _Object$getOwnPropertyDescriptors__default["default"](t)) : _forEachInstanceProperty__default["default"](_context10 = ownKeys(Object(t))).call(_context10, function (r) { _Object$defineProperty__default["default"](e, r, _Object$getOwnPropertyDescriptor__default["default"](t, r)); }); } return e; }
|
|
67
67
|
// https://babeljs.io/blog/2017/09/11/zero-config-with-babel-macros
|
|
68
68
|
const htmlScripts$1 = {
|
|
69
69
|
"loadingScreen": "window.onAppLoaded=function(){var e=document.querySelector(\"#app-loader\");e&&e.parentNode.removeChild(e)},setTimeout(function(){var e=document.querySelector(\".loading-screen\");e&&e.classList.remove(\"loading-screen--hidden\")},250),setTimeout(function(){var e=document.querySelector(\".long-loading-notice\");e&&e.classList.remove(\"long-loading-notice--hidden\")},2e3);",
|
|
@@ -38,8 +38,8 @@ const sanitizeAppEnvironment = env => serialize(env, {
|
|
|
38
38
|
isJSON: true
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
function ownKeys(
|
|
42
|
-
function _objectSpread(
|
|
41
|
+
function ownKeys(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
42
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context9, _context10; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context9 = ownKeys(Object(t), !0)).call(_context9, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context10 = ownKeys(Object(t))).call(_context10, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
43
43
|
// https://babeljs.io/blog/2017/09/11/zero-config-with-babel-macros
|
|
44
44
|
const htmlScripts$1 = {
|
|
45
45
|
"loadingScreen": "window.onAppLoaded=function(){var e=document.querySelector(\"#app-loader\");e&&e.parentNode.removeChild(e)},setTimeout(function(){var e=document.querySelector(\".loading-screen\");e&&e.classList.remove(\"loading-screen--hidden\")},250),setTimeout(function(){var e=document.querySelector(\".long-loading-notice\");e&&e.classList.remove(\"long-loading-notice--hidden\")},2e3);",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-frontend/mc-html-template",
|
|
3
|
-
"version": "22.
|
|
3
|
+
"version": "22.8.1",
|
|
4
4
|
"description": "Everything related to render the index.html for a MC application",
|
|
5
5
|
"bugs": "https://github.com/commercetools/merchant-center-application-kit/issues",
|
|
6
6
|
"repository": {
|
|
@@ -36,16 +36,16 @@
|
|
|
36
36
|
"README.md"
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@babel/runtime": "^7.
|
|
40
|
-
"@babel/runtime-corejs3": "^7.
|
|
41
|
-
"@commercetools-frontend/application-config": "22.
|
|
42
|
-
"@commercetools-frontend/constants": "22.
|
|
39
|
+
"@babel/runtime": "^7.22.15",
|
|
40
|
+
"@babel/runtime-corejs3": "^7.22.15",
|
|
41
|
+
"@commercetools-frontend/application-config": "22.8.1",
|
|
42
|
+
"@commercetools-frontend/constants": "22.8.1",
|
|
43
43
|
"serialize-javascript": "6.0.1",
|
|
44
44
|
"uglify-js": "3.17.4",
|
|
45
45
|
"uglifycss": "0.0.29"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@tsconfig/node16": "^16.
|
|
48
|
+
"@tsconfig/node16": "^16.1.1",
|
|
49
49
|
"@types/serialize-javascript": "^5.0.2",
|
|
50
50
|
"html-webpack-plugin": "5.5.1",
|
|
51
51
|
"webpack": "5.82.1"
|