@commercetools-frontend/constants 21.9.0 → 21.12.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.
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
// NOTE: This string will be replaced on build time with the package version.
|
|
6
|
-
var version = "21.
|
|
6
|
+
var version = "21.12.0";
|
|
7
7
|
|
|
8
8
|
// DOM elements
|
|
9
9
|
var PORTALS_CONTAINER_ID = 'portals-container'; // Links
|
|
@@ -77,7 +77,7 @@ var MC_API_PROXY_TARGETS = {
|
|
|
77
77
|
IMPORT: 'import'
|
|
78
78
|
};
|
|
79
79
|
var HTTP_SECURITY_HEADERS = {
|
|
80
|
-
'Strict-Transport-Security': 'max-age=31536000',
|
|
80
|
+
'Strict-Transport-Security': 'max-age=31536000; includeSubDomains; preload',
|
|
81
81
|
'X-XSS-Protection': '1; mode=block',
|
|
82
82
|
'X-Content-Type-Options': 'nosniff',
|
|
83
83
|
'X-Frame-Options': 'DENY',
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
// NOTE: This string will be replaced on build time with the package version.
|
|
6
|
-
var version = "21.
|
|
6
|
+
var version = "21.12.0";
|
|
7
7
|
|
|
8
8
|
// DOM elements
|
|
9
9
|
var PORTALS_CONTAINER_ID = 'portals-container'; // Links
|
|
@@ -77,7 +77,7 @@ var MC_API_PROXY_TARGETS = {
|
|
|
77
77
|
IMPORT: 'import'
|
|
78
78
|
};
|
|
79
79
|
var HTTP_SECURITY_HEADERS = {
|
|
80
|
-
'Strict-Transport-Security': 'max-age=31536000',
|
|
80
|
+
'Strict-Transport-Security': 'max-age=31536000; includeSubDomains; preload',
|
|
81
81
|
'X-XSS-Protection': '1; mode=block',
|
|
82
82
|
'X-Content-Type-Options': 'nosniff',
|
|
83
83
|
'X-Frame-Options': 'DENY',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// NOTE: This string will be replaced on build time with the package version.
|
|
2
|
-
var version = "21.
|
|
2
|
+
var version = "21.12.0";
|
|
3
3
|
|
|
4
4
|
// DOM elements
|
|
5
5
|
var PORTALS_CONTAINER_ID = 'portals-container'; // Links
|
|
@@ -73,7 +73,7 @@ var MC_API_PROXY_TARGETS = {
|
|
|
73
73
|
IMPORT: 'import'
|
|
74
74
|
};
|
|
75
75
|
var HTTP_SECURITY_HEADERS = {
|
|
76
|
-
'Strict-Transport-Security': 'max-age=31536000',
|
|
76
|
+
'Strict-Transport-Security': 'max-age=31536000; includeSubDomains; preload',
|
|
77
77
|
'X-XSS-Protection': '1; mode=block',
|
|
78
78
|
'X-Content-Type-Options': 'nosniff',
|
|
79
79
|
'X-Frame-Options': 'DENY',
|
|
@@ -163,7 +163,7 @@ export interface ApplicationWindow extends Window {
|
|
|
163
163
|
};
|
|
164
164
|
}
|
|
165
165
|
export declare const HTTP_SECURITY_HEADERS: {
|
|
166
|
-
readonly 'Strict-Transport-Security': "max-age=31536000";
|
|
166
|
+
readonly 'Strict-Transport-Security': "max-age=31536000; includeSubDomains; preload";
|
|
167
167
|
readonly 'X-XSS-Protection': "1; mode=block";
|
|
168
168
|
readonly 'X-Content-Type-Options': "nosniff";
|
|
169
169
|
readonly 'X-Frame-Options': "DENY";
|
package/package.json
CHANGED