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

find-bad-url-filenames

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

find-bad-url-filenames - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

index.js

@@ -29,3 +29,3 @@ #!/usr/bin/env node

const badFiles = files.filter(file => (
/[+\/\\?<>():*|"!@#$%^&]/g.test(file.filename) ||
/[+\/\\?<>():*|"!#$%^=&]/g.test(file.filename) ||
/[\x00-\x1f\x80-\x9f]/g.test(file.filename) ||

@@ -32,0 +32,0 @@ /^\.+$/.test(file.filename) ||

{
"name": "find-bad-url-filenames",
"version": "1.0.1",
"version": "1.0.2",
"description": "A node executable to find any filenames recursively with characters that don't belong in URLs",

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