angular2-resource-and-ajax-interceptor
Advanced tools
Comparing version 2.0.1 to 2.0.2
@@ -229,2 +229,5 @@ System.register(['@angular/core', '@angular/http', './ajax-interceptor'], function(exports_1, context_1) { | ||
RequestCallbackHD.prototype.getParamNames = function (func) { | ||
if (!func) { | ||
return null; | ||
} | ||
var fnStr = func.toString().replace(this.STRIP_COMMENTS, ''); | ||
@@ -231,0 +234,0 @@ var result = fnStr.slice(fnStr.indexOf('(') + 1, fnStr.indexOf(')')).match(this.ARGUMENT_NAMES); |
@@ -201,2 +201,5 @@ import {Injectable, Inject} from '@angular/core'; | ||
getParamNames(func) { | ||
if(!func) { | ||
return null; | ||
} | ||
var fnStr = func.toString().replace(this.STRIP_COMMENTS, ''); | ||
@@ -203,0 +206,0 @@ var result = fnStr.slice(fnStr.indexOf('(') + 1, fnStr.indexOf(')')).match(this.ARGUMENT_NAMES); |
{ | ||
"name": "angular2-resource-and-ajax-interceptor", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "angular2-resource-and-ajax-interceptor is angular2 http service helper.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
65556
1005
0