Socket
Socket
Sign inDemoInstall

nuxt-cms-engine

Package Overview
Dependencies
0
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.3.0 to 3.3.1

7

CHANGELOG.md

@@ -5,2 +5,9 @@ # Changelog

### [3.3.1](https://github.com/exoort/nuxt-cms-engine/compare/v3.3.0...v3.3.1) (2022-07-07)
### Bug Fixes
* fixed 404 error render ([58a1c37](https://github.com/exoort/nuxt-cms-engine/commit/58a1c37f9ce93acd93251ca2a7d232c3c8951884))
### [3.2.1](https://github.com/exoort/nuxt-cms-engine/compare/v3.2.0...v3.2.1) (2022-06-30)

@@ -7,0 +14,0 @@

22

lib/core/utils.js

@@ -23,14 +23,16 @@ function checkIsObject (value) {

for (const pageUrl in pages) {
const detectBy = pages[pageUrl].detectBy
const pageUrlSplitted = pageUrl.split('/')
let matchedCount = 0
if (pageUrl !== '/') {
const detectBy = pages[pageUrl].detectBy
const pageUrlSplitted = pageUrl.split('/')
let matchedCount = 0
splittedUrl.forEach((part) => {
if (detectBy.includes(part)) {
matchedCount += 1
splittedUrl.forEach((part) => {
if (detectBy.includes(part)) {
matchedCount += 1
}
})
if (matchedCount === detectBy.length && splittedUrl.length === pageUrlSplitted.length) {
searched = pages[pageUrl]
}
})
if (matchedCount === detectBy.length && splittedUrl.length === pageUrlSplitted.length) {
searched = pages[pageUrl]
}

@@ -37,0 +39,0 @@ }

{
"name": "nuxt-cms-engine",
"version": "3.3.0",
"version": "3.3.1",
"description": "CMS engine for nuxt framework",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc