@sapphire/shapeshift
Advanced tools
Comparing version 3.0.1-next.b19d273.0 to 3.1.0-next.1069206.0
@@ -69,3 +69,3 @@ /// <reference types="node" /> | ||
declare type StringConstraintName = `s.string.${`length${'LessThan' | 'LessThanOrEqual' | 'GreaterThan' | 'GreaterThanOrEqual' | 'Equal' | 'NotEqual'}` | 'regex' | 'url' | 'uuid' | 'email' | `ip${'v4' | 'v6' | ''}`}`; | ||
declare type StringConstraintName = `s.string.${`length${'LessThan' | 'LessThanOrEqual' | 'GreaterThan' | 'GreaterThanOrEqual' | 'Equal' | 'NotEqual'}` | 'regex' | 'url' | 'uuid' | 'email' | `ip${'v4' | 'v6' | ''}` | 'date'}`; | ||
declare type StringProtocol = `${string}:`; | ||
@@ -409,2 +409,3 @@ declare type StringDomain = `${string}.${string}`; | ||
regex(regex: RegExp): this; | ||
get date(): this; | ||
get ipv4(): this; | ||
@@ -411,0 +412,0 @@ get ipv6(): this; |
{ | ||
"name": "@sapphire/shapeshift", | ||
"version": "3.0.1-next.b19d273.0", | ||
"version": "3.1.0-next.1069206.0", | ||
"description": "Blazing fast input validation and transformation ⚡", | ||
@@ -44,5 +44,5 @@ "author": "@sapphire", | ||
"@types/jest": "^27.5.0", | ||
"@types/node": "^17.0.30", | ||
"@typescript-eslint/eslint-plugin": "^5.22.0", | ||
"@typescript-eslint/parser": "^5.22.0", | ||
"@types/node": "^17.0.31", | ||
"@typescript-eslint/eslint-plugin": "^5.23.0", | ||
"@typescript-eslint/parser": "^5.23.0", | ||
"cz-conventional-changelog": "^3.3.0", | ||
@@ -52,9 +52,8 @@ "eslint": "^8.15.0", | ||
"eslint-plugin-prettier": "^4.0.0", | ||
"husky": "^7.0.4", | ||
"jest": "^27.5.1", | ||
"jest-circus": "^27.5.1", | ||
"husky": "^8.0.1", | ||
"jest": "^28.1.0", | ||
"lint-staged": "^12.4.1", | ||
"prettier": "^2.6.2", | ||
"pretty-quick": "^3.1.3", | ||
"ts-jest": "^27.1.4", | ||
"ts-jest": "^28.0.2", | ||
"tsup": "^5.12.7", | ||
@@ -117,4 +116,3 @@ "typedoc": "^0.22.15", | ||
"ansi-regex": "^5.0.1", | ||
"minimist": "^1.2.6", | ||
"jest-environment-jsdom": "https://registry.yarnpkg.com/@favware/skip-dependency/-/skip-dependency-1.1.3.tgz" | ||
"minimist": "^1.2.6" | ||
}, | ||
@@ -121,0 +119,0 @@ "prettier": "@sapphire/prettier-config", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
757685
26
6508