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

deps: bump electron-log from 5.0.3 to 5.1.0 #1275

Merged
merged 1 commit into from
Jan 24, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 24, 2024

Bumps electron-log from 5.0.3 to 5.1.0.

Changelog

Sourced from electron-log's changelog.

5.1.0

  • New entry point for NW.js / Node.js apps: 'electron-log/node'

5.0.0

Core

  • Now it's a time to use modern ES instead of ES5. It was a joy to use old-fashioned ES5, but since the library grows it becomes harder to follow its restrictions. Starting from v5 the library requires Node.js 14+ or Electron 13 at least.
  • Now a renderer process just sends log data to the main through IPC, so only the main logger can be configured. See initialize for more information
  • A new tranforms property is added for each transport. It allows to configure transformations preformed on message data. See transforms for more information.
  • log.create(logId) is replaced by log.create({ logId })

File transport

  • archiveLog options is renamed to archiveLogFn
  • resolvePath options is renamed to resolvePathFn
  • All logs are written to main.log file. If you want to write renderer logs to a separated file, you can do that by overriding resolvePathFn

Console transport

  • writeFn callback is added. By default, it just passes message.data to console.log function

Remote transport

  • onError is renamed to processErrorFn({ error, message, request })
  • transformBody is renamed to makeBodyFn({ logger, message, transport })

Electron event logger

To simplify app debugging the Electron event logging was implemented.

4.4.0

  • Disable auto-loading of electron-log in the main process for using by ipc transport

4.3.0

  • Add transport.file.inspectOptions
  • transport.file.depth is deprecated

... (truncated)

Commits
  • ba23a9a 5.1.0
  • c35ba87 feat: Enabled ipc transport again, fixes #395
  • 4c719e2 fix(transform): Transform data and primirives correctly, fixes #394
  • 0f9d340 refactor(main): Separate electron API Node.js api (#392)
  • f1844e0 chore(e2e): Skip vite-isolation-context-sandbox on node14
  • 9dcfda7 chore(e2e): Don't run ESM tests for Electron < 28
  • ae1f0d6 fix: Allow using in ESM bundled by Vite (electron loading workaround) #390
  • a8448c9 5.0.4
  • af7b7a0 fix: Allow using in ESM bundled by Vite #390
  • 3526fec feat(e2e): Add esbuild-esm test
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jan 24, 2024
@dependabot dependabot bot requested review from bajtos and juliangruber January 24, 2024 02:43
@github-actions github-actions bot enabled auto-merge (squash) January 24, 2024 02:43
Copy link

socket-security bot commented Jan 24, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/[email protected] environment, filesystem, network, shell 0 127 kB megahertz

🚮 Removed packages: npm/[email protected]

View full report↗︎

Bumps [electron-log](https://github.com/megahertz/electron-log) from 5.0.3 to 5.1.0.
- [Changelog](https://github.com/megahertz/electron-log/blob/master/CHANGELOG.md)
- [Commits](megahertz/electron-log@v5.0.3...v5.1.0)

---
updated-dependencies:
- dependency-name: electron-log
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/electron-log-5.1.0 branch from e6e0fad to e6394fd Compare January 24, 2024 03:14
@github-actions github-actions bot merged commit df9bdf7 into main Jan 24, 2024
30 of 31 checks passed
@github-actions github-actions bot deleted the dependabot/npm_and_yarn/electron-log-5.1.0 branch January 24, 2024 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant