clear-router 2.5.10 → 2.5.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{bindings-BQMqEHcR.mjs → bindings-B6x2HfzP.mjs} +0 -1
- package/dist/{bindings--vhubKAz.cjs → bindings-CDGLuAq4.cjs} +0 -1
- package/dist/core/index.cjs +2 -2
- package/dist/core/index.mjs +2 -2
- package/dist/decorators/index.cjs +1 -1
- package/dist/decorators/index.mjs +1 -1
- package/dist/decorators/setup.cjs +2 -2
- package/dist/decorators/setup.mjs +2 -2
- package/dist/express/index.cjs +3 -3
- package/dist/express/index.mjs +3 -3
- package/dist/fastify/index.cjs +3 -3
- package/dist/fastify/index.mjs +3 -3
- package/dist/h3/index.cjs +3 -3
- package/dist/h3/index.mjs +3 -3
- package/dist/hono/index.cjs +3 -3
- package/dist/hono/index.mjs +3 -3
- package/dist/index.cjs +0 -1
- package/dist/index.mjs +0 -1
- package/dist/koa/index.cjs +3 -3
- package/dist/koa/index.mjs +3 -3
- package/dist/{responses-DBIiiAmd.cjs → responses-CBP3RYjJ.cjs} +1 -1
- package/dist/{responses-BuQBx5wu.mjs → responses-DuZeRyGE.mjs} +1 -1
- package/dist/{router-C04c3Lom.mjs → router-CArh9OHb.mjs} +1 -1
- package/dist/{router-CdchSCSK.cjs → router-DtqXUlJq.cjs} +1 -1
- package/package.json +1 -1
|
@@ -161,7 +161,6 @@ var Container = class {
|
|
|
161
161
|
}
|
|
162
162
|
static staticPropsMatch(token, registered, tokenProps, registeredProps) {
|
|
163
163
|
if (tokenProps.length !== registeredProps.length) return false;
|
|
164
|
-
console.log(token, registered);
|
|
165
164
|
for (const prop of tokenProps) {
|
|
166
165
|
if (!registeredProps.includes(prop)) return false;
|
|
167
166
|
if (Reflect.get(token, prop) !== Reflect.get(registered, prop)) return false;
|
|
@@ -162,7 +162,6 @@ var Container = class {
|
|
|
162
162
|
}
|
|
163
163
|
static staticPropsMatch(token, registered, tokenProps, registeredProps) {
|
|
164
164
|
if (tokenProps.length !== registeredProps.length) return false;
|
|
165
|
-
console.log(token, registered);
|
|
166
165
|
for (const prop of tokenProps) {
|
|
167
166
|
if (!registeredProps.includes(prop)) return false;
|
|
168
167
|
if (Reflect.get(token, prop) !== Reflect.get(registered, prop)) return false;
|
package/dist/core/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_bindings = require('../bindings
|
|
3
|
-
const require_router = require('../router-
|
|
2
|
+
const require_bindings = require('../bindings-CDGLuAq4.cjs');
|
|
3
|
+
const require_router = require('../router-DtqXUlJq.cjs');
|
|
4
4
|
|
|
5
5
|
//#region src/core/plugins.ts
|
|
6
6
|
function definePlugin(plugin) {
|
package/dist/core/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as Request, s as Response } from "../bindings-
|
|
2
|
-
import { t as CoreRouter } from "../router-
|
|
1
|
+
import { c as Request, s as Response } from "../bindings-B6x2HfzP.mjs";
|
|
2
|
+
import { t as CoreRouter } from "../router-CArh9OHb.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/core/plugins.ts
|
|
5
5
|
function definePlugin(plugin) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_bindings = require('../bindings
|
|
2
|
+
const require_bindings = require('../bindings-CDGLuAq4.cjs');
|
|
3
3
|
|
|
4
4
|
exports.Bind = require_bindings.Bind;
|
|
5
5
|
exports.Container = require_bindings.Container;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_bindings = require('../bindings
|
|
3
|
-
const require_router = require('../router-
|
|
2
|
+
const require_bindings = require('../bindings-CDGLuAq4.cjs');
|
|
3
|
+
const require_router = require('../router-DtqXUlJq.cjs');
|
|
4
4
|
require('./index.cjs');
|
|
5
5
|
require("reflect-metadata");
|
|
6
6
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as Container, t as Bind } from "../bindings-
|
|
2
|
-
import { t as CoreRouter } from "../router-
|
|
1
|
+
import { n as Container, t as Bind } from "../bindings-B6x2HfzP.mjs";
|
|
2
|
+
import { t as CoreRouter } from "../router-CArh9OHb.mjs";
|
|
3
3
|
import "./index.mjs";
|
|
4
4
|
import "reflect-metadata";
|
|
5
5
|
|
package/dist/express/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
require('../bindings
|
|
3
|
-
const require_router = require('../router-
|
|
4
|
-
const require_responses = require('../responses-
|
|
2
|
+
require('../bindings-CDGLuAq4.cjs');
|
|
3
|
+
const require_router = require('../router-DtqXUlJq.cjs');
|
|
4
|
+
const require_responses = require('../responses-CBP3RYjJ.cjs');
|
|
5
5
|
|
|
6
6
|
//#region src/express/router.ts
|
|
7
7
|
/**
|
package/dist/express/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "../bindings-
|
|
2
|
-
import { t as CoreRouter } from "../router-
|
|
3
|
-
import { n as resolveResponseMeta, r as responseWasSent, t as isFetchResponse } from "../responses-
|
|
1
|
+
import "../bindings-B6x2HfzP.mjs";
|
|
2
|
+
import { t as CoreRouter } from "../router-CArh9OHb.mjs";
|
|
3
|
+
import { n as resolveResponseMeta, r as responseWasSent, t as isFetchResponse } from "../responses-DuZeRyGE.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/express/router.ts
|
|
6
6
|
/**
|
package/dist/fastify/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
require('../bindings
|
|
3
|
-
const require_router = require('../router-
|
|
4
|
-
const require_responses = require('../responses-
|
|
2
|
+
require('../bindings-CDGLuAq4.cjs');
|
|
3
|
+
const require_router = require('../router-DtqXUlJq.cjs');
|
|
4
|
+
const require_responses = require('../responses-CBP3RYjJ.cjs');
|
|
5
5
|
|
|
6
6
|
//#region src/fastify/router.ts
|
|
7
7
|
/**
|
package/dist/fastify/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "../bindings-
|
|
2
|
-
import { t as CoreRouter } from "../router-
|
|
3
|
-
import { n as resolveResponseMeta, r as responseWasSent, t as isFetchResponse } from "../responses-
|
|
1
|
+
import "../bindings-B6x2HfzP.mjs";
|
|
2
|
+
import { t as CoreRouter } from "../router-CArh9OHb.mjs";
|
|
3
|
+
import { n as resolveResponseMeta, r as responseWasSent, t as isFetchResponse } from "../responses-DuZeRyGE.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/fastify/router.ts
|
|
6
6
|
/**
|
package/dist/h3/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
require('../bindings
|
|
3
|
-
const require_router = require('../router-
|
|
4
|
-
const require_responses = require('../responses-
|
|
2
|
+
require('../bindings-CDGLuAq4.cjs');
|
|
3
|
+
const require_router = require('../router-DtqXUlJq.cjs');
|
|
4
|
+
const require_responses = require('../responses-CBP3RYjJ.cjs');
|
|
5
5
|
let h3 = require("h3");
|
|
6
6
|
|
|
7
7
|
//#region src/h3/router.ts
|
package/dist/h3/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "../bindings-
|
|
2
|
-
import { t as CoreRouter } from "../router-
|
|
3
|
-
import { n as resolveResponseMeta } from "../responses-
|
|
1
|
+
import "../bindings-B6x2HfzP.mjs";
|
|
2
|
+
import { t as CoreRouter } from "../router-CArh9OHb.mjs";
|
|
3
|
+
import { n as resolveResponseMeta } from "../responses-DuZeRyGE.mjs";
|
|
4
4
|
import { HTTPResponse, getQuery, getRouterParams, readBody } from "h3";
|
|
5
5
|
|
|
6
6
|
//#region src/h3/router.ts
|
package/dist/hono/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
require('../bindings
|
|
3
|
-
const require_router = require('../router-
|
|
4
|
-
const require_responses = require('../responses-
|
|
2
|
+
require('../bindings-CDGLuAq4.cjs');
|
|
3
|
+
const require_router = require('../router-DtqXUlJq.cjs');
|
|
4
|
+
const require_responses = require('../responses-CBP3RYjJ.cjs');
|
|
5
5
|
|
|
6
6
|
//#region src/hono/router.ts
|
|
7
7
|
/**
|
package/dist/hono/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "../bindings-
|
|
2
|
-
import { t as CoreRouter } from "../router-
|
|
3
|
-
import { n as resolveResponseMeta } from "../responses-
|
|
1
|
+
import "../bindings-B6x2HfzP.mjs";
|
|
2
|
+
import { t as CoreRouter } from "../router-CArh9OHb.mjs";
|
|
3
|
+
import { n as resolveResponseMeta } from "../responses-DuZeRyGE.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/hono/router.ts
|
|
6
6
|
/**
|
package/dist/index.cjs
CHANGED
|
@@ -208,7 +208,6 @@ var Container = class {
|
|
|
208
208
|
}
|
|
209
209
|
static staticPropsMatch(token, registered, tokenProps, registeredProps) {
|
|
210
210
|
if (tokenProps.length !== registeredProps.length) return false;
|
|
211
|
-
console.log(token, registered);
|
|
212
211
|
for (const prop of tokenProps) {
|
|
213
212
|
if (!registeredProps.includes(prop)) return false;
|
|
214
213
|
if (Reflect.get(token, prop) !== Reflect.get(registered, prop)) return false;
|
package/dist/index.mjs
CHANGED
|
@@ -207,7 +207,6 @@ var Container = class {
|
|
|
207
207
|
}
|
|
208
208
|
static staticPropsMatch(token, registered, tokenProps, registeredProps) {
|
|
209
209
|
if (tokenProps.length !== registeredProps.length) return false;
|
|
210
|
-
console.log(token, registered);
|
|
211
210
|
for (const prop of tokenProps) {
|
|
212
211
|
if (!registeredProps.includes(prop)) return false;
|
|
213
212
|
if (Reflect.get(token, prop) !== Reflect.get(registered, prop)) return false;
|
package/dist/koa/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
require('../bindings
|
|
3
|
-
const require_router = require('../router-
|
|
4
|
-
const require_responses = require('../responses-
|
|
2
|
+
require('../bindings-CDGLuAq4.cjs');
|
|
3
|
+
const require_router = require('../router-DtqXUlJq.cjs');
|
|
4
|
+
const require_responses = require('../responses-CBP3RYjJ.cjs');
|
|
5
5
|
|
|
6
6
|
//#region src/koa/router.ts
|
|
7
7
|
/**
|
package/dist/koa/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "../bindings-
|
|
2
|
-
import { t as CoreRouter } from "../router-
|
|
3
|
-
import { n as resolveResponseMeta, t as isFetchResponse } from "../responses-
|
|
1
|
+
import "../bindings-B6x2HfzP.mjs";
|
|
2
|
+
import { t as CoreRouter } from "../router-CArh9OHb.mjs";
|
|
3
|
+
import { n as resolveResponseMeta, t as isFetchResponse } from "../responses-DuZeRyGE.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/koa/router.ts
|
|
6
6
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as getStandardMetadata, c as Request, i as getDesignParamTypes, n as Container, o as isClass, r as getBindingMetadataFromTargets, s as Response } from "./bindings-
|
|
1
|
+
import { a as getStandardMetadata, c as Request, i as getDesignParamTypes, n as Container, o as isClass, r as getBindingMetadataFromTargets, s as Response } from "./bindings-B6x2HfzP.mjs";
|
|
2
2
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
3
3
|
|
|
4
4
|
//#region src/Route.ts
|
package/package.json
CHANGED