File tree Expand file tree Collapse file tree 4 files changed +15
-0
lines changed
Expand file tree Collapse file tree 4 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -133,6 +133,8 @@ jobs:
133133 - name : Manually install labextension for lab2
134134 if : ${{ matrix.jlab_version }} == 2.3.2
135135 run : jupyter labextension install --debug .
136+ env :
137+ NODE_OPTIONS : --openssl-legacy-provider
136138
137139 - name : Test installation files
138140 run : |
Original file line number Diff line number Diff line change 6868 },
6969 "jupyterlab" : {
7070 "extension" : " lib/plugin" ,
71+ "webpackConfig" : " webpack.lab.config.js" ,
7172 "outputDir" : " ipycanvas/labextension" ,
7273 "sharedPackages" : {
7374 "@jupyter-widgets/base" : {
Original file line number Diff line number Diff line change 11const path = require ( 'path' ) ;
22const version = require ( './package.json' ) . version ;
3+ const crypto = require ( 'crypto' ) ;
4+
5+ // Workaround for loaders using "md4" by default, which is not supported in FIPS-compliant OpenSSL
6+ const cryptoOrigCreateHash = crypto . createHash ;
7+ crypto . createHash = ( algorithm ) =>
8+ cryptoOrigCreateHash ( algorithm == 'md4' ? 'sha256' : algorithm ) ;
39
410// Custom webpack rules
511const rules = [
Original file line number Diff line number Diff line change 1+ const crypto = require ( 'crypto' ) ;
2+
3+ // Workaround for loaders using "md4" by default, which is not supported in FIPS-compliant OpenSSL
4+ const cryptoOrigCreateHash = crypto . createHash ;
5+ crypto . createHash = ( algorithm ) =>
6+ cryptoOrigCreateHash ( algorithm == 'md4' ? 'sha256' : algorithm ) ;
You can’t perform that action at this time.
0 commit comments