@domoinc/ryuu-proxy
Advanced tools
Comparing version 1.0.2 to 1.1.0
@@ -56,4 +56,8 @@ "use strict"; | ||
Transport.prototype.isValidRequest = function (url) { | ||
var pattern = /^\/(data|domo)\/(v\d)?.+/; | ||
return pattern.test(url); | ||
var domoPattern = /^\/domo\/(users|avatars)\/v\d/; | ||
var dataPattern = /^\/data\/v\d\/.+/; | ||
var dqlPattern = /^\/dql\/v\d\/.+/; | ||
return (domoPattern.test(url) | ||
|| dataPattern.test(url) | ||
|| dqlPattern.test(url)); | ||
}; | ||
@@ -60,0 +64,0 @@ Transport.prototype.build = function (req) { |
{ | ||
"name": "@domoinc/ryuu-proxy", | ||
"version": "1.0.2", | ||
"version": "1.1.0", | ||
"description": "a middleware that provides a proxy for local domo app development", | ||
@@ -5,0 +5,0 @@ "main": "./dist/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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
20620
270
0