2 Commits

Author SHA1 Message Date
philkunz d53fe44766 3.0.1 2024-05-30 18:57:11 +02:00
philkunz 993c4e07bc fix(core): update 2024-05-30 18:57:10 +02:00
6 changed files with 6 additions and 12 deletions
+2 -2
View File
@@ -1,12 +1,12 @@
{ {
"name": "@push.rocks/smartguard", "name": "@push.rocks/smartguard",
"version": "3.0.0", "version": "3.0.1",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@push.rocks/smartguard", "name": "@push.rocks/smartguard",
"version": "3.0.0", "version": "3.0.1",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@push.rocks/smartpromise": "^3.0.2", "@push.rocks/smartpromise": "^3.0.2",
+1 -2
View File
@@ -1,6 +1,6 @@
{ {
"name": "@push.rocks/smartguard", "name": "@push.rocks/smartguard",
"version": "3.0.0", "version": "3.0.1",
"private": false, "private": false,
"description": "A TypeScript library for creating and managing validation guards, aiding in data validation and security checks.", "description": "A TypeScript library for creating and managing validation guards, aiding in data validation and security checks.",
"main": "dist_ts/index.js", "main": "dist_ts/index.js",
@@ -22,7 +22,6 @@
"@types/node": "^20.12.13" "@types/node": "^20.12.13"
}, },
"dependencies": { "dependencies": {
"@api.global/typedrequest": "^3.0.25",
"@push.rocks/smartpromise": "^4.0.2", "@push.rocks/smartpromise": "^4.0.2",
"@push.rocks/smartrequest": "^2.0.15" "@push.rocks/smartrequest": "^2.0.15"
}, },
-3
View File
@@ -8,9 +8,6 @@ importers:
.: .:
dependencies: dependencies:
'@api.global/typedrequest':
specifier: ^3.0.25
version: 3.0.25
'@push.rocks/smartpromise': '@push.rocks/smartpromise':
specifier: ^4.0.2 specifier: ^4.0.2
version: 4.0.3 version: 4.0.3
+1 -1
View File
@@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@push.rocks/smartguard', name: '@push.rocks/smartguard',
version: '3.0.0', version: '3.0.1',
description: 'A TypeScript library for creating and managing validation guards, aiding in data validation and security checks.' description: 'A TypeScript library for creating and managing validation guards, aiding in data validation and security checks.'
} }
-4
View File
@@ -16,8 +16,4 @@ export class Guard<T> {
const result = await this.guardFunction(dataArg); const result = await this.guardFunction(dataArg);
return result; return result;
} }
public async execForTR() {
}
} }
+2
View File
@@ -1,4 +1,6 @@
// @push.rocks scope
import * as smartpromise from '@push.rocks/smartpromise'; import * as smartpromise from '@push.rocks/smartpromise';
// pushrocks scope // pushrocks scope
export { smartpromise }; export { smartpromise };