@sapphire/shapeshift
Advanced tools
Comparing version 4.0.0 to 4.0.1-next.6498158
{ | ||
"name": "@sapphire/shapeshift", | ||
"version": "4.0.0", | ||
"version": "4.0.1-next.6498158", | ||
"description": "Blazing fast input validation and transformation ⚡", | ||
@@ -45,12 +45,12 @@ "author": "@sapphire", | ||
"@commitlint/config-conventional": "^19.2.2", | ||
"@favware/cliff-jumper": "^3.0.3", | ||
"@favware/cliff-jumper": "^4.0.2", | ||
"@favware/npm-deprecate": "^1.0.7", | ||
"@sapphire/eslint-config": "^5.0.4", | ||
"@sapphire/eslint-config": "^5.0.5", | ||
"@sapphire/prettier-config": "^2.0.0", | ||
"@sapphire/ts-config": "^5.0.1", | ||
"@types/jsdom": "^21.1.6", | ||
"@types/lodash": "^4.17.4", | ||
"@types/node": "^20.12.12", | ||
"@typescript-eslint/eslint-plugin": "^7.9.0", | ||
"@typescript-eslint/parser": "^7.9.0", | ||
"@types/jsdom": "^21.1.7", | ||
"@types/lodash": "^4.17.6", | ||
"@types/node": "^20.14.8", | ||
"@typescript-eslint/eslint-plugin": "^7.13.1", | ||
"@typescript-eslint/parser": "^7.13.1", | ||
"@vitest/coverage-v8": "^1.6.0", | ||
@@ -62,10 +62,10 @@ "cz-conventional-changelog": "^3.3.0", | ||
"eslint-plugin-prettier": "^5.1.3", | ||
"jsdom": "^24.0.0", | ||
"lint-staged": "^15.2.2", | ||
"prettier": "^3.2.5", | ||
"jsdom": "^24.1.0", | ||
"lint-staged": "^15.2.7", | ||
"prettier": "^3.3.2", | ||
"rimraf": "^5.0.7", | ||
"tsup": "^8.0.2", | ||
"tsup": "^8.1.0", | ||
"typedoc": "^0.25.13", | ||
"typedoc-json-parser": "^10.0.0", | ||
"typescript": "^5.4.5", | ||
"typescript": "~5.4.5", | ||
"vitest": "^1.6.0" | ||
@@ -123,6 +123,7 @@ }, | ||
"resolutions": { | ||
"@types/node": "20.13.0", | ||
"ansi-regex": "^5.0.1", | ||
"minimist": "^1.2.8" | ||
}, | ||
"packageManager": "yarn@4.2.2" | ||
"packageManager": "yarn@4.3.1" | ||
} |
@@ -54,6 +54,6 @@ <div align="center"> | ||
- [BaseValidator: methods and properties](#basevalidator-methods-and-properties) | ||
- [`.run(data: unknown): Result`: given a validation, you can call this method to check whether or not the](#rundata-unknown-result-given-a-validation-you-can-call-this-method-to-check-whether-or-not-the) | ||
- [`.run(data: unknown): Result`: given a validation, you can call this method to check whether or not the](#rundata-unknown-resultt-error-given-a-validation-you-can-call-this-method-to-check-whether-or-not-the) | ||
- [`.parse(data: unknown): T`: given a validations, you can call this method to check whether or not the input is valid.](#parsedata-unknown-t-given-a-validations-you-can-call-this-method-to-check-whether-or-not-the-input-is-valid) | ||
- [`.transform((value: T) => R): NopValidator`: adds a constraint that modifies the input:](#transformvalue-t--r-nopvalidator-adds-a-constraint-that-modifies-the-input) | ||
- [`.reshape((value: T) => Result | IConstraint): NopValidator`: adds a constraint able to both validate](#reshapevalue-t--result--iconstraint-nopvalidator-adds-a-constraint-able-to-both-validate) | ||
- [`.transform((value: T) => R): NopValidator`: adds a constraint that modifies the input:](#transformrvalue-t--r-nopvalidatorr-adds-a-constraint-that-modifies-the-input) | ||
- [`.reshape((value: T) => Result | IConstraint): NopValidator`: adds a constraint able to both validate](#reshapervalue-t--resultr-error--iconstraint-nopvalidatorr-adds-a-constraint-able-to-both-validate) | ||
- [`.default(value: T | (() => T))`: transform `undefined` into the given value or the callback's returned value:](#defaultvalue-t----t-transform-undefined-into-the-given-value-or-the-callbacks-returned-value) | ||
@@ -60,0 +60,0 @@ - [`.optional`: a convenience method that returns a union of the type with `s.undefined()`.](#optional-a-convenience-method-that-returns-a-union-of-the-type-with-sundefined) |
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
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
1371422
2
10320
1
1