trooba-http-api
Advanced tools
Comparing version 2.1.0 to 2.1.1
# ChangeLog | ||
## v2.1.1 | ||
* Replaced underscore.template with lodash.template | ||
## v2.1.0 | ||
@@ -4,0 +7,0 @@ * Switched from underscore to underscore.template |
'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": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11718
7
+ Addedlodash.template@^4.5.0
+ Addedlodash._reinterpolate@3.0.0(transitive)
+ Addedlodash.template@4.5.0(transitive)
+ Addedlodash.templatesettings@4.2.0(transitive)
- Removedunderscore.template@^0.1.7
- Removedunderscore.template@0.1.7(transitive)