Comparing version 0.1.0 to 0.2.0
@@ -5,2 +5,13 @@ # Changelog | ||
## [0.2.0](https://github.com/unjs/pathe/compare/v0.1.0...v0.2.0) (2021-09-27) | ||
### ⚠ BREAKING CHANGES | ||
* improved implementation with tests (#3) | ||
### Features | ||
* improved implementation with tests ([#3](https://github.com/unjs/pathe/issues/3)) ([d8d0cb5](https://github.com/unjs/pathe/commit/d8d0cb51dbca7295248c36f93510738057f2828d)) | ||
## [0.1.0](https://github.com/unjs/pathe/compare/v0.0.3...v0.1.0) (2021-09-24) | ||
@@ -7,0 +18,0 @@ |
@@ -5,18 +5,17 @@ import path from 'path'; | ||
declare const delimiter = ":"; | ||
declare const win32: path.PlatformPath; | ||
declare const posix: path.PlatformPath; | ||
declare const extname: typeof path.extname; | ||
declare const normalize: typeof path.normalize; | ||
declare const join: typeof path.join; | ||
declare const resolve: typeof path.resolve; | ||
declare function normalizeString(path: string, allowAboveRoot: boolean): string; | ||
declare const isAbsolute: typeof path.isAbsolute; | ||
declare const toNamespacedPath: typeof path.toNamespacedPath; | ||
declare const extname: typeof path.extname; | ||
declare const relative: typeof path.relative; | ||
declare const dirname: typeof path.dirname; | ||
declare const resolve: typeof path.resolve; | ||
declare const format: typeof path.format; | ||
declare const basename: typeof path.basename; | ||
declare const parse: typeof path.parse; | ||
declare const toNamespacedPath: typeof path.toNamespacedPath; | ||
declare const isAbsolute: typeof path.isAbsolute; | ||
declare function normalizeWindowsPath(input?: string): string; | ||
declare const _default: path.PlatformPath; | ||
export { basename, _default as default, delimiter, dirname, extname, format, isAbsolute, join, normalize, normalizeWindowsPath, parse, posix, relative, resolve, sep, toNamespacedPath, win32 }; | ||
declare const _default: Omit<path.PlatformPath, "win32" | "posix">; | ||
export { basename, _default as default, delimiter, dirname, extname, format, isAbsolute, join, normalize, normalizeString, parse, relative, resolve, sep, toNamespacedPath }; |
{ | ||
"name": "pathe", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"description": "Normalized paths for Node.js", | ||
@@ -24,12 +24,18 @@ "repository": "unjs/pathe", | ||
"release": "yarn test && standard-version && git push --follow-tags && npm publish", | ||
"test": "yarn lint" | ||
"test": "nyc mocha -r jiti/register test/*" | ||
}, | ||
"devDependencies": { | ||
"@nuxtjs/eslint-config-typescript": "latest", | ||
"@types/chai": "^4.2.22", | ||
"@types/mocha": "^9.0.0", | ||
"@types/node": "^16.9.6", | ||
"chai": "^4.3.4", | ||
"eslint": "latest", | ||
"jiti": "^1.12.3", | ||
"mocha": "^9.1.1", | ||
"nyc": "^15.1.0", | ||
"siroc": "latest", | ||
"standard-version": "latest", | ||
"typescript": "latest" | ||
"typescript": "^4.4.3" | ||
} | ||
} |
@@ -48,2 +48,4 @@ # pathe | ||
Some code used form Node.js project. See [LICENSE](./LICENSE). | ||
<!-- Refs --> | ||
@@ -50,0 +52,0 @@ [npm-v-src]: https://img.shields.io/npm/v/pathe?style=flat-square |
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
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
18344
397
62
12