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

@scvo/router

Package Overview
Dependencies
Maintainers
2
Versions
118
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@scvo/router - npm Package Compare versions

Comparing version 1.1.21 to 1.1.22

7

build/router.js

@@ -176,7 +176,10 @@ "use strict";

if (typeof query[newParam] === 'undefined' || query[newParam] === null) {
query[newParam] = [value];
query[newParam] = value;
}
else if (!Array.isArray(query[newParam])) {
query[newParam] = [query[newParam], value];
query[newParam] = value.push(query[newParam]);
}
else {
query[newParam] = query[newParam].concat(value);
}
delete query[param];

@@ -183,0 +186,0 @@ }

{
"name": "@scvo/router",
"version": "1.1.21",
"version": "1.1.22",
"description": "A moderately oppinionated web application framework based around mapping routes to tasks and then rendering with handlebars",

@@ -5,0 +5,0 @@ "main": "./build/index",

@@ -162,5 +162,7 @@ // System imports

if (typeof query[newParam] === 'undefined' || query[newParam] === null) {
query[newParam] = [value];
query[newParam] = value;
} else if (!Array.isArray(query[newParam])) {
query[newParam] = [query[newParam], value];
query[newParam] = value.push(query[newParam]);
} else {
query[newParam] = query[newParam].concat(value);
}

@@ -167,0 +169,0 @@ delete query[param];

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