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

apostrophe-redirects

Package Overview
Dependencies
Maintainers
13
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apostrophe-redirects - npm Package Compare versions

Comparing version 2.0.0 to 2.1.0

1

index.js

@@ -16,2 +16,3 @@ var _ = require('lodash');

seo: false, // Disables apostrophe-seo for redirects
sitemap: false, // Disables apostrophe-site-map for redirects
addFields: [

@@ -18,0 +19,0 @@ {

2

package.json
{
"name": "apostrophe-redirects",
"version": "2.0.0",
"version": "2.1.0",
"description": "Allows admins to create redirects within an Apostrophe site",

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

@@ -36,3 +36,3 @@ This module allows admins to add redirects from one URL to another within an [Apostrophe site](http://apostrophecms.org/).

// Other modules, then...
'apostrophe-redirects': {
'apostrophe-redirects': {
statusCode: 301

@@ -56,2 +56,4 @@ }

2.1.0 Disables `apostrophe-site-map` for redirects to prevent more superfluous UI tabs.
2.0.0: Implemented `statusCode` option and user-editable `statusCode` field allowing the user to choose a permanent or temporary redirect. For bc the default is still `302`. If the `statusCode` option is set to `301` instead, permanent redirects will be the default for *new* redirects. Existing redirects may be manually switched to `301` if desired.

@@ -58,0 +60,0 @@

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