Comparing version 0.5.45 to 0.5.46
@@ -287,4 +287,2 @@ /** | ||
Fetcher._deprecatedServicesDefinitions = []; | ||
/** | ||
@@ -324,3 +322,2 @@ * DEPRECATED | ||
resource = service.name; | ||
Fetcher._deprecatedServicesDefinitions.push(resource); | ||
} else { | ||
@@ -406,19 +403,2 @@ throw new Error( | ||
if ( | ||
Fetcher._deprecatedServicesDefinitions.length && | ||
'production' !== process.env.NODE_ENV | ||
) { | ||
var deprecatedServices = Fetcher._deprecatedServicesDefinitions | ||
.sort() | ||
.join(', '); | ||
console.warn( | ||
'You have registered services using a deprecated property. ' + | ||
'Please, replace the property "name" by "resource" in the ' + | ||
'following services definitions:\n' + | ||
deprecatedServices + | ||
'.' | ||
); | ||
} | ||
return function (req, res, next) { | ||
@@ -425,0 +405,0 @@ var request; |
{ | ||
"name": "fetchr", | ||
"version": "0.5.45", | ||
"version": "0.5.46", | ||
"description": "Fetchr augments Flux applications by allowing Flux stores to be used on server and client to fetch data", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
0
81339
1577