Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge package:path #403

Merged
merged 193 commits into from
Oct 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
193 commits
Select commit Hold shift + click to select a range
f9fe528
Move path ("pathos") to pkg/.
munificent Dec 19, 2012
56c6d80
Fix analyzer errors/warnings for Pub.
nex3 Dec 19, 2012
4aa68cd
Make dirname and basename ignore trailing separators and double slashes.
nex3 Dec 20, 2012
04f1f7a
Update pkg/path to use "package:" imports.
munificent Jan 3, 2013
e1acb23
Big merge from experimental to bleeding edge.
floitschG Jan 7, 2013
9502bc5
Fix minor path handling issue in path package.
efortuna Jan 12, 2013
c40e191
Clean up code that locates SDK and SDK version.
munificent Jan 22, 2013
af4a284
Add a README for path.
munificent Jan 23, 2013
79565b5
Rename mappedBy to map.
lrhn Jan 31, 2013
605d2b5
Revert "Rename mappedBy to map."
floitschG Jan 31, 2013
57c5ea1
Reapply "Rename mappedBy to map."
lrhn Jan 31, 2013
ff1a947
Add path.joinAll.
nex3 Feb 21, 2013
a3ad547
Rename "pathos" package to "path".
munificent Jul 12, 2013
79b7f0e
Test empty strings arguments to path.join().
munificent Jul 15, 2013
cf0b8be
pkg/path: fixed tiny doc bug
kevmoo Jul 17, 2013
d4f65c4
Use window.location.href in path under dart2js.
nex3 Jul 22, 2013
e1e95f0
Fix static warnings in pkg/path.
munificent Jul 23, 2013
8e2e11f
Fix documentation of path.toUri().
munificent Jul 23, 2013
6d0caed
Port dart:io Path tests to package:path.
whesse Jul 24, 2013
fe8934f
Ignore all trailing separators in path.extension.
munificent Jul 25, 2013
e0f31b9
Handle special characters in path<->uri conversion.
munificent Jul 26, 2013
b1e5373
Remove API documentation from path README.
munificent Jul 26, 2013
0b09e71
First stab at a dev server in pub using barback.
munificent Jul 30, 2013
491f06f
Fix path browser test.
munificent Jul 30, 2013
fb288fc
pkg: analysis aided cleanup
kevmoo Aug 6, 2013
e878e6e
use symbol literals instead of const ctor
Oct 10, 2013
2766386
Mirrors overhaul.
peter-ahe-google Oct 30, 2013
76c4444
add versions and constraints for packages and samples
Nov 6, 2013
4de90fb
Revert "add versions and constraints for packages and samples"
Nov 6, 2013
ba06b94
Re-land r29957 (add versions and constraints for packages and samples…
dgrove Nov 6, 2013
ab4bc47
Don't use mirrors in pkg/path.
Nov 7, 2013
8531c33
Have pkg/path track the current working directory if it changes.
nex3 Nov 13, 2013
f362cd8
Properly support UNC paths in pkg/path.
nex3 Nov 13, 2013
36d7899
Don't rely on a sandbox directory for pkg/path PWD tests.
nex3 Nov 14, 2013
c44d4f6
Support root-relative paths on Windows.
nex3 Nov 14, 2013
946bc2e
Add isWithin to pkg/path.
nex3 Nov 15, 2013
59f3c6a
Refactor pkg/path.
nex3 Nov 19, 2013
3de9756
Make the stack_trace package print relative URLs for browser paths.
nex3 Nov 20, 2013
8ecf6f8
Bump pkg/path's version to 1.0.0-rc.1
nex3 Nov 21, 2013
25ddf16
Mark path's SDK constraint lower bound as 1.0.0 exactly.
nex3 Nov 26, 2013
01398a3
Make pkg/path 1.0.0 and upgrade dependencies appropriately.
nex3 Dec 10, 2013
5639506
pkg/unittest: added LICENSE
kevmoo Jan 13, 2014
1c3e43a
Allow [path.fromUri] to take a string as well as a URI.
nex3 Mar 18, 2014
3e9bd65
Add a path.formatUri method and release path 1.2.0.
nex3 May 23, 2014
26c2beb
Deprecate publicly-visible properties on Style in path.
nex3 Jun 2, 2014
1c329ba
Avoid using RegExps in path to work around issue 19090.
nex3 Jun 2, 2014
7254b5b
Remove documentation links for repo packages.
nex3 Jul 24, 2014
e16450a
Don't cache path Context based on cwd, as cwd involves a system-call …
Aug 4, 2014
1965170
Fix internal constructor in context.
Aug 4, 2014
8f2715d
Make path's top-level context field public.
nex3 Aug 6, 2014
27dfe34
Add InternalStyle:rootLength to implement isAbsolute and rootPrefix.
Aug 7, 2014
d6f3fb3
Add benchmark to 'path' package, of the most common methods.
Aug 18, 2014
ea54cec
Add gitignore, status, and codereview files.
nex3 Dec 18, 2014
6615bf3
Update the pubspec's homepage link.
nex3 Dec 18, 2014
378d225
Fix the status file to match the package bots' expectations.
nex3 Dec 18, 2014
aa2b34f
Properly skip tests in packages directories.
nex3 Dec 19, 2014
2edd6ca
Remove initial */s in .status.
nex3 Dec 19, 2014
880d543
Actually release the performance changes to path.
nex3 Dec 19, 2014
ab87f4c
fixed relative root tests
kevmoo Jan 13, 2015
c9f8d96
reformatted, remove unused fields and imports, updated readme
kevmoo Jan 13, 2015
441de92
path: Fix some analyzer hints.
nex3 Jan 29, 2015
0cada32
Don't use 'current' if 'from' is not relative.
Feb 18, 2015
96b4f88
DDC fixes for path
vsmenon Mar 27, 2015
34f0843
Add type annotations to top-level and static fields.
kevmoo Apr 9, 2015
ebe9af7
Fix path.toUri for relative paths.
nex3 Jul 9, 2015
e992887
Upgrade to the new test runner.
nex3 Jul 16, 2015
f25964c
Optimize absolute() and normalize().
nex3 Nov 18, 2015
e451187
Cache the current working directory.
nex3 Nov 30, 2015
18539f8
Make sure we normalize relative()'s return value.
nex3 Dec 1, 2015
51b50cd
Improve the performance of isWithin().
nex3 Dec 1, 2015
2d9fac0
Further improve isWithin() performance.
nex3 Dec 2, 2015
c72bd3d
Give the benchmark some love.
munificent Dec 18, 2015
0977534
One more simple optimization in isWithin.
munificent Dec 18, 2015
23ea083
Get rid of all the library tags.
nex3 Jan 13, 2016
175368d
Declare the package strong-mode clean.
nex3 Apr 1, 2016
6b84118
Make Windows path manipulation case-insensitive. (dart-lang/path#15)
nex3 Oct 5, 2016
4e7239b
Add new equality and canonicalization functions. (dart-lang/path#16)
nex3 Oct 7, 2016
532575b
Add a caveat about URL comparison. (dart-lang/path#17)
nex3 Oct 10, 2016
62aa7b7
Be more explicit about stability guarantees.
nex3 Dec 5, 2016
df4c64e
Fix root-relative file URI handling.
nex3 Dec 5, 2016
aff49ac
File URL "/foo" is root-relative for Windows.
nex3 Dec 5, 2016
ff4f9c1
Merge pull request dart-lang/path#20 from dart-lang/windows-drive-let…
nex3 Dec 8, 2016
d86d9b6
Bump the version to 1.4.1. (dart-lang/path#21)
nex3 Dec 8, 2016
9de016f
Fix a normalization bug. (dart-lang/path#26)
nex3 Jun 8, 2017
24cdc70
Treat "package:" URLs as absolute. (dart-lang/path#25)
nex3 Jun 8, 2017
a847426
Fix backslashes in README.md (dart-lang/path#29)
lexaknyazev Jun 14, 2017
21373d3
Strong mode cleanup (dart-lang/path#30)
lexaknyazev Jul 5, 2017
f1d63d2
Rename .analysis_options to analysis_options.yaml (dart-lang/path#31)
kevmoo Oct 19, 2017
6bc40fb
Suggest the prefix "p" in documentation
nex3 Nov 6, 2017
4e5d697
Add changeExtension()
nex3 Nov 6, 2017
92e9b25
Merge pull request dart-lang/path#33 from dart-lang/change-extension
nex3 Nov 7, 2017
63002aa
Enable Travis-CI
kevmoo Nov 15, 2017
792e092
dartfmt
kevmoo Nov 15, 2017
532b3ef
Remove unused block and local var
kevmoo Nov 15, 2017
436e58f
Fix absolute working directory bugs on POSIX (dart-lang/path#36)
jensjoha Nov 21, 2017
1b9e028
Update .gitignore to new `dart_tool` pub cache
bcko May 24, 2018
3da53b2
Merge pull request dart-lang/path#38 from bcko/patch-1
munificent May 24, 2018
fe6f256
Add a PathMap class
nex3 Jun 4, 2018
628ea12
Add a PathSet class
nex3 Jun 5, 2018
29a641c
Only support Dart 2
nex3 Jun 5, 2018
cee2e88
Merge pull request dart-lang/path#40 from dart-lang/path-map
nex3 Jun 5, 2018
9b3f3e2
Fix .travis.yml (dart-lang/path#41)
kevmoo Jun 6, 2018
fc80294
Drop implementation of `retype` (dart-lang/path#42)
natebosch Jun 13, 2018
a66a2b5
chore: set max SDK version to <3.0.0 (dart-lang/path#44)
chalin Jul 17, 2018
ede81bf
Use backquotes for backslashes to avoid markdown escaping. (dart-lang…
jcollins-g Aug 29, 2018
de89a8a
Try to gracefully handle the cwd being deleted.
munificent Jul 24, 2019
16c381a
Merge pull request dart-lang/path#49 from dart-lang/catch-cwd-exception
munificent Jul 24, 2019
c53e7cc
Run "dartfmt --fix".
munificent Jul 24, 2019
4f5ab0c
Merge pull request dart-lang/path#50 from dart-lang/dartfmt-fix
munificent Jul 24, 2019
30cae99
pubspec: strip whitespace around description
kevmoo Jul 24, 2019
0f03e44
Remove unused codereview.settings
kevmoo Jul 24, 2019
63e7725
pubspsec: make homepage link secure
kevmoo Jul 24, 2019
b7d2148
Enable and fix a number of lints
kevmoo Jul 24, 2019
727d3f1
Test oldest supported SDK, on browser, and with stronger analysis
kevmoo Jul 24, 2019
af78bcc
Example, prepare for 1.6.4 (dart-lang/path#52)
kevmoo Jul 25, 2019
82765e7
Fix newly enforced package:pedantic lints (dart-lang/path#54)
natebosch Dec 9, 2019
091927b
Use a system temp directory for io test (dart-lang/path#57)
natebosch Dec 11, 2019
98f724c
Update very outdated doc reference to root -> current (dart-lang/path…
kevmoo Jan 22, 2020
bf69ec2
Remove lints duplicated in pkg:pedantic (dart-lang/path#62)
kevmoo Feb 25, 2020
3a256ef
Remove author from pubspec, fix outdated URL in readme (dart-lang/pat…
kevmoo Feb 25, 2020
fb52881
Enable and fix a number of lints (dart-lang/path#64)
kevmoo Feb 25, 2020
66a899e
Cleanup relative_test (dart-lang/path#65)
kevmoo Feb 25, 2020
d1bdce2
Run tests on all operating systems (dart-lang/path#66)
kevmoo Feb 25, 2020
3bd6f0d
Add support for multiple extensions (dart-lang/path#69)
ayan-b Apr 6, 2020
0546ed6
Prepare to publish (dart-lang/path#72)
natebosch Apr 6, 2020
5c479bd
Add a UNC examples to rootPrefix and split docs (dart-lang/path#73)
natebosch Apr 7, 2020
a3f6c05
Use dart.dev everywhere (dart-lang/path#74)
natebosch Apr 7, 2020
aac330d
Remove one last reference to pub.dartlang.org
kevmoo Apr 8, 2020
9451246
Fix a failing test on mac (dart-lang/path#75)
natebosch Apr 8, 2020
a8bf57e
Document that absolute does not normalize (dart-lang/path#80)
natebosch May 14, 2020
d1ef843
Enable and fix comment_references lint (dart-lang/path#81)
natebosch May 18, 2020
96990c0
Remove avoid_redundant_argument_values lint (dart-lang/path#86)
kevmoo Jun 3, 2020
0610f1b
Refactor a List.generate to List.filled (dart-lang/path#87)
natebosch Jun 4, 2020
40f285e
Merge null_safety branch into master (dart-lang/path#89)
jakemac53 Jul 14, 2020
d567a47
update for the 2.10 dev sdk (dart-lang/path#90)
jakemac53 Jul 22, 2020
32182a6
Travis-CI: switch to use dev SDK (dart-lang/path#91)
kevmoo Jul 22, 2020
9c6e4bb
Prepare for the 2.11 dev SDKs (dart-lang/path#93)
natebosch Sep 22, 2020
c768afc
Cleanup dependencies, remove build.yaml (dart-lang/path#94)
kevmoo Sep 24, 2020
b11bd00
allow the 2.12 prerelease sdks (dart-lang/path#95)
jakemac53 Oct 23, 2020
bca81dd
Bump SDK constraints for pub (dart-lang/path#96)
natebosch Nov 3, 2020
e6da0d9
Move from Travis to GitHub actions for CI (dart-lang/path#98)
kevmoo Nov 13, 2020
4793abe
GH actions: use pub run test, print dart version (dart-lang/path#99)
kevmoo Nov 16, 2020
f13a947
Prepare to publish for stable null safety (dart-lang/path#104)
natebosch Feb 2, 2021
193ae82
Drop unnecessary constructors (dart-lang/path#105)
natebosch Feb 9, 2021
25106a8
Update LICENSE (dart-lang/path#107)
franklinyow Apr 2, 2021
25d6f9a
Update ci.yml (dart-lang/path#109)
kevmoo Apr 23, 2021
e089806
Move from pedantic to lints package (dart-lang/path#111)
natebosch Jul 22, 2021
b28f107
Don't crash on p.toUri('') (dart-lang/path#114)
nex3 Dec 14, 2021
b94c6d7
enable the avoid_dynamic_calls lint (dart-lang/path#119)
devoncarew Feb 16, 2022
0f04acb
Switch from homepage to repository in pubspec (dart-lang/path#122)
devoncarew Apr 20, 2022
3ea385c
Prep for publishing 1.8.2 (dart-lang/path#123)
devoncarew May 18, 2022
5590c8c
Update README.md (dart-lang/path#125)
devoncarew May 31, 2022
aa2f7da
Update README.md (dart-lang/path#126)
saintgabriel0 Jun 6, 2022
d5a0af5
Fix typo (dart-lang/path#127)
mihiron Jul 18, 2022
d7052f4
blast_repo fixes (dart-lang/path#129)
kevmoo Nov 9, 2022
0e6830d
Support more arguments in path.join API (dart-lang/path#130)
hellohuanlin Nov 14, 2022
8bffec0
Bump actions/checkout from 3.1.0 to 3.2.0 (dart-lang/path#132)
dependabot[bot] Jan 3, 2023
1bd3f6a
Migrate from no-implicit-casts to strict-casts (dart-lang/path#133)
srawlins Jan 9, 2023
6f4249b
Bump dart-lang/setup-dart from 1.3 to 1.4 (dart-lang/path#135)
dependabot[bot] Feb 1, 2023
1049416
Bump actions/checkout from 3.2.0 to 3.3.0 (dart-lang/path#134)
dependabot[bot] Feb 1, 2023
c4ed711
blast_repo fixes (dart-lang/path#137)
kevmoo Feb 18, 2023
2eb37a3
Move to team lints, require Dart 2.19 (dart-lang/path#138)
kevmoo Feb 20, 2023
165e5ad
Bump dart-lang/setup-dart from 1.4.0 to 1.5.0 (dart-lang/path#139)
dependabot[bot] Apr 3, 2023
c6ee49f
Bump actions/checkout from 3.3.0 to 3.5.0 (dart-lang/path#140)
dependabot[bot] Apr 3, 2023
292d73c
fixed mistake in split method doc comment (dart-lang/path#141)
TheUltimateOptimist May 1, 2023
c59fa93
Bump actions/checkout from 3.5.0 to 3.5.2 (dart-lang/path#142)
dependabot[bot] May 1, 2023
099fb5b
blast_repo fixes (dart-lang/path#144)
devoncarew May 10, 2023
b62bb65
Require Dart 3.0, update lints (dart-lang/path#146)
kevmoo Jun 8, 2023
9bd8dd9
Bump actions/checkout from 3.5.2 to 3.5.3 (dart-lang/path#147)
dependabot[bot] Jul 1, 2023
f571c4a
Handle escaped colons in Windows file:// URIs (dart-lang/path#149)
DanTup Aug 9, 2023
904ad9e
Bump actions/checkout from 3.5.3 to 3.6.0 (dart-lang/path#150)
dependabot[bot] Sep 1, 2023
b260653
Bump dart-lang/setup-dart from 1.5.0 to 1.5.1 (dart-lang/path#151)
dependabot[bot] Oct 1, 2023
969e348
Bump actions/checkout from 3.6.0 to 4.1.0 (dart-lang/path#152)
dependabot[bot] Oct 3, 2023
9206565
Bump actions/checkout from 4.1.0 to 4.1.1 (dart-lang/path#154)
dependabot[bot] Nov 1, 2023
541f0cc
Bump dart-lang/setup-dart from 1.5.1 to 1.6.0 (dart-lang/path#153)
dependabot[bot] Nov 1, 2023
484f29d
rev the version of lints used; prep for publishing (dart-lang/path#155)
devoncarew Dec 5, 2023
31f3e1d
blast_repo fixes (dart-lang/path#156)
kevmoo Dec 20, 2023
115ed35
Bump actions/stale from 8.0.0 to 9.0.0 (dart-lang/path#157)
dependabot[bot] Jan 1, 2024
d2eebb6
Bump dart-lang/setup-dart from 1.6.0 to 1.6.2 (dart-lang/path#158)
dependabot[bot] Feb 1, 2024
16566c1
Test on dart2wasm (dart-lang/path#159)
kevmoo Feb 1, 2024
07e454f
Bump actions/checkout from 4.1.1 to 4.1.2 (dart-lang/path#160)
dependabot[bot] Apr 1, 2024
9f8badb
Bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (dart-lang/path#161)
dependabot[bot] May 1, 2024
99e6a88
Bump actions/checkout from 4.1.2 to 4.1.4 (dart-lang/path#162)
dependabot[bot] May 1, 2024
027faa0
blast_repo fixes (dart-lang/path#163)
devoncarew May 9, 2024
3143853
Bump actions/checkout from 4.1.4 to 4.1.5 in the github-actions group…
dependabot[bot] May 9, 2024
137bd5d
Add `topics` to `pubspec.yaml` (dart-lang/path#165)
szakarias May 21, 2024
c8ff1d5
Bump actions/checkout from 4.1.5 to 4.1.6 in the github-actions group…
dependabot[bot] Jun 1, 2024
bb41c34
Update to latest lints, bump min SDK to 3.4, test wasm on 3.4 (dart-l…
kevmoo Jun 10, 2024
2098755
Bump the github-actions group with 2 updates (dart-lang/path#169)
dependabot[bot] Jul 1, 2024
600817a
Merge package:path into the core monorepo
mosuem Oct 16, 2024
903e5cd
Add issue template and other fixes
mosuem Oct 16, 2024
bab3e3c
Moving fixes
mosuem Oct 16, 2024
ad17462
Merge branch 'main' into merge-path-package
mosuem Oct 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/path.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
name: "package:path"
about: "Create a bug or file a feature request against package:path."
labels: "package:path"
---
4 changes: 4 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,7 @@
"package:os_detect":
- changed-files:
- any-glob-to-any-file: 'pkgs/os_detect/**'

"package:path":
- changed-files:
- any-glob-to-any-file: 'pkgs/path/**'
64 changes: 64 additions & 0 deletions .github/workflows/path.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
name: package:path

on:
# Run CI on pushes to the main branch, and on PRs against main.
push:
branches: [ main ]
paths:
- '.github/workflows/path.yaml'
- 'pkgs/path/**'
pull_request:
branches: [ main ]
paths:
- '.github/workflows/path.yaml'
- 'pkgs/path/**'
schedule:
- cron: "0 0 * * 0"
env:
PUB_ENVIRONMENT: bot.github

defaults:
run:
working-directory: pkgs/path/

jobs:
# Check code formatting and static analysis on a single OS (linux)
# against Dart dev and stable.
analyze:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
sdk: [dev]
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672
with:
sdk: ${{ matrix.sdk }}
- id: install
name: Install dependencies
run: dart pub get
- name: Check formatting
run: dart format --output=none --set-exit-if-changed .
if: always() && steps.install.outcome == 'success'
- name: Analyze code
run: dart analyze --fatal-infos
if: always() && steps.install.outcome == 'success'

test:
needs: analyze
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
sdk: [3.4, dev]
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672
with:
sdk: ${{ matrix.sdk }}
- run: dart pub get
- run: dart test --platform vm,chrome
- name: Run Chrome tests - wasm
run: dart test --platform chrome --compiler dart2wasm
if: always() && steps.install.outcome == 'success'
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ This repository is home to various Dart packages under the [dart.dev](https://pu
| [fixnum](pkgs/fixnum/) | Library for 32- and 64-bit signed fixed-width integers. | [![pub package](https://img.shields.io/pub/v/fixnum.svg)](https://pub.dev/packages/fixnum) |
| [logging](pkgs/logging/) | Provides APIs for debugging and error logging. | [![pub package](https://img.shields.io/pub/v/logging.svg)](https://pub.dev/packages/logging) |
| [os_detect](pkgs/os_detect/) | Platform independent OS detection. | [![pub package](https://img.shields.io/pub/v/os_detect.svg)](https://pub.dev/packages/os_detect) |
| [path](pkgs/path/) | A string-based path manipulation library for all of the path operations you know and love. | [![pub package](https://img.shields.io/pub/v/path.svg)](https://pub.dev/packages/path) |

## Publishing automation

Expand Down
16 changes: 16 additions & 0 deletions pkgs/path/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Don’t commit the following directories created by pub.
.buildlog
.pub/
.dart_tool/
.idea/
build/
.packages

# Or the files created by dart2js.
*.dart.js
*.js_
*.js.deps
*.js.map

# Include when developing application packages.
pubspec.lock
186 changes: 186 additions & 0 deletions pkgs/path/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,186 @@
## 1.9.1

- Require Dart 3.4
- Move to `dart-lang/core` monorepo.

## 1.9.0

* Allow percent-encoded colons (`%3a`) in drive letters in `fromUri`.
* Fixed an issue with the `split` method doc comment.
* Require Dart 3.0

## 1.8.3

* Support up to 16 arguments in join function and up to 15 arguments in absolute function.

## 1.8.2

* Enable the `avoid_dynamic_calls` lint.
* Populate the pubspec `repository` field.

## 1.8.1

* Don't crash when an empty string is passed to `toUri()`.

## 1.8.0

* Stable release for null safety.

## 1.8.0-nullsafety.3

* Update SDK constraints to `>=2.12.0-0 <3.0.0` based on beta release
guidelines.

## 1.8.0-nullsafety.2

* Allow prerelease versions of the 2.12 sdk.

## 1.8.0-nullsafety.1

* Allow 2.10 stable and 2.11.0 dev SDK versions.

## 1.8.0-nullsafety

* Migrate to null safety.

## 1.7.0

* Add support for multiple extension in `context.extension()`.

## 1.6.4

* Fixed a number of lints that affect the package health score.

* Added an example.

## 1.6.3

* Don't throw a FileSystemException from `current` if the working directory has
been deleted, but we have a cached one we can use.

## 1.6.2

* Set max SDK version to `<3.0.0`, and adjust other dependencies.

## 1.6.1

* Drop the `retype` implementation for compatibility with the latest SDK.

## 1.6.0

* Add a `PathMap` class that uses path equality for its keys.

* Add a `PathSet` class that uses path equality for its contents.

## 1.5.1

* Fix a number of bugs that occurred when the current working directory was `/`
on Linux or Mac OS.

## 1.5.0

* Add a `setExtension()` top-level function and `Context` method.

## 1.4.2

* Treat `package:` URLs as absolute.

* Normalize `c:\foo\.` to `c:\foo`.

## 1.4.1

* Root-relative URLs like `/foo` are now resolved relative to the drive letter
for `file` URLs that begin with a Windows-style drive letter. This matches the
[WHATWG URL specification][].

[WHATWG URL specification]: https://url.spec.whatwg.org/#file-slash-state

* When a root-relative URLs like `/foo` is converted to a Windows path using
`fromUrl()`, it is now resolved relative to the drive letter. This matches
IE's behavior.

## 1.4.0

* Add `equals()`, `hash()` and `canonicalize()` top-level functions and
`Context` methods. These make it easier to treat paths as map keys.

* Properly compare Windows paths case-insensitively.

* Further improve the performance of `isWithin()`.

## 1.3.9

* Further improve the performance of `isWithin()` when paths contain `/.`
sequences that aren't `/../`.

## 1.3.8

* Improve the performance of `isWithin()` when the paths don't contain
asymmetrical `.` or `..` components.

* Improve the performance of `relative()` when `from` is `null` and the path is
already relative.

* Improve the performance of `current` when the current directory hasn't
changed.

## 1.3.7

* Improve the performance of `absolute()` and `normalize()`.

## 1.3.6

* Ensure that `path.toUri` preserves trailing slashes for relative paths.

## 1.3.5

* Added type annotations to top-level and static fields.

## 1.3.4

* Fix dev_compiler warnings.

## 1.3.3

* Performance improvement in `Context.relative` - don't call `current` if `from`
is not relative.

## 1.3.2

* Fix some analyzer hints.

## 1.3.1

* Add a number of performance improvements.

## 1.3.0

* Expose a top-level `context` field that provides access to a `Context` object
for the current system.

## 1.2.3

* Don't cache path Context based on cwd, as cwd involves a system-call to
compute.

## 1.2.2

* Remove the documentation link from the pubspec so this is linked to
pub.dev by default.

# 1.2.1

* Many members on `Style` that provided access to patterns and functions used
internally for parsing paths have been deprecated.

* Manually parse paths (rather than using RegExps to do so) for better
performance.

# 1.2.0

* Added `path.prettyUri`, which produces a human-readable representation of a
URI.

# 1.1.0

* `path.fromUri` now accepts strings as well as `Uri` objects.
27 changes: 27 additions & 0 deletions pkgs/path/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
Copyright 2014, the Dart project authors.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:

* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided
with the distribution.
* Neither the name of Google LLC nor the names of its
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Loading
Loading