@elysiajs/cors
Advanced tools
Comparing version 1.1.1 to 1.2.0-rc.0
@@ -117,3 +117,3 @@ import { Elysia } from 'elysia'; | ||
} | ||
export declare const cors: (config?: CORSConfig) => Elysia<"", false, { | ||
export declare const cors: (config?: CORSConfig) => Elysia<"", { | ||
decorator: {}; | ||
@@ -124,3 +124,3 @@ store: {}; | ||
}, { | ||
type: {}; | ||
typebox: import("@sinclair/typebox").TModule<{}>; | ||
error: {}; | ||
@@ -131,2 +131,3 @@ }, { | ||
macroFn: {}; | ||
parser: {}; | ||
}, {}, { | ||
@@ -133,0 +134,0 @@ derive: {}; |
@@ -21,8 +21,8 @@ "use strict"; | ||
// src/index.ts | ||
var src_exports = {}; | ||
__export(src_exports, { | ||
var index_exports = {}; | ||
__export(index_exports, { | ||
cors: () => cors, | ||
default: () => src_default | ||
default: () => index_default | ||
}); | ||
module.exports = __toCommonJS(src_exports); | ||
module.exports = __toCommonJS(index_exports); | ||
var import_elysia = require("elysia"); | ||
@@ -149,3 +149,3 @@ var isBun = typeof new Headers()?.toJSON === "function"; | ||
}; | ||
var src_default = cors; | ||
var index_default = cors; | ||
// Annotate the CommonJS export names for ESM import in node: | ||
@@ -152,0 +152,0 @@ 0 && (module.exports = { |
@@ -117,3 +117,3 @@ import { Elysia } from 'elysia'; | ||
} | ||
export declare const cors: (config?: CORSConfig) => Elysia<"", false, { | ||
export declare const cors: (config?: CORSConfig) => Elysia<"", { | ||
decorator: {}; | ||
@@ -124,3 +124,3 @@ store: {}; | ||
}, { | ||
type: {}; | ||
typebox: import("@sinclair/typebox").TModule<{}>; | ||
error: {}; | ||
@@ -131,2 +131,3 @@ }, { | ||
macroFn: {}; | ||
parser: {}; | ||
}, {}, { | ||
@@ -133,0 +134,0 @@ derive: {}; |
{ | ||
"name": "@elysiajs/cors", | ||
"version": "1.1.1", | ||
"version": "1.2.0-rc.0", | ||
"description": "Plugin for Elysia that for Cross Origin Requests (CORs)", | ||
@@ -39,6 +39,6 @@ "author": { | ||
"devDependencies": { | ||
"@types/bun": "^1.1.6", | ||
"@types/bun": "1.1.14", | ||
"@types/node": "^20.14.10", | ||
"elysia": ">= 1.1.0-rc.2", | ||
"eslint": "^8.26.0", | ||
"elysia": ">= 1.2.0-rc.0", | ||
"eslint": "9.6.0", | ||
"tsup": "^8.1.0", | ||
@@ -48,4 +48,4 @@ "typescript": "^5.5.2" | ||
"peerDependencies": { | ||
"elysia": ">= 1.1.0" | ||
"elysia": ">= 1.2.0-rc.0" | ||
} | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
24778
558
7
1