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

@stoplight/common

Package Overview
Dependencies
Maintainers
4
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stoplight/common - npm Package Compare versions

Comparing version 0.0.11-15 to 0.0.11-16

7

lib/uri.js
"use strict";
// adapted from https://github.com/Microsoft/vscode-uri
Object.defineProperty(exports, "__esModule", { value: true });
const qs = require("qs");
// @ts-ignore

@@ -75,3 +74,3 @@ const path_1 = require("./path");

ret._path = decodeURIComponent(data.path);
ret._query = qs.parse(data.query);
ret._query = decodeURIComponent(data.query);
ret._fragment = decodeURIComponent(data.fragment);

@@ -219,3 +218,3 @@ URI._validate(ret);

if (query) {
parts.push('?', qs.stringify(query));
parts.push('?', encoder(query));
}

@@ -424,3 +423,3 @@ if (fragment) {

if (this._query) {
url += `?${qs.stringify(this._query)}`;
url += `?${this._query}`;
}

@@ -427,0 +426,0 @@ if (this._fragment) {

{
"name": "@stoplight/common",
"version": "0.0.11-15",
"version": "0.0.11-16",
"description": "Stoplight common type and interface definitions.",

@@ -24,6 +24,4 @@ "main": "lib/index.js",

"dependencies": {
"@types/qs": "6.5.x",
"qs": "6.5.x",
"tslib": "1.x.x"
}
}

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