@duplojs/http 0.6.1 → 0.6.2
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/core/clean/constraint.cjs +24 -0
- package/dist/core/clean/constraint.d.ts +8 -0
- package/dist/core/clean/constraint.mjs +22 -0
- package/dist/core/clean/constraintsSet.cjs +27 -0
- package/dist/core/clean/constraintsSet.d.ts +8 -0
- package/dist/core/clean/constraintsSet.mjs +25 -0
- package/dist/core/clean/entity.cjs +33 -0
- package/dist/core/clean/entity.d.ts +20 -0
- package/dist/core/clean/entity.mjs +31 -0
- package/dist/core/clean/index.cjs +8 -0
- package/dist/core/clean/index.d.ts +5 -0
- package/dist/core/clean/index.mjs +5 -0
- package/dist/core/clean/newType.cjs +15 -0
- package/dist/core/clean/newType.d.ts +8 -0
- package/dist/core/clean/newType.mjs +13 -0
- package/dist/core/clean/primitive.cjs +12 -0
- package/dist/core/clean/primitive.d.ts +8 -0
- package/dist/core/clean/primitive.mjs +10 -0
- package/dist/core/index.cjs +1 -0
- package/dist/core/index.d.ts +1 -0
- package/dist/core/index.mjs +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var utils = require('@duplojs/utils');
|
|
4
|
+
var clean = require('@duplojs/utils/clean');
|
|
5
|
+
|
|
6
|
+
clean.createConstraint.overrideHandler.setMethod("toExtractParser", (self) => {
|
|
7
|
+
const dataParserWithCheckers = self
|
|
8
|
+
.primitiveHandler
|
|
9
|
+
.dataParser
|
|
10
|
+
.addChecker(...self.checkers);
|
|
11
|
+
const valueContainer = clean.constrainedTypeKind.setTo({}, { [self.name]: null });
|
|
12
|
+
const dataParser = utils.DPE.transform(dataParserWithCheckers, (input) => ({
|
|
13
|
+
...valueContainer,
|
|
14
|
+
[utils.keyWrappedValue]: input,
|
|
15
|
+
}));
|
|
16
|
+
return dataParser;
|
|
17
|
+
});
|
|
18
|
+
clean.createConstraint.overrideHandler.setMethod("toEndpointSchema", (self) => {
|
|
19
|
+
const dataParser = self
|
|
20
|
+
.primitiveHandler
|
|
21
|
+
.dataParser
|
|
22
|
+
.addChecker(...self.checkers);
|
|
23
|
+
return utils.DPE.lazy(() => dataParser);
|
|
24
|
+
});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type DP, DPE } from "@duplojs/utils";
|
|
2
|
+
import { type ConstrainedType, type EligiblePrimitive } from "@duplojs/utils/clean";
|
|
3
|
+
declare module "@duplojs/utils/clean" {
|
|
4
|
+
interface ConstraintHandler<GenericName extends string = string, GenericPrimitiveValue extends EligiblePrimitive = EligiblePrimitive, GenericCheckers extends readonly DP.DataParserChecker[] = readonly DP.DataParserChecker[]> {
|
|
5
|
+
toExtractParser(): DPE.ContractExtended<ConstrainedType<GenericName, GenericPrimitiveValue>, unknown>;
|
|
6
|
+
toEndpointSchema(): DPE.ContractExtended<GenericPrimitiveValue>;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { DPE, keyWrappedValue } from '@duplojs/utils';
|
|
2
|
+
import { createConstraint, constrainedTypeKind } from '@duplojs/utils/clean';
|
|
3
|
+
|
|
4
|
+
createConstraint.overrideHandler.setMethod("toExtractParser", (self) => {
|
|
5
|
+
const dataParserWithCheckers = self
|
|
6
|
+
.primitiveHandler
|
|
7
|
+
.dataParser
|
|
8
|
+
.addChecker(...self.checkers);
|
|
9
|
+
const valueContainer = constrainedTypeKind.setTo({}, { [self.name]: null });
|
|
10
|
+
const dataParser = DPE.transform(dataParserWithCheckers, (input) => ({
|
|
11
|
+
...valueContainer,
|
|
12
|
+
[keyWrappedValue]: input,
|
|
13
|
+
}));
|
|
14
|
+
return dataParser;
|
|
15
|
+
});
|
|
16
|
+
createConstraint.overrideHandler.setMethod("toEndpointSchema", (self) => {
|
|
17
|
+
const dataParser = self
|
|
18
|
+
.primitiveHandler
|
|
19
|
+
.dataParser
|
|
20
|
+
.addChecker(...self.checkers);
|
|
21
|
+
return DPE.lazy(() => dataParser);
|
|
22
|
+
});
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var utils = require('@duplojs/utils');
|
|
4
|
+
var clean = require('@duplojs/utils/clean');
|
|
5
|
+
|
|
6
|
+
clean.createConstraintsSet.overrideHandler.setMethod("toExtractParser", (self) => {
|
|
7
|
+
const checkers = utils.A.flatMap(self.constraints, ({ checkers }) => checkers);
|
|
8
|
+
const dataParserWithCheckers = self
|
|
9
|
+
.primitiveHandler
|
|
10
|
+
.dataParser
|
|
11
|
+
.addChecker(...checkers);
|
|
12
|
+
const constraintsKindValue = utils.pipe(self.constraints, utils.A.map(({ name }) => utils.O.entry(name, null)), utils.O.fromEntries);
|
|
13
|
+
const valueContainer = clean.constrainedTypeKind.setTo({}, constraintsKindValue);
|
|
14
|
+
const dataParser = utils.DPE.transform(dataParserWithCheckers, (input) => ({
|
|
15
|
+
...valueContainer,
|
|
16
|
+
[utils.keyWrappedValue]: input,
|
|
17
|
+
}));
|
|
18
|
+
return dataParser;
|
|
19
|
+
});
|
|
20
|
+
clean.createConstraintsSet.overrideHandler.setMethod("toEndpointSchema", (self) => {
|
|
21
|
+
const checkers = utils.A.flatMap(self.constraints, ({ checkers }) => checkers);
|
|
22
|
+
const dataParserWithCheckers = self
|
|
23
|
+
.primitiveHandler
|
|
24
|
+
.dataParser
|
|
25
|
+
.addChecker(...checkers);
|
|
26
|
+
return utils.DPE.lazy(() => dataParserWithCheckers);
|
|
27
|
+
});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DPE, type UnionToIntersection } from "@duplojs/utils";
|
|
2
|
+
import { type EligiblePrimitive, type GetConstraint, type Primitive } from "@duplojs/utils/clean";
|
|
3
|
+
declare module "@duplojs/utils/clean" {
|
|
4
|
+
interface ConstraintsSetHandler<GenericPrimitiveValue extends EligiblePrimitive = EligiblePrimitive, GenericConstraintsHandler extends readonly ConstraintHandler[] = readonly []> {
|
|
5
|
+
toExtractParser(): DPE.ContractExtended<(Primitive<GenericPrimitiveValue> & UnionToIntersection<GenericConstraintsHandler[number] extends infer InferredConstraint ? InferredConstraint extends ConstraintHandler ? GetConstraint<InferredConstraint> : never : never>), unknown>;
|
|
6
|
+
toEndpointSchema(): DPE.ContractExtended<GenericPrimitiveValue>;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { A, pipe, O, DPE, keyWrappedValue } from '@duplojs/utils';
|
|
2
|
+
import { createConstraintsSet, constrainedTypeKind } from '@duplojs/utils/clean';
|
|
3
|
+
|
|
4
|
+
createConstraintsSet.overrideHandler.setMethod("toExtractParser", (self) => {
|
|
5
|
+
const checkers = A.flatMap(self.constraints, ({ checkers }) => checkers);
|
|
6
|
+
const dataParserWithCheckers = self
|
|
7
|
+
.primitiveHandler
|
|
8
|
+
.dataParser
|
|
9
|
+
.addChecker(...checkers);
|
|
10
|
+
const constraintsKindValue = pipe(self.constraints, A.map(({ name }) => O.entry(name, null)), O.fromEntries);
|
|
11
|
+
const valueContainer = constrainedTypeKind.setTo({}, constraintsKindValue);
|
|
12
|
+
const dataParser = DPE.transform(dataParserWithCheckers, (input) => ({
|
|
13
|
+
...valueContainer,
|
|
14
|
+
[keyWrappedValue]: input,
|
|
15
|
+
}));
|
|
16
|
+
return dataParser;
|
|
17
|
+
});
|
|
18
|
+
createConstraintsSet.overrideHandler.setMethod("toEndpointSchema", (self) => {
|
|
19
|
+
const checkers = A.flatMap(self.constraints, ({ checkers }) => checkers);
|
|
20
|
+
const dataParserWithCheckers = self
|
|
21
|
+
.primitiveHandler
|
|
22
|
+
.dataParser
|
|
23
|
+
.addChecker(...checkers);
|
|
24
|
+
return DPE.lazy(() => dataParserWithCheckers);
|
|
25
|
+
});
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var utils = require('@duplojs/utils');
|
|
4
|
+
var clean = require('@duplojs/utils/clean');
|
|
5
|
+
|
|
6
|
+
function propertiesDefinitionToSchema(definition, method) {
|
|
7
|
+
return utils.pipe(definition, utils.P.when(clean.newTypeHandlerKind.has, (value) => value[method]()), utils.P.when(utils.isType("array"), utils.innerPipe(utils.A.map((element) => element[method]()), (options) => {
|
|
8
|
+
utils.asserts(options, utils.A.minElements(1));
|
|
9
|
+
return utils.DP.union(options);
|
|
10
|
+
})), utils.P.otherwise((definition) => utils.pipe(definition.type, (subDefinition) => propertiesDefinitionToSchema(subDefinition, method), (dataParser) => {
|
|
11
|
+
if (definition.inArray) {
|
|
12
|
+
return utils.pipe(dataParser, utils.DP.array, (dataParser) => typeof definition.inArray === "object"
|
|
13
|
+
&& typeof definition.inArray.min === "number"
|
|
14
|
+
? dataParser.addChecker(utils.DP.checkerArrayMin(definition.inArray.min))
|
|
15
|
+
: dataParser, (dataParser) => typeof definition.inArray === "object"
|
|
16
|
+
&& typeof definition.inArray.max === "number"
|
|
17
|
+
? dataParser.addChecker(utils.DP.checkerArrayMax(definition.inArray.max))
|
|
18
|
+
: dataParser);
|
|
19
|
+
}
|
|
20
|
+
return dataParser;
|
|
21
|
+
}, (dataParser) => definition.nullable === true
|
|
22
|
+
? utils.DP.nullable(dataParser)
|
|
23
|
+
: dataParser)));
|
|
24
|
+
}
|
|
25
|
+
clean.createEntity.overrideHandler.setMethod("toExtractParser", (self, keys) => utils.pipe(self.propertiesDefinition, utils.O.entries, utils.A.filter(([key]) => keys === undefined || utils.A.includes(keys, key)), utils.A.map(([key, value]) => utils.O.entry(key, propertiesDefinitionToSchema(value, "toExtractParser"))), utils.O.fromEntries, utils.DPE.object));
|
|
26
|
+
clean.createEntity.overrideHandler.setMethod("toEndpointSchema", (self, keys, params) => utils.pipe(self.propertiesDefinition, utils.O.entries, utils.A.filter(([key]) => keys === undefined || utils.A.includes(keys, key)), utils.A.map(([key, value]) => utils.O.entry(key, propertiesDefinitionToSchema(value, "toEndpointSchema"))), utils.O.fromEntries, (shape) => typeof params?.addEntityName !== "undefined"
|
|
27
|
+
? {
|
|
28
|
+
...shape,
|
|
29
|
+
_entityName: typeof params.addEntityName === "string"
|
|
30
|
+
? utils.DP.literal(`${self.name}/${params.addEntityName}`)
|
|
31
|
+
: utils.DP.literal(self.name),
|
|
32
|
+
}
|
|
33
|
+
: shape, utils.DPE.object));
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { DP, DPE, type IsEqual, type SimplifyTopLevel, type IsExtends } from "@duplojs/utils";
|
|
2
|
+
import { type EntityRawProperties, type EntityProperties, type EntityPropertiesDefinition } from "@duplojs/utils/clean";
|
|
3
|
+
interface ToEndpointSchemaParams {
|
|
4
|
+
addEntityName?: boolean | string;
|
|
5
|
+
}
|
|
6
|
+
declare module "@duplojs/utils/clean" {
|
|
7
|
+
interface EntityHandler<GenericName extends string = string, GenericPropertiesDefinition extends EntityPropertiesDefinition = EntityPropertiesDefinition> {
|
|
8
|
+
toExtractParser<GenericEntityProperties extends EntityProperties<GenericPropertiesDefinition>, const GenericKey extends keyof GenericEntityProperties = keyof GenericEntityProperties>(keys?: GenericKey[]): ReturnType<typeof DPE.object<{
|
|
9
|
+
[Prop in GenericKey]: DP.Contract<GenericEntityProperties[Prop], unknown>;
|
|
10
|
+
}>>;
|
|
11
|
+
toEndpointSchema<GenericEntityRawProperties extends EntityRawProperties<GenericPropertiesDefinition>, const GenericKey extends keyof GenericEntityRawProperties = keyof GenericEntityRawProperties, const GenericParams extends ToEndpointSchemaParams = {}>(keys?: GenericKey[], params?: GenericParams | ToEndpointSchemaParams): ReturnType<typeof DPE.object<SimplifyTopLevel<{
|
|
12
|
+
[Prop in GenericKey]: DP.Contract<GenericEntityRawProperties[Prop], unknown>;
|
|
13
|
+
} & (IsEqual<GenericParams["addEntityName"], true> extends true ? {
|
|
14
|
+
[Prop in "_entityName"]: DP.Contract<GenericName, unknown>;
|
|
15
|
+
} : {}) & (IsExtends<GenericParams["addEntityName"], string> extends true ? {
|
|
16
|
+
[Prop in "_entityName"]: DP.Contract<`${GenericName}/${GenericParams["addEntityName"]}`, unknown>;
|
|
17
|
+
} : {})>>>;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
export {};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { pipe, P, isType, innerPipe, A, asserts, DP, O, DPE } from '@duplojs/utils';
|
|
2
|
+
import { newTypeHandlerKind, createEntity } from '@duplojs/utils/clean';
|
|
3
|
+
|
|
4
|
+
function propertiesDefinitionToSchema(definition, method) {
|
|
5
|
+
return pipe(definition, P.when(newTypeHandlerKind.has, (value) => value[method]()), P.when(isType("array"), innerPipe(A.map((element) => element[method]()), (options) => {
|
|
6
|
+
asserts(options, A.minElements(1));
|
|
7
|
+
return DP.union(options);
|
|
8
|
+
})), P.otherwise((definition) => pipe(definition.type, (subDefinition) => propertiesDefinitionToSchema(subDefinition, method), (dataParser) => {
|
|
9
|
+
if (definition.inArray) {
|
|
10
|
+
return pipe(dataParser, DP.array, (dataParser) => typeof definition.inArray === "object"
|
|
11
|
+
&& typeof definition.inArray.min === "number"
|
|
12
|
+
? dataParser.addChecker(DP.checkerArrayMin(definition.inArray.min))
|
|
13
|
+
: dataParser, (dataParser) => typeof definition.inArray === "object"
|
|
14
|
+
&& typeof definition.inArray.max === "number"
|
|
15
|
+
? dataParser.addChecker(DP.checkerArrayMax(definition.inArray.max))
|
|
16
|
+
: dataParser);
|
|
17
|
+
}
|
|
18
|
+
return dataParser;
|
|
19
|
+
}, (dataParser) => definition.nullable === true
|
|
20
|
+
? DP.nullable(dataParser)
|
|
21
|
+
: dataParser)));
|
|
22
|
+
}
|
|
23
|
+
createEntity.overrideHandler.setMethod("toExtractParser", (self, keys) => pipe(self.propertiesDefinition, O.entries, A.filter(([key]) => keys === undefined || A.includes(keys, key)), A.map(([key, value]) => O.entry(key, propertiesDefinitionToSchema(value, "toExtractParser"))), O.fromEntries, DPE.object));
|
|
24
|
+
createEntity.overrideHandler.setMethod("toEndpointSchema", (self, keys, params) => pipe(self.propertiesDefinition, O.entries, A.filter(([key]) => keys === undefined || A.includes(keys, key)), A.map(([key, value]) => O.entry(key, propertiesDefinitionToSchema(value, "toEndpointSchema"))), O.fromEntries, (shape) => typeof params?.addEntityName !== "undefined"
|
|
25
|
+
? {
|
|
26
|
+
...shape,
|
|
27
|
+
_entityName: typeof params.addEntityName === "string"
|
|
28
|
+
? DP.literal(`${self.name}/${params.addEntityName}`)
|
|
29
|
+
: DP.literal(self.name),
|
|
30
|
+
}
|
|
31
|
+
: shape, DPE.object));
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var utils = require('@duplojs/utils');
|
|
4
|
+
var clean = require('@duplojs/utils/clean');
|
|
5
|
+
|
|
6
|
+
clean.createNewType.overrideHandler.setMethod("toExtractParser", (self) => {
|
|
7
|
+
const constraintsKindValue = utils.pipe(self.constraints, utils.A.map(({ name }) => utils.O.entry(name, null)), utils.O.fromEntries);
|
|
8
|
+
const valueContainer = clean.newTypeKind.setTo(clean.constrainedTypeKind.setTo({}, constraintsKindValue), self.name);
|
|
9
|
+
const dataParser = utils.DPE.transform(self.dataParser, (input) => ({
|
|
10
|
+
...valueContainer,
|
|
11
|
+
[utils.keyWrappedValue]: input,
|
|
12
|
+
}));
|
|
13
|
+
return dataParser;
|
|
14
|
+
});
|
|
15
|
+
clean.createNewType.overrideHandler.setMethod("toEndpointSchema", (self) => utils.DPE.lazy(() => self.dataParser));
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DPE } from "@duplojs/utils";
|
|
2
|
+
import { type NewType } from "@duplojs/utils/clean";
|
|
3
|
+
declare module "@duplojs/utils/clean" {
|
|
4
|
+
interface NewTypeHandler<GenericName extends string = string, GenericValue extends unknown = unknown, GenericConstraintsHandler extends readonly ConstraintHandler[] = readonly []> {
|
|
5
|
+
toExtractParser(): DPE.ContractExtended<NewType<GenericName, GenericValue, GenericConstraintsHandler[number]["name"]>, unknown>;
|
|
6
|
+
toEndpointSchema(): DPE.ContractExtended<GenericValue>;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { pipe, A, O, DPE, keyWrappedValue } from '@duplojs/utils';
|
|
2
|
+
import { createNewType, newTypeKind, constrainedTypeKind } from '@duplojs/utils/clean';
|
|
3
|
+
|
|
4
|
+
createNewType.overrideHandler.setMethod("toExtractParser", (self) => {
|
|
5
|
+
const constraintsKindValue = pipe(self.constraints, A.map(({ name }) => O.entry(name, null)), O.fromEntries);
|
|
6
|
+
const valueContainer = newTypeKind.setTo(constrainedTypeKind.setTo({}, constraintsKindValue), self.name);
|
|
7
|
+
const dataParser = DPE.transform(self.dataParser, (input) => ({
|
|
8
|
+
...valueContainer,
|
|
9
|
+
[keyWrappedValue]: input,
|
|
10
|
+
}));
|
|
11
|
+
return dataParser;
|
|
12
|
+
});
|
|
13
|
+
createNewType.overrideHandler.setMethod("toEndpointSchema", (self) => DPE.lazy(() => self.dataParser));
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var utils = require('@duplojs/utils');
|
|
4
|
+
var clean = require('@duplojs/utils/clean');
|
|
5
|
+
|
|
6
|
+
clean.createPrimitive.overrideHandler.setMethod("toExtractParser", (self) => {
|
|
7
|
+
const dataParser = utils.DPE.transform(self.dataParser, (input) => ({
|
|
8
|
+
[utils.keyWrappedValue]: input,
|
|
9
|
+
}));
|
|
10
|
+
return dataParser;
|
|
11
|
+
});
|
|
12
|
+
clean.createPrimitive.overrideHandler.setMethod("toEndpointSchema", (self) => utils.DPE.lazy(() => self.dataParser));
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DPE } from "@duplojs/utils";
|
|
2
|
+
import { type EligiblePrimitive, type Primitive } from "@duplojs/utils/clean";
|
|
3
|
+
declare module "@duplojs/utils/clean" {
|
|
4
|
+
interface PrimitiveHandler<GenericValue extends EligiblePrimitive = EligiblePrimitive> {
|
|
5
|
+
toExtractParser(): DPE.ContractExtended<Primitive<GenericValue>, unknown>;
|
|
6
|
+
toEndpointSchema(): DPE.ContractExtended<GenericValue>;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DPE, keyWrappedValue } from '@duplojs/utils';
|
|
2
|
+
import { createPrimitive } from '@duplojs/utils/clean';
|
|
3
|
+
|
|
4
|
+
createPrimitive.overrideHandler.setMethod("toExtractParser", (self) => {
|
|
5
|
+
const dataParser = DPE.transform(self.dataParser, (input) => ({
|
|
6
|
+
[keyWrappedValue]: input,
|
|
7
|
+
}));
|
|
8
|
+
return dataParser;
|
|
9
|
+
});
|
|
10
|
+
createPrimitive.overrideHandler.setMethod("toEndpointSchema", (self) => DPE.lazy(() => self.dataParser));
|
package/dist/core/index.cjs
CHANGED
|
@@ -18,6 +18,7 @@ var stringIdentifier = require('./stringIdentifier.cjs');
|
|
|
18
18
|
require('./metadata/index.cjs');
|
|
19
19
|
var implementHttpServer = require('./implementHttpServer.cjs');
|
|
20
20
|
var narrowingInput = require('./narrowingInput.cjs');
|
|
21
|
+
require('./clean/index.cjs');
|
|
21
22
|
var checker = require('./builders/checker.cjs');
|
|
22
23
|
var builder = require('./builders/route/builder.cjs');
|
|
23
24
|
var store = require('./builders/route/store.cjs');
|
package/dist/core/index.d.ts
CHANGED
package/dist/core/index.mjs
CHANGED
|
@@ -16,6 +16,7 @@ export { createCoreLibStringIdentifier } from './stringIdentifier.mjs';
|
|
|
16
16
|
import './metadata/index.mjs';
|
|
17
17
|
export { implementHttpServer } from './implementHttpServer.mjs';
|
|
18
18
|
export { createNarrowingInput } from './narrowingInput.mjs';
|
|
19
|
+
import './clean/index.mjs';
|
|
19
20
|
export { checkerBuilder, useCheckerBuilder } from './builders/checker.mjs';
|
|
20
21
|
export { routeBuilderHandler, useRouteBuilder } from './builders/route/builder.mjs';
|
|
21
22
|
export { routeStore } from './builders/route/store.mjs';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@duplojs/http",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.2",
|
|
4
4
|
"author": "mathcovax",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
],
|
|
67
67
|
"peerDependencies": {
|
|
68
68
|
"@duplojs/data-parser-tools": ">=0.2.4 <1.0.0",
|
|
69
|
-
"@duplojs/utils": ">=1.4.
|
|
69
|
+
"@duplojs/utils": ">=1.4.57 <2.0.0"
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
72
|
"@commitlint/cli": "19.8.1",
|