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

apostrophe-snippets

Package Overview
Dependencies
Maintainers
8
Versions
202
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apostrophe-snippets - npm Package Compare versions

Comparing version 0.0.18 to 0.0.19

4

index.js

@@ -557,2 +557,6 @@ var async = require('async');

self.get(req, options, function(err, snippets) {
// Put the snippets in id order
if (req.query.ids) {
snippets = self._apos.orderById(req.query.ids, snippets);
}
return res.send(

@@ -559,0 +563,0 @@ JSON.stringify(_.map(snippets, function(snippet) {

2

package.json
{
"name": "apostrophe-snippets",
"version": "0.0.18",
"version": "0.0.19",
"description": "Reusable content snippets for the Apostrophe content management system. The blog and events modules are built on this foundation, which is also useful in and of itself.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -93,2 +93,3 @@ var _ = require('underscore');

if (item.by === 'id') {
snippets = self.apos.orderById(item.ids, snippets);
// Put them in the same order as the ids that were manually selected

@@ -95,0 +96,0 @@ // (you can't do this with mongodb sort, so we do it here)

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