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

node-base64-urlsafe

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-base64-urlsafe - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

Readme.md

6

index.js

@@ -10,3 +10,3 @@ /**

*
* @param {String} str ASCII representation
* @param {String} str utf8 representation
*/

@@ -16,4 +16,4 @@

return new Buffer(str).toString('base64')
.replace(/=+$/, '')
.replace(/\//, '_')
.replace(/=+$/g, '')
.replace(/\//g, '_')
.replace(/\+/g, '-');

@@ -20,0 +20,0 @@ };

{
"name": "node-base64-urlsafe",
"description": "Encode/Decode text to base64 for url use.",
"version": "0.1.0",
"version": "0.1.1",
"maintainers": [

@@ -6,0 +6,0 @@ "vanetix <matmcfarland@gmail.com>"

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