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

webpack: legobeat develop branch #18042

Closed
wants to merge 22 commits into from

Conversation

legobeat
Copy link
Contributor

@legobeat legobeat commented Mar 8, 2023

WIP: opened as requested by @brad-decker

Based on #17872

legobeat added 9 commits March 7, 2023 19:14
I am not sure what the intention and direction is here. Getting the
following error without reverting:

```
$ yarn build dist
Running task "dist"...
Starting 'dist'...
Starting 'clean'...
Finished 'clean'
Starting 'styles:prod'...
LavaMoat: ignoring write attempt to read-access global "process"
LavaMoat: ignoring write attempt to read-access global "__dirname"
LavaMoat: ignoring write attempt to read-access global "__filename"
LavaMoat: ignoring write attempt to read-access global "Buffer"
[Error: Missing error message
  at new PluginError (/app/node_modules/plugin-error/index.js:64:11)
  at errorM (/app/node_modules/gulp-dart-sass/index.js:123:15)
  at callback (/app/node_modules/gulp-dart-sass/index.js:132:16)
  at eval (/app/node_modules/sass/sass.dart.js:22:46)
  at Function.call$2 (/app/node_modules/sass/sass.dart.js:93648:16)
  at _render_closure1.call$2 (/app/node_modules/sass/sass.dart.js:82008:12)
  at _RootZone.runBinary$3$3 (/app/node_modules/sass/sass.dart.js:27548:18)
  at _FutureListener.handleError$1 (/app/node_modules/sass/sass.dart.js:26097:19)
  at _Future__propagateToListeners_handleError.call$0 (/app/node_modules/sass/sass.dart.js:26395:49)
  at Object._Future__propagateToListeners (/app/node_modules/sass/sass.dart.js:4548:77)] {
  dartException: <ref *1> {
    '$cachedTrace': _StackTrace {
      _exception: [Circular *1],
      _trace: 'Error: Missing error message\n' +
        '  at new PluginError (/app/node_modules/plugin-error/index.js:64:11)\n' +
        '  at errorM (/app/node_modules/gulp-dart-sass/index.js:123:15)\n' +
        '  at callback (/app/node_modules/gulp-dart-sass/index.js:132:16)\n' +
        '  at eval (/app/node_modules/sass/sass.dart.js:22:46)\n' +
        '  at Function.call$2 (/app/node_modules/sass/sass.dart.js:93648:16)\n' +
        '  at _render_closure1.call$2 (/app/node_modules/sass/sass.dart.js:82008:12)\n' +
        '  at _RootZone.runBinary$3$3 (/app/node_modules/sass/sass.dart.js:27548:18)\n' +
        '  at _FutureListener.handleError$1 (/app/node_modules/sass/sass.dart.js:26097:19)\n' +
        '  at _Future__propagateToListeners_handleError.call$0 (/app/node_modules/sass/sass.dart.js:26395:49)\n' +
        '  at Object._Future__propagateToListeners (/app/node_modules/sass/sass.dart.js:4548:77)'
    }
  }
}
```

MetaMask#17872 (review)
Motivation: Make this function reusable for webpack without needing to
solve for the livereload interface
@legobeat legobeat requested a review from brad-decker March 8, 2023 00:43
@github-actions
Copy link
Contributor

github-actions bot commented Mar 8, 2023

CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes.

@socket-security
Copy link

Socket Security Pull Request Report

Dependency issues detected: If you merge this pull request, you will not be alerted to the instances of these issues again.

📜 Install scripts

Install scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.

Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead.

Package Script field Source
[email protected] (added) postinstall package.json via [email protected]
Pull request report summary
Issue Status
Install scripts ⚠️ 1 issue
Native code ✅ 0 issues
Bin script shell injection ✅ 0 issues
Unresolved require ✅ 0 issues
Invalid package.json ✅ 0 issues
HTTP dependency ✅ 0 issues
Git dependency ✅ 0 issues
Potential typo squat ✅ 0 issues
Known Malware ✅ 0 issues
Telemetry ✅ 0 issues
Protestware/Troll package ✅ 0 issues
Bot Commands

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of package-name@version specifiers. e.g. @SocketSecurity ignore [email protected] bar@* or ignore all packages with @SocketSecurity ignore-all

Powered by socket.dev

@github-actions
Copy link
Contributor

This PR has been automatically marked as stale because it has not had recent activity in the last 60 days. It will be closed in 14 days. Thank you for your contributions.

@github-actions github-actions bot added the stale issues and PRs marked as stale label Jul 20, 2023
@legobeat legobeat closed this Jul 26, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Jul 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
stale issues and PRs marked as stale
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant