Skip to content

Commit

Permalink
update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
shimataro committed Dec 31, 2024
1 parent 2138199 commit a106fe8
Show file tree
Hide file tree
Showing 13 changed files with 4,584 additions and 17,056 deletions.
3 changes: 1 addition & 2 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ rules: # https://eslint.org/docs/rules/
rest-spread-spacing:
- error
- never
semi: off
semi: error
semi-spacing: error
semi-style:
- error
Expand Down Expand Up @@ -318,7 +318,6 @@ rules: # https://eslint.org/docs/rules/
"@typescript-eslint/no-use-before-define":
- error
- functions: false
"@typescript-eslint/semi": error
"@typescript-eslint/strict-boolean-expressions":
- error
- allowString: false
Expand Down
3 changes: 1 addition & 2 deletions dist-deno/appliers/date/type.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { isDate, isValidDate, Key, Values } from "../../libs/types.ts";
import { RULE, ValueSchemaError } from "../../libs/ValueSchemaError.ts";
export interface Rules {
}
export type Rules = object;
/**
* apply schema
* @param values input/output values
Expand Down
3 changes: 1 addition & 2 deletions dist-deno/appliers/email/maxLength.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ import { RULE, ValueSchemaError } from "../../libs/ValueSchemaError.ts";
const MAX_LENGTH_LOCAL = 64;
const MAX_LENGTH_DOMAIN = 255;
const MAX_LENGTH = MAX_LENGTH_LOCAL + 1 + MAX_LENGTH_DOMAIN; // local-part + "@" + domain-part
export interface Rules {
}
export type Rules = object;
/**
* apply schema
* @param values input/output values
Expand Down
3 changes: 1 addition & 2 deletions dist-deno/appliers/numericString/pattern.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import { isString, Key, Values } from "../../libs/types.ts";
import { RULE, ValueSchemaError } from "../../libs/ValueSchemaError.ts";
const REGEXP = /^\d+$/;
export interface Rules {
}
export type Rules = object;
/**
* apply schema
* @param values input/output values
Expand Down
3 changes: 1 addition & 2 deletions dist-deno/appliers/object/type.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { isObject, Key, Values } from "../../libs/types.ts";
import { RULE, ValueSchemaError } from "../../libs/ValueSchemaError.ts";
export interface Rules {
}
export type Rules = object;
/**
* apply schema
* @param values input/output values
Expand Down
3 changes: 1 addition & 2 deletions dist-deno/schemaClasses/BaseSchema.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import { Key, makeValues, Values } from "../libs/types.ts";
import { ErrorHandler } from "../libs/publicTypes.ts";
import { ValueSchemaError } from "../libs/ValueSchemaError.ts";
interface Rules {
}
type Rules = object;
type ApplyTo<T> = (values: Values, rules: Rules, keyStack: Key[]) => values is Values<T>;
/**
* Base Schema Class
Expand Down
Loading

0 comments on commit a106fe8

Please sign in to comment.