yakuza0 2.23.6 → 2.23.7-beta.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/nuxt/head.js CHANGED
@@ -79,7 +79,7 @@ exports.default = function (config) {
79
79
  }
80
80
 
81
81
  var iUrl = gv.src || gv.href;
82
- if ((_config2.default.security.isStupid || _config2.default.server.sri.enabled) && iUrl && _yakuza._.startsWith(iUrl, 'http')) {
82
+ if ((_config2.default.security.isStupid || _config2.default.server.sri.enabled) && _config2.default.server.csp.corsCheck && iUrl && _yakuza._.startsWith(iUrl, 'http')) {
83
83
  try {
84
84
  if (!gv.integrity) {
85
85
  var res = (0, _syncRequest2.default)('GET', iUrl, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yakuza0",
3
- "version": "2.23.6",
3
+ "version": "2.23.7-beta.1",
4
4
  "description": "yakuza0 with nuxt",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -345,6 +345,7 @@ var render = function () {
345
345
  strict: undefined,
346
346
  custom: false,
347
347
  decoration: undefined,
348
+ corsCheck: true,
348
349
  policies: {},
349
350
  directives: {}
350
351
  },