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.39 to 0.0.40

4

index.js

@@ -292,3 +292,3 @@ var async = require('async');

self.afterSave(req, data, snippet, callback);
},
}
], callback);

@@ -1112,2 +1112,4 @@ } catch (e) {

req.extras.allTags = results.tags;
// Make the filter metadata (like tag lists) available to the template

@@ -1114,0 +1116,0 @@ req.extras.filters = _.omit(results, 'snippets');

{
"name": "apostrophe-snippets",
"version": "0.0.39",
"version": "0.0.40",
"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.",

@@ -31,2 +31,2 @@ "main": "index.js",

}
}
}

@@ -439,12 +439,5 @@ // NOTES FOR REUSE:

// TODO: this boolean field prep stuff is done often enough to belong
// in editor.js
var published = snippet.published;
if (published === undefined) {
published = 1;
} else {
// Simple POST friendly boolean values
published = published ? '1' : '0';
}
$el.find('[name=published]').val(published);
// Boolean fields must get an explicit '1' or '0' for
// the select element
$el.find('[name=published]').val(snippet.published ? '1' : '0');

@@ -451,0 +444,0 @@ // name=slug must always exist, at least as a hidden field, to support this

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