Comparing version 1.0.0 to 1.0.1
@@ -93,6 +93,6 @@ /** | ||
declare type QueryValue = string | string[] | undefined | null; | ||
declare type QueryObject = Record<string, QueryValue>; | ||
type QueryValue = string | undefined | null; | ||
type QueryObject = Record<string, QueryValue | QueryValue[]>; | ||
declare function parseQuery(parametersString?: string): QueryObject; | ||
declare function encodeQueryItem(key: string, value: QueryValue): string; | ||
declare function encodeQueryItem(key: string, value: QueryValue | QueryValue[]): string; | ||
declare function stringifyQuery(query: QueryObject): string; | ||
@@ -99,0 +99,0 @@ |
{ | ||
"name": "ufo", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "URL utils for humans", | ||
@@ -21,2 +21,13 @@ "repository": "unjs/ufo", | ||
], | ||
"devDependencies": { | ||
"@types/node": "^18.11.9", | ||
"@vitest/coverage-c8": "^0.25.3", | ||
"eslint": "^8.28.0", | ||
"eslint-config-unjs": "^0.0.2", | ||
"standard-version": "^9.5.0", | ||
"typescript": "^4.9.3", | ||
"unbuild": "^1.0.1", | ||
"vitest": "^0.25.3" | ||
}, | ||
"packageManager": "pnpm@7.17.1", | ||
"scripts": { | ||
@@ -26,17 +37,5 @@ "build": "unbuild", | ||
"lint": "eslint --ext .ts .", | ||
"prepack": "pnpm build", | ||
"release": "pnpm test && standard-version && git push --follow-tags && pnpm publish", | ||
"test": "pnpm lint && vitest run" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^18.11.9", | ||
"@vitest/coverage-c8": "^0.25.2", | ||
"eslint": "^8.27.0", | ||
"eslint-config-unjs": "^0.0.2", | ||
"standard-version": "^9.5.0", | ||
"typescript": "^4.8.4", | ||
"unbuild": "^0.9.4", | ||
"vitest": "^0.25.2" | ||
}, | ||
"packageManager": "pnpm@7.16.0" | ||
} | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
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
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
42317