New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@nuxtjs/content

Package Overview
Dependencies
Maintainers
7
Versions
115
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nuxtjs/content - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

8

lib/database/query-builder.js
const pick = (obj, keys = []) => {
return Object.fromEntries(Object.entries(obj).filter(([key]) => keys.includes(key)))
return Object.keys(obj)
.filter(key => keys.includes(key))
.reduce((newObj, key) => Object.assign(newObj, { [key]: obj[key] }), {})
}
const omit = (obj, keys = []) => {
return Object.fromEntries(Object.entries(obj).filter(([key]) => !keys.includes(key)))
return Object.keys(obj)
.filter(key => !keys.includes(key))
.reduce((newObj, key) => Object.assign(newObj, { [key]: obj[key] }), {})
}

@@ -8,0 +12,0 @@

{
"name": "@nuxtjs/content",
"version": "0.0.5",
"version": "0.0.6",
"description": "Write your content inside your Nuxt app",

@@ -12,5 +12,2 @@ "repository": "nuxt-company/content-module",

],
"engines": {
"node": ">=12"
},
"files": [

@@ -17,0 +14,0 @@ "lib"

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc