Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
78 changes: 78 additions & 0 deletions module-site/.nuxtjp-security/deepmerge-4.3.1.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
diff --git a/index.js b/index.js
index 77968ae..ea40fd2 100644
--- a/index.js
+++ b/index.js
@@ -51,15 +51,20 @@ function propertyIsUnsafe(target, key) {
&& Object.propertyIsEnumerable.call(target, key)) // and also unsafe if they're nonenumerable.
}

+function keyIsForbidden(key) {
+ return key === '__proto__' || key === 'constructor' || key === 'prototype'
+}
+
function mergeObject(target, source, options) {
var destination = {}
if (options.isMergeableObject(target)) {
getKeys(target).forEach(function(key) {
+ if (keyIsForbidden(key)) return
destination[key] = cloneUnlessOtherwiseSpecified(target[key], options)
})
}
getKeys(source).forEach(function(key) {
- if (propertyIsUnsafe(target, key)) {
+ if (keyIsForbidden(key) || propertyIsUnsafe(target, key)) {
return
}

diff --git a/dist/cjs.js b/dist/cjs.js
index 7c36cbd..3f743f1 100644
--- a/dist/cjs.js
+++ b/dist/cjs.js
@@ -76,15 +76,20 @@ function propertyIsUnsafe(target, key) {
&& Object.propertyIsEnumerable.call(target, key)) // and also unsafe if they're nonenumerable.
}

+function keyIsForbidden(key) {
+ return key === '__proto__' || key === 'constructor' || key === 'prototype'
+}
+
function mergeObject(target, source, options) {
var destination = {};
if (options.isMergeableObject(target)) {
getKeys(target).forEach(function(key) {
+ if (keyIsForbidden(key)) return
destination[key] = cloneUnlessOtherwiseSpecified(target[key], options);
});
}
getKeys(source).forEach(function(key) {
- if (propertyIsUnsafe(target, key)) {
+ if (keyIsForbidden(key) || propertyIsUnsafe(target, key)) {
return
}

diff --git a/dist/umd.js b/dist/umd.js
index 4071e7c..6a6ab99 100644
--- a/dist/umd.js
+++ b/dist/umd.js
@@ -80,15 +80,20 @@
&& Object.propertyIsEnumerable.call(target, key)) // and also unsafe if they're nonenumerable.
}

+ function keyIsForbidden(key) {
+ return key === '__proto__' || key === 'constructor' || key === 'prototype'
+ }
+
function mergeObject(target, source, options) {
var destination = {};
if (options.isMergeableObject(target)) {
getKeys(target).forEach(function(key) {
+ if (keyIsForbidden(key)) return
destination[key] = cloneUnlessOtherwiseSpecified(target[key], options);
});
}
getKeys(source).forEach(function(key) {
- if (propertyIsUnsafe(target, key)) {
+ if (keyIsForbidden(key) || propertyIsUnsafe(target, key)) {
return
}

12 changes: 8 additions & 4 deletions module-site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
"dependencies": {
"@nuxtjp/contact-form": "0.1.0",
"@nuxtjp/localized-site": "0.5.1",
"nuxt": "4.6.2",
"nuxt": "4.6.4",
"vue": "3.5.44"
},
"devDependencies": {
"@nuxtjp/dependency-security": "0.2.0",
"@nuxtjp/dependency-security": "0.2.3",
"@types/node": "24.19.2",
"typescript": "5.9.3",
"vue-tsc": "3.3.13",
Expand All @@ -40,11 +40,15 @@
"undici@7": "7.30.1",
"undici@8": "8.12.2",
"serialize-javascript@7": "7.1.3",
"fast-uri@3": "3.1.9"
"fast-uri@3": "3.1.9",
"archiver@8.0.0>readdir-glob": "4.0.0",
"fast-uri@4": "4.2.3",
"@nuxt/schema@4.6.2": "4.6.4",
"node-forge@1.4.0": "1.4.4"
},
"patchedDependencies": {
"braces@3.0.3": ".nuxtjp-security/braces-3.0.3.patch",
"node-forge@1.4.0": ".nuxtjp-security/node-forge-1.4.0.patch"
"deepmerge@4.3.1": ".nuxtjp-security/deepmerge-4.3.1.patch"
}
}
}
Loading