Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cccpurge

Package Overview
Dependencies
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cccpurge - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

10

index.js

@@ -58,8 +58,12 @@ var url = require('url')

function resolveRoot (route) {
if (!route || !opts.root) return route
if (!route || !opts.root) {
return route.replace(/\/$/, '')
}
if (route.url) {
route.url = url.resolve(opts.root, route.url)
route.url = url.resolve(opts.root, route.url).replace(/\/$/, '')
return route
}
return url.resolve(opts.root, route)
return url.resolve(opts.root, route).replace(/\/$/, '')
}

@@ -66,0 +70,0 @@

{
"name": "cccpurge",
"version": "1.2.0",
"version": "1.2.1",
"description": "Choo Cloudflare Cache Purge – purge all routes served by choo app",

@@ -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