@trapi/metadata-utils
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -0,1 +1,2 @@ | ||
"use strict"; | ||
/* | ||
@@ -7,3 +8,2 @@ * Copyright (c) 2021. | ||
*/ | ||
'use strict'; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -14,3 +14,3 @@ exports.normalizePathParameters = exports.normalizePath = void 0; | ||
str = str.replace(/^[/\\\s]+|[/\\\s]+$/g, ''); | ||
str = str.replace(/([^:]\/)\/+/g, "$1"); | ||
str = str.replace(/([^:]\/)\/+/g, '$1'); | ||
return str; | ||
@@ -17,0 +17,0 @@ } |
@@ -1,3 +0,3 @@ | ||
import { CompilerOptions } from "typescript"; | ||
import { CompilerOptions } from 'typescript'; | ||
export declare function getCompilerOptions(filePath?: string, fileName?: string): CompilerOptions; | ||
//# sourceMappingURL=typescript.d.ts.map |
@@ -1,5 +0,5 @@ | ||
import Lazy from "yup/lib/Lazy"; | ||
import Reference from "yup/lib/Reference"; | ||
import { AnySchema } from "yup/lib/schema"; | ||
import Lazy from 'yup/lib/Lazy'; | ||
import Reference from 'yup/lib/Reference'; | ||
import { AnySchema } from 'yup/lib/schema'; | ||
export declare function mapYupRuleForDictionary<T>(map: any, rule: T): Record<string, AnySchema | Reference | Lazy<any, any> | T>; | ||
//# sourceMappingURL=yup.d.ts.map |
@@ -14,8 +14,5 @@ "use strict"; | ||
} | ||
return Object.keys(map).reduce((newMap, key) => ({ | ||
...newMap, | ||
[key]: rule | ||
}), {}); | ||
return Object.keys(map).reduce((newMap, key) => (Object.assign(Object.assign({}, newMap), { [key]: rule })), {}); | ||
} | ||
exports.mapYupRuleForDictionary = mapYupRuleForDictionary; | ||
//# sourceMappingURL=yup.js.map |
{ | ||
"name": "@trapi/metadata-utils", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "Utils library package for the trapi infrastructure.", | ||
"main": "./dist/index.js", | ||
"typings": "./dist/index.d.ts", | ||
"files": [ | ||
"dist/" | ||
], | ||
"scripts": { | ||
@@ -22,24 +25,27 @@ "start": "tsc -p tsconfig.build.json -w", | ||
"name": "Peter Placzek", | ||
"email": "tadashi@animesu.net", | ||
"url": "https:/github.com/Tada5hi" | ||
"email": "contact@tada5hi.net", | ||
"url": "https://github.com/tada5hi" | ||
}, | ||
"license": "MIT", | ||
"devDependencies": { | ||
"@types/glob": "^7.1.4", | ||
"@types/jest": "^27.0.1", | ||
"@types/glob": "^7.2.0", | ||
"@types/jest": "^27.4.0", | ||
"@types/minimatch": "^3.0.5", | ||
"@types/node": "^16.9.1", | ||
"@types/node": "^17.0.14", | ||
"@types/yup": "^0.29.13", | ||
"jest": "^27.1.1", | ||
"jest": "^27.4.7", | ||
"rimraf": "^3.0.2", | ||
"ts-jest": "^27.0.5" | ||
"ts-jest": "^27.1.3" | ||
}, | ||
"dependencies": { | ||
"cross-env": "^7.0.3", | ||
"glob": "^7.1.7", | ||
"glob": "^7.2.0", | ||
"minimatch": "^3.0.4", | ||
"typescript": "^4.4.3", | ||
"yup": "^0.32.9" | ||
"typescript": "^4.5.5", | ||
"yup": "^0.32.11" | ||
}, | ||
"gitHead": "92a749c82c6e326e80757f3c45ed92b321edd80a" | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"gitHead": "f8ebabe5794093769ba5bf9fa4542544c06a0179" | ||
} |
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 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
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
15604
27
169
1
Updatedglob@^7.2.0
Updatedtypescript@^4.5.5
Updatedyup@^0.32.11