Skip to content
This repository has been archived by the owner on Sep 9, 2021. It is now read-only.

refactor(index): remove Tapable.apply calls #121

Merged
merged 2 commits into from
Apr 23, 2018

Conversation

ooflorent
Copy link
Contributor

@ooflorent ooflorent commented Jan 23, 2018

Tapable.apply is deprecated in tapable@1.0.0-x.
The plugins should now call apply themselves.

Fixes #136

@jsf-clabot
Copy link

jsf-clabot commented Jan 23, 2018

CLA assistant check
All committers have signed the CLA.

src/index.js Outdated

const subCache = `subcache ${__dirname} ${request}`;

// TODO use `worker.compiler.hooks.compilation.tap()` instead
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is more subtle than this: the next branch must use webpack@4 before.

Copy link
Member

@michael-ciniawsky michael-ciniawsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thx

Copy link
Member

@alexander-akait alexander-akait left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ooflorent this is work on webpack 3 and/or 2? Maybe also next branch?

@ooflorent
Copy link
Contributor Author

@evilebottnawi apply works on v3 and v4 (next branch). Using hooks require v4.

@alexander-akait
Copy link
Member

@ooflorent thanks for clarify, need accept CLA 😄

@ooflorent
Copy link
Contributor Author

@evilebottnawi done

@switz
Copy link

switz commented Mar 15, 2018

@ooflorent looks like the CLA isn't signed yet according to clabot.

@alexander-akait
Copy link
Member

All fine.
/cc @michael-ciniawsky

@ooflorent
Copy link
Contributor Author

I've updated the PR to target master since webpack 4 compatibility has been added.

@switz switz mentioned this pull request Mar 28, 2018
@shellscape
Copy link
Contributor

shellscape commented Apr 6, 2018

@ooflorent this is going to need an upstream rebase to pass CI unfortunately.

@renchap
Copy link
Contributor

renchap commented Apr 17, 2018

Any news on this?

@WhoAteDaCake
Copy link

Is there anything stopping from this being merged?

@shellscape
Copy link
Contributor

shellscape commented Apr 20, 2018

@WhoAteDaCake yes, as clearly indicated by the conversation and comment made on this PR 14 days ago. please do refrain from comments with questions such as that and the previous "Any news on this?" They don't contribute anything meaningful to the PR or associated issue. The submitter (@ooflorent in this case) will have already been aware of the last comment requesting additional work and they'll come back to it when they have the time available to do so.

@ooflorent
Copy link
Contributor Author

I've rebased the PR.

@codecov
Copy link

codecov bot commented Apr 23, 2018

Codecov Report

Merging #121 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #121   +/-   ##
=======================================
  Coverage   66.21%   66.21%           
=======================================
  Files           5        5           
  Lines          74       74           
  Branches       25       25           
=======================================
  Hits           49       49           
  Misses         22       22           
  Partials        3        3
Impacted Files Coverage Δ
src/index.js 88.88% <100%> (ø) ⬆️

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 c4c00e5...bdbd270. Read the comment docs.

@shellscape shellscape merged commit 04bc4ff into webpack-contrib:master Apr 23, 2018
@mikegreiling
Copy link

@shellscape or @d3viant0ne Could we get a new version tagged with this change, please? This is the only remaining loader/plugin in my webpack config that is still throwing deprecation warnings in webpack v4 and it's driving me nuts 😅

🙏

TheLD6978 pushed a commit to TheLD6978/worker-loader that referenced this pull request Apr 16, 2021
* Remove Tapable.apply calls

* chore: add code comment for clarity, trigger circle
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants