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

fast-redact

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fast-redact - npm Package Compare versions

Comparing version 1.1.6 to 1.1.7

2

lib/validator.js

@@ -26,3 +26,3 @@ 'use strict'

const expr = s.replace(/^\*/, '〇').replace(/\.\*/g, '.〇').replace(/\[\*\]/g, '[〇]')
if (/\n|;/.test(expr)) throw Error()
if (/\n|\r|;/.test(expr)) throw Error()
if (/\/\*/.test(expr)) throw Error()

@@ -29,0 +29,0 @@ runInContext(`

{
"name": "fast-redact",
"version": "1.1.6",
"version": "1.1.7",
"description": "very fast object redaction",

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

@@ -132,2 +132,5 @@ 'use strict'

}, err('a\n'))
throws((e) => {
fastRedact({paths: ['a\r']})
}, err('a\r'))
end()

@@ -134,0 +137,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