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!(win32): allow install and just no-op unsupported operations #288

Merged
merged 4 commits into from
Aug 11, 2021

Conversation

hertzg
Copy link
Owner

@hertzg hertzg commented Aug 10, 2021

Just to allow installs on windows, refactored a bit the ffi to provide "no-op" methods instead of actual ffi calls.
This would be considered as a breaking change and will cause a new major version release.

Ref: #264

@hertzg hertzg linked an issue Aug 10, 2021 that may be closed by this pull request
@hertzg
Copy link
Owner Author

hertzg commented Aug 10, 2021

Waiting for GitHub actions incident to resolve and service to be back up before merging.

https://www.githubstatus.com/incidents/lc8s9rtyjmgq

@hertzg hertzg changed the title feat: noop on win32 feat!: noop on win32 Aug 10, 2021
@codecov
Copy link

codecov bot commented Aug 11, 2021

Codecov Report

Merging #288 (e85b7ad) into master (c282b98) will decrease coverage by 1.49%.
The diff coverage is 93.10%.

Impacted file tree graph

@@             Coverage Diff             @@
##            master     #288      +/-   ##
===========================================
- Coverage   100.00%   98.50%   -1.50%     
===========================================
  Files            4        4              
  Lines          118      134      +16     
===========================================
+ Hits           118      132      +14     
- Misses           0        2       +2     
Impacted Files Coverage Δ
lib/ffi-bindings.js 93.75% <92.00%> (-6.25%) ⬇️
lib/constants.js 100.00% <100.00%> (ø)
lib/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 e290671...e85b7ad. Read the comment docs.

@hertzg hertzg changed the title feat!: noop on win32 feat!(win32): allow install and just no-op unsupported operations Aug 11, 2021
@hertzg hertzg merged commit 5ce3240 into master Aug 11, 2021
hertzg added a commit that referenced this pull request Aug 11, 2021
* feat: allow windows installs

all the methods are no-op on windows always returning false

* feat: run actions on windows

* chore: update docs

* feat!: guard against nullish descriptors
github-actions bot pushed a commit that referenced this pull request Aug 11, 2021
## [3.0.0](v2.1.0...v3.0.0) (2021-08-11)

### ⚠ BREAKING CHANGES

* **win32:** allow install and just no-op unsupported operations (#288)

### Features

* **win32:** allow install and just no-op unsupported operations ([#288](#288)) ([6a6f9b8](6a6f9b8))
@hertzg hertzg deleted the feat-noop-on-win32 branch October 6, 2021 12:40
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.

Allow installs on windows by no-oping functions
1 participant