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

interfacer

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

interfacer - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

2

lib/helpers.js

@@ -49,3 +49,3 @@ 'use strict';

var composeUrl = exports.composeUrl = function composeUrl(endpoint, req) {
return '' + resolve(req.baseUrl, join(endpoint, req.identifier ? '' + req.identifier : null)) + encodeURI(paste(req.queryparser(req.query), '?', true));
return '' + resolve(req.baseUrl, join(endpoint, req.identifier ? '' + req.identifier : '')) + encodeURI(paste(req.queryparser(req.query), '?', true));
};
{
"name": "interfacer",
"version": "0.0.5",
"version": "0.0.6",
"description": "Module for working with REST API",

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

@@ -32,2 +32,2 @@ // @flow

export const composeUrl = (endpoint: string, req: Request): string =>
`${resolve(req.baseUrl, join(endpoint, req.identifier ? `${req.identifier}` : null))}${encodeURI(paste(req.queryparser(req.query), '?', true))}`;
`${resolve(req.baseUrl, join(endpoint, req.identifier ? `${req.identifier}` : ''))}${encodeURI(paste(req.queryparser(req.query), '?', true))}`;
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