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

chore(deps): update devdependencies #1120

Merged
merged 1 commit into from
Jul 1, 2022
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 1, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
esbuild ~0.14.47 -> ~0.14.48 age adoption passing confidence
eslint-plugin-prettier ~4.1.0 -> ~4.2.1 age adoption passing confidence

Release Notes

evanw/esbuild

v0.14.48

Compare Source

  • Enable using esbuild in Deno via WebAssembly (#​2323)

    The native implementation of esbuild is much faster than the WebAssembly version, but some people don't want to give Deno the --allow-run permission necessary to run esbuild and are ok waiting longer for their builds to finish when using the WebAssembly backend. With this release, you can now use esbuild via WebAssembly in Deno. To do this you will need to import from wasm.js instead of mod.js:

    import * as esbuild from 'https://deno.land/x/[email protected]/wasm.js'
    const ts = 'let test: boolean = true'
    const result = await esbuild.transform(ts, { loader: 'ts' })
    console.log('result:', result)

    Make sure you run Deno with --allow-net so esbuild can download the WebAssembly module. Using esbuild like this starts up a worker thread that runs esbuild in parallel (unless you call esbuild.initialize({ worker: false }) to tell esbuild to run on the main thread). If you want to, you can call esbuild.stop() to terminate the worker if you won't be using esbuild anymore and you want to reclaim the memory.

    Note that Deno appears to have a bug where background WebAssembly optimization can prevent the process from exiting for many seconds. If you are trying to use Deno and WebAssembly to run esbuild quickly, you may need to manually call Deno.exit(0) after your code has finished running.

  • Add support for font file MIME types (#​2337)

    This release adds support for font file MIME types to esbuild, which means they are now recognized by the built-in local web server and they are now used when a font file is loaded using the dataurl loader. The full set of newly-added file extension MIME type mappings is as follows:

    • .eot => application/vnd.ms-fontobject
    • .otf => font/otf
    • .sfnt => font/sfnt
    • .ttf => font/ttf
    • .woff => font/woff
    • .woff2 => font/woff2
  • Remove "use strict"; when targeting ESM (#​2347)

    All ES module code is automatically in strict mode, so a "use strict"; directive is unnecessary. With this release, esbuild will now remove the "use strict"; directive if the output format is ESM. This change makes the generated output file a few bytes smaller:

    // Original code
    'use strict'
    export let foo = 123
    
    // Old output (with --format=esm --minify)
    "use strict";let t=123;export{t as foo};
    
    // New output (with --format=esm --minify)
    let t=123;export{t as foo};
  • Attempt to have esbuild work with Deno on FreeBSD (#​2356)

    Deno doesn't support FreeBSD, but it's possible to build Deno for FreeBSD with some additional patches on top. This release of esbuild changes esbuild's Deno installer to download esbuild's FreeBSD binary in this situation. This configuration is unsupported although in theory everything should work.

  • Add some more target JavaScript engines (#​2357)

    This release adds the Rhino and Hermes JavaScript engines to the set of engine identifiers that can be passed to the --target flag. You can use this to restrict esbuild to only using JavaScript features that are supported on those engines in the output files that esbuild generates.

prettier/eslint-plugin-prettier

v4.2.1

Compare Source

Patch Changes

v4.2.0

Compare Source

Minor Changes

Configuration

📅 Schedule: Branch creation - "before 2am" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot requested a review from a team as a code owner July 1, 2022 00:28
@renovate renovate bot added the c: dependencies Pull requests that adds/updates a dependency label Jul 1, 2022
@codecov
Copy link

codecov bot commented Jul 1, 2022

Codecov Report

Merging #1120 (0eefe5c) into main (d183048) will decrease coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1120      +/-   ##
==========================================
- Coverage   99.65%   99.64%   -0.02%     
==========================================
  Files        2146     2146              
  Lines      230393   230393              
  Branches      983      977       -6     
==========================================
- Hits       229605   229577      -28     
- Misses        767      795      +28     
  Partials       21       21              
Impacted Files Coverage Δ
src/modules/internet/user-agent.ts 86.37% <0.00%> (-6.38%) ⬇️
src/modules/name/index.ts 98.91% <0.00%> (-1.09%) ⬇️
src/modules/finance/index.ts 99.31% <0.00%> (-0.69%) ⬇️

@import-brain import-brain added this to the v7 - Current Major milestone Jul 1, 2022
import-brain
import-brain previously approved these changes Jul 1, 2022
@import-brain import-brain requested a review from a team July 1, 2022 00:59
@Shinigami92 Shinigami92 merged commit 3519b34 into main Jul 1, 2022
@Shinigami92 Shinigami92 deleted the renovate/devdependencies branch July 1, 2022 06:58
Minozzzi pushed a commit to Minozzzi/faker that referenced this pull request Jul 19, 2022
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: dependencies Pull requests that adds/updates a dependency
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants