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

ql.io-uri-template

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ql.io-uri-template - npm Package Compare versions

Comparing version 0.4.2 to 0.4.3

12

lib/uri-template.js

@@ -194,3 +194,13 @@ module.exports = (function(){

// But is the token multivalued?
if(val.length === 1) {
if(val.length === 0) {
throw {
error: 'Token ' + ele.variable + ' not specified. Processed ' + str
}
}
else if(val.length === 1) {
if(!val[0] && ele.required) {
throw {
error: 'Token ' + ele.variable + ' not specified. Processed ' + str
}
}
str = _append(str, val, encode);

@@ -197,0 +207,0 @@ }

2

package.json

@@ -5,3 +5,3 @@ {

"name": "ql.io-uri-template",
"version": "0.4.2",
"version": "0.4.3",
"repository": {

@@ -8,0 +8,0 @@ "type": "git",

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