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

feat(ts): allow readonly arrays #15

Merged
merged 1 commit into from
Feb 9, 2022
Merged

feat(ts): allow readonly arrays #15

merged 1 commit into from
Feb 9, 2022

Conversation

SimenB
Copy link
Contributor

@SimenB SimenB commented Feb 9, 2022

Consumers can still pass mutable ones as they extend with mutable functions, but this allows be to also pass readonly ones

@lukeed lukeed merged commit 587b0ba into lukeed:master Feb 9, 2022
@SimenB SimenB deleted the patch-1 branch February 9, 2022 20:05
github-actions bot pushed a commit to okikio/resolve.imports that referenced this pull request Jan 1, 2023
# 1.0.0 (2023-01-01)

### Bug Fixes

* allow conditions in directory mapping ([lukeed#2](https://github.com/okikio/resolve.imports/issues/2)) ([a881ef8](a881ef8)), closes [lukeed#1](https://github.com/okikio/resolve.imports/issues/1)
* check subpattern length correctly; ([81ae07a](81ae07a)), closes [lukeed#4](https://github.com/okikio/resolve.imports/issues/4)
* consolidate `Set` initializer ([9daed2a](9daed2a))
* ignore "import" condition when `requires` enabled ([dcff185](dcff185))
* tests ([567fde6](567fde6))
* tests ([758b7b5](758b7b5))
* throw "no conditions" error ([0fe321b](0fe321b))

### Features

* add `legacy` method for non-exports fields ([ce7ca85](ce7ca85))
* add `unsafe` option ([lukeed#13](https://github.com/okikio/resolve.imports/issues/13)) ([0b69d12](0b69d12))
* directory/subpath mapping; ([9e66106](9e66106))
* handle "browser" files object ([a1374ea](a1374ea))
* support mixed path/conditions (array) ([f74e3c5](f74e3c5))
* **types:** allow `readonly` and `const` arrays in options ([lukeed#15](https://github.com/okikio/resolve.imports/issues/15)) ([587b0ba](587b0ba))
github-actions bot pushed a commit to okikio/resolve.imports that referenced this pull request Jan 1, 2023
# 1.0.0 (2023-01-01)

### Bug Fixes

* allow conditions in directory mapping ([lukeed#2](https://github.com/okikio/resolve.imports/issues/2)) ([a881ef8](a881ef8)), closes [lukeed#1](https://github.com/okikio/resolve.imports/issues/1)
* check subpattern length correctly; ([81ae07a](81ae07a)), closes [lukeed#4](https://github.com/okikio/resolve.imports/issues/4)
* consolidate `Set` initializer ([9daed2a](9daed2a))
* forgot to make pkg public ([3fa0663](3fa0663))
* ignore "import" condition when `requires` enabled ([dcff185](dcff185))
* tests ([567fde6](567fde6))
* tests ([758b7b5](758b7b5))
* throw "no conditions" error ([0fe321b](0fe321b))

### Features

* add `legacy` method for non-exports fields ([ce7ca85](ce7ca85))
* add `unsafe` option ([lukeed#13](https://github.com/okikio/resolve.imports/issues/13)) ([0b69d12](0b69d12))
* directory/subpath mapping; ([9e66106](9e66106))
* fork resolve.exports into resolve.imports for resolving subpath imports ([bd505cd](bd505cd))
* generate changelog ([bc66266](bc66266))
* handle "browser" files object ([a1374ea](a1374ea))
* support mixed path/conditions (array) ([f74e3c5](f74e3c5))
* **types:** allow `readonly` and `const` arrays in options ([lukeed#15](https://github.com/okikio/resolve.imports/issues/15)) ([587b0ba](587b0ba))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants