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: add unsafe option #13

Merged
merged 3 commits into from
Oct 15, 2021
Merged

feat: add unsafe option #13

merged 3 commits into from
Oct 15, 2021

Conversation

lukeed
Copy link
Owner

@lukeed lukeed commented Oct 14, 2021

Closes #12

Note: needs readme docs still

@codecov-commenter
Copy link

codecov-commenter commented Oct 14, 2021

Codecov Report

Merging #13 (96ceb8b) into master (c6814c4) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master       #13   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines           51        51           
=========================================
  Hits            51        51           
Impacted Files Coverage Δ
src/index.js 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c6814c4...96ceb8b. Read the comment docs.

index.d.ts Outdated Show resolved Hide resolved
@lukeed lukeed merged commit 0b69d12 into master Oct 15, 2021
@lukeed lukeed deleted the feat/unsafe branch October 15, 2021 00:59
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.

Do not add default node, browser, require or import conditions
4 participants