Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@hattip/core

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hattip/core - npm Package Compare versions

Comparing version 0.0.34 to 0.0.35-canary

13

index.d.ts

@@ -20,2 +20,11 @@ /**

/**
* Get the value of an environment variable. Check with the platform adapter
* documentation for the specifics of how environment variables are handled.
*
* @param variable The name of the variable to get.
*
* @returns The value of the variable or undefined if it doesn't exist.
*/
env(variable: string): string | undefined;
/**
* Signal that the request hasn't been handled and the returned response is

@@ -43,4 +52,4 @@ * a placeholder (usually a 404). In this case the adapter should handle the

*/
export type HattipHandler = (
context: AdapterRequestContext,
export type HattipHandler<P = unknown> = (
context: AdapterRequestContext<P>,
) => Response | Promise<Response>;

@@ -47,0 +56,0 @@

12

package.json
{
"name": "@hattip/core",
"version": "0.0.34",
"version": "0.0.35-canary",
"type": "module",

@@ -10,6 +10,6 @@ "files": [

"devDependencies": {
"@cyco130/eslint-config": "^3.0.2",
"eslint": "^8.36.0",
"publint": "^0.1.11",
"typescript": "^5.0.2"
"@cyco130/eslint-config": "^3.3.0",
"eslint": "^8.45.0",
"publint": "^0.1.16",
"typescript": "^5.1.6"
},

@@ -20,4 +20,4 @@ "scripts": {

"test:lint": "eslint . --max-warnings 0 --ignore-pattern dist",
"test:package": "publint"
"test:package": "publint --strict"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc