Socket
Socket
Sign inDemoInstall

@helloample/netlify-plugin-redirects

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@helloample/netlify-plugin-redirects - npm Package Compare versions

Comparing version 1.1.4 to 1.2.0

.prettierrc

23

index.js
// index.js
const Parser = require("./lib/parser");
const Parser = require("./lib/parser")
module.exports = {
onPreBuild: async ({ utils, inputs }) => {
const parser = new Parser(
inputs.source,
inputs.destination,
inputs.defaultBranch,
utils
);
await parser.perform();
const stats = parser.stats();
console.log(stats.summary);
utils.status.show(stats);
},
};
onPostBuild: async ({ utils, inputs }) => {
const parser = new Parser(inputs.source, inputs.destination, inputs.defaultBranch, utils)
await parser.perform()
const stats = parser.stats()
console.log(stats.summary)
utils.status.show(stats)
}
}
{
"name": "@helloample/netlify-plugin-redirects",
"version": "1.1.4",
"version": "1.2.0",
"description": "Read a CSV file, parse the rows and write them to `_redirects` _before_ Netlify processes your build.",

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

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