You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

@freshsqueezed/mammothgql

Package Overview
Dependencies
Maintainers
0
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@freshsqueezed/mammothgql - npm Package Compare versions

Comparing version

to
1.0.10

7

CHANGELOG.md

@@ -0,1 +1,8 @@

## [1.0.10](https://github.com/freshsqueezed/mammothgql/compare/v1.0.9...v1.0.10) (2024-12-18)
### Bug Fixes
* **uri:** remove extra trailing slash from path to work properly ([1113eae](https://github.com/freshsqueezed/mammothgql/commit/1113eaee7cd70236ea8621adc77da0c3254566bc))
## [1.0.9](https://github.com/freshsqueezed/mammothgql/compare/v1.0.8...v1.0.9) (2024-12-18)

@@ -2,0 +9,0 @@

4

lib/mammoth.js

@@ -103,5 +103,5 @@ "use strict";

const path = req.path;
const fullUrl = `${protocol}://${host}${path}/graphql`;
const fullUrl = `${protocol}://${host}${path}graphql`;
const wsProtocol = protocol === 'https' ? 'wss' : 'ws';
const wsUrl = `${wsProtocol}://${host}${path}/graphql`;
const wsUrl = `${wsProtocol}://${host}${path}graphql`;
res.send(`<!--

@@ -108,0 +108,0 @@ * Copyright (c) 2021 GraphQL Contributors

@@ -6,3 +6,3 @@ {

"types": "lib/index.d.ts",
"version": "1.0.9",
"version": "1.0.10",
"author": "Matt Gordon <matt@lemonade.tech>",

@@ -9,0 +9,0 @@ "license": "MIT",

@@ -169,5 +169,5 @@ import { NextFunction, Request, Response } from 'express';

const path = req.path;
const fullUrl = `${protocol}://${host}${path}/graphql`;
const fullUrl = `${protocol}://${host}${path}graphql`;
const wsProtocol = protocol === 'https' ? 'wss' : 'ws';
const wsUrl = `${wsProtocol}://${host}${path}/graphql`;
const wsUrl = `${wsProtocol}://${host}${path}graphql`;

@@ -174,0 +174,0 @@ res.send(`<!--

Sorry, the diff of this file is not supported yet