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

@base-cms/utils

Package Overview
Dependencies
Maintainers
2
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@base-cms/utils - npm Package Compare versions

Comparing version 1.0.0-alpha.1 to 1.0.0-beta.1

4

package.json
{
"name": "@base-cms/utils",
"version": "1.0.0-alpha.1",
"version": "1.0.0-beta.1",
"description": "Utility functions for JavaScript projects.",

@@ -16,3 +16,3 @@ "main": "src/index.js",

},
"gitHead": "1bca843ac62d981ce0f7c8fc6fb9f6fc775f872e"
"gitHead": "e1cae56a1f67b7d003dd96934dce975b4a7e39cf"
}

@@ -8,2 +8,3 @@ const getDefaultContentTypes = require('./get-default-content-types');

contentTypes = [],
excludeContentTypes = [],
since,

@@ -15,5 +16,10 @@ } = {}) => {

const type = { $in: types };
if (isArray(excludeContentTypes) && excludeContentTypes.length) {
type.$nin = excludeContentTypes;
}
const query = {
status: 1,
type: { $in: types },
type,
published: { $lte: date },

@@ -20,0 +26,0 @@ $and: [

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