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

@fanoutio/grip

Package Overview
Dependencies
Maintainers
2
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fanoutio/grip - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

8

build-esm/utilities/grip.js

@@ -33,3 +33,9 @@ import { Buffer } from 'buffer';

if (key != null && isString(key) && key.startsWith('base64:')) {
key = Buffer.from(key.substring(7), 'base64');
key = key.substring(7);
// When the key contains a '+' character, if the URL is built carelessly
// and this segment of the URL contained '+' directly instead of properly
// being URL-encoded as %2B, then they would have turned into spaces at
// this point. Turn them back into pluses before decoding the key from base64.
key = key.replace(' ', '+');
key = Buffer.from(key, 'base64');
}

@@ -36,0 +42,0 @@ var qs = querystring.stringify(params);

@@ -59,3 +59,9 @@ "use strict";

if (key != null && string_1.isString(key) && key.startsWith('base64:')) {
key = buffer_1.Buffer.from(key.substring(7), 'base64');
key = key.substring(7);
// When the key contains a '+' character, if the URL is built carelessly
// and this segment of the URL contained '+' directly instead of properly
// being URL-encoded as %2B, then they would have turned into spaces at
// this point. Turn them back into pluses before decoding the key from base64.
key = key.replace(' ', '+');
key = buffer_1.Buffer.from(key, 'base64');
}

@@ -62,0 +68,0 @@ var qs = querystring.stringify(params);

@@ -8,3 +8,3 @@ # js-grip Changelog

## [Planned for 3.0.0]
## [3.0.0] - 2020-08-24
- Major update with great improvements in usability, with support for modern

@@ -16,2 +16,5 @@ language features such as `class` and `async`/`await`.

IDE completion.
- CommonJS and ESM builds are standard TypeScript builds, so that they can be imported in
Node and in modern bundlers that offer features such as tree shaking.
- Source code formatted with Prettier.

@@ -22,2 +25,4 @@ ### Added

### Changed
- Using `jsonwebtoken` library instead of `jwt-simple`. This is a more modern implementation that
does not depend on the `crypto` library from Node.
- `buildWebSocketControlMessage()` renamed to `createWebSocketControlMessage()`.

@@ -24,0 +29,0 @@

2

package.json
{
"name": "@fanoutio/grip",
"version": "3.0.0",
"version": "3.0.1",
"author": "Fanout, Inc. <info@fanout.io>",

@@ -5,0 +5,0 @@ "description": "GRIP Interface Library",

@@ -1,4 +0,4 @@

# GRIP Interface Library for JavaScript
# js-grip
A GRIP interface library for NodeJS. For use with HTTP reverse proxy servers
A GRIP interface library for JavaScript. For use with HTTP reverse proxy servers
that support the GRIP interface, such as Pushpin.

@@ -5,0 +5,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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