@cortec/polka
Advanced tools
Comparing version 1.2.0 to 1.3.0
@@ -16,2 +16,3 @@ "use strict"; | ||
const methods = [ | ||
'all', | ||
'get', | ||
@@ -159,5 +160,7 @@ 'head', | ||
handler() { | ||
return this.app?.handler; | ||
if (!this.app) | ||
throw new Error(`module ${this.name} is not loaded`); | ||
return this.app.handler; | ||
} | ||
} | ||
exports.default = Polka; |
{ | ||
"name": "@cortec/polka", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"description": "<description>", | ||
@@ -46,3 +46,3 @@ "main": "dist/index.js", | ||
}, | ||
"gitHead": "ddb80340bcaf8d4becb35f4a568e79c0fbc5d604" | ||
"gitHead": "068ea41a5413dbd7edf26f967507658b882aba3c" | ||
} |
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
AI-detected possible typosquat
Supply chain riskAI has identified this package as a potential typosquat of a more popular package. This suggests that the package may be intentionally mimicking another package's name, description, or other metadata.
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
47955
930
1