Socket
Socket
Sign inDemoInstall

trooba-http-api

Package Overview
Dependencies
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

trooba-http-api - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

3

CHANGELOG.md
# ChangeLog
## v2.1.1
* Replaced underscore.template with lodash.template
## v2.1.0

@@ -4,0 +7,0 @@ * Switched from underscore to underscore.template

4

index.js
'use strict';
var Queryparam = require('./lib/queryparam');
var template = require('underscore.template');
var template = require('lodash.template');

@@ -130,3 +130,3 @@ var colonTemplateSettings = {

} else {
this.request.path = template(pathValue, pathParams, colonTemplateSettings);
this.request.path = template(pathValue, colonTemplateSettings)(pathParams);
}

@@ -133,0 +133,0 @@ return this;

{
"name": "trooba-http-api",
"version": "2.1.0",
"version": "2.1.1",
"description": "generic API for trooba http and ajax transports",

@@ -34,3 +34,3 @@ "main": "index.js",

"dependencies": {
"underscore.template": "^0.1.7"
"lodash.template": "^4.5.0"
},

@@ -37,0 +37,0 @@ "publishConfig": {

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