Skip to content

feat(deps): update swc monorepo#902

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/swc-monorepo
Open

feat(deps): update swc monorepo#902
renovate[bot] wants to merge 1 commit intomainfrom
renovate/swc-monorepo

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Aug 6, 2023

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
@swc-node/jest ^1.5.6^1.9.1 age confidence
@swc/core (source) ^1.3.38^1.15.18 age confidence
@swc/helpers (source) ^0.4.14^0.5.19 age confidence

Release Notes

swc-project/swc-node (@​swc-node/jest)

v1.9.1

Compare Source

What's Changed

Full Changelog: http://github.com/swc-project/swc-node/compare/@swc-node/register@1.8.0...@​swc-node/register@1.9.1

v1.8.13

Compare Source

v1.8.12

Compare Source

v1.8.11

Compare Source

v1.8.10

Compare Source

v1.8.9

Compare Source

v1.8.8

Compare Source

v1.8.7

Compare Source

v1.8.6

Compare Source

v1.8.5

Compare Source

v1.8.4

Compare Source

v1.8.3

Compare Source

v1.8.2

Compare Source

v1.8.1

Compare Source

v1.8.0

Compare Source

What's Changed

New Contributors

Full Changelog: http://github.com/swc-project/swc-node/compare/@swc-node/core@1.10.5...@​swc-node/register@1.8.0

v1.7.0

Compare Source

v1.6.8

Compare Source

What's Changed

New Contributors

Full Changelog: http://github.com/swc-project/swc-node/compare/@swc-node/core@1.10.5...@​swc-node/register@1.6.8

v1.6.7

Compare Source

v1.6.6

Compare Source

v1.6.5

Compare Source

What's Changed

New Contributors

Full Changelog: http://github.com/swc-project/swc-node/compare/@swc-node/core@1.10.1...@​swc-node/register@1.6.5

v1.6.4

Compare Source

What's Changed

New Contributors

Full Changelog: http://github.com/swc-project/swc-node/compare/@swc-node/core@1.10.1...@​swc-node/register@1.6.4

v1.6.3

Compare Source

What's Changed

New Contributors

Full Changelog: http://github.com/swc-project/swc-node/compare/@swc-node/core@1.10.1...@​swc-node/register@1.6.3

v1.6.2

Compare Source

Bug Fixes
  • register: enforece module option in register/esm (#​694) (860d1f6)

v1.6.1

Compare Source

Bug Fixes
  • register: include esm files (8d6b0b7)

v1.6.0

Compare Source

Experimental esm support

node --loader=@​swc-node/register/esm ./src/index.ts in this project

src/index.ts

import assert from 'node:assert'
import test from 'node:test'

import { supportedExtensions } from 'file-type' // pure esm project

await test('file-type should work', () => {
  assert.ok(supportedExtensions.has('jpg'))
})

tsconfig.json

{
  "compilerOptions": {
    "target": "ESNext",
    "module": "ESNext",
  }
}

package.json

{
  "type": "module"
}

output

> node --loader=@​swc-node/register/esm ./src/index.ts

(node:77682) ExperimentalWarning: Custom ESM Loaders is an experimental feature. This feature could change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
(node:77682) ExperimentalWarning: The test runner is an experimental feature. This feature could change at any time
TAP version 13

### Subtest: file-type should work
ok 1 - file-type should work
  ---
  duration_ms: 0.642416
  ...
1..1

### tests 1
### pass 1

### fail 0
### cancelled 0

### skipped 0
### todo 0

### duration_ms 5.702292

What's Changed

Full Changelog: http://github.com/swc-project/swc-node/compare/@swc-node/jest@1.5.9...@​swc-node/register@1.6.0

v1.5.9

Compare Source

Note: Version bump only for package @​swc-node/jest

v1.5.7

Compare Source

Bug Fixes
  • register: always inline swc helpers (1d557ec)
swc-project/swc (@​swc/core)

v1.15.18

Compare Source

Bug Fixes
Documentation
Features
Ci

v1.15.17

Compare Source

Documentation
Features

v1.15.13

Compare Source

Bug Fixes
  • (errors) Avoid panic on invalid diagnostic spans (#​11561) (b24b8e0)

  • (es/helpers) Fix _object_without_properties crash on primitive values (#​11571) (4f35904)

  • (es/jsx) Preserve whitespace before HTML entities (#​11521) (64be077)

  • (es/minifier) Do not merge if statements with different local variable values (#​11518) (3e63627)

  • (es/minifier) Prevent convert_tpl_to_str when there's emoji under es5 (#​11529) (ff6cf88)

  • (es/minifier) Inline before merge if (#​11526) (aa5a9ac)

  • (es/minifier) Preserve array join("") nullish semantics (#​11558) (d477f61)

  • (es/minifier) Inline side-effect-free default params (#​11564) (1babda7)

  • (es/parser) Fix generic arrow function in TSX mode (#​11549) (366a16b)

  • (es/react) Preserve first-line leading whitespace with entities (#​11568) (fc62617)

  • (es/regexp) Transpile unicode property escapes in RegExp constructor (#​11554) (476d544)

Documentation
Features
Refactor
  • (es/parser) Compare token kind rather than strings (#​11531) (5872ffa)

  • (es/typescript) Run typescript transform in two passes (#​11532) (b069558)

  • (es/typescript) Precompute namespace import-equals usage in semantic pass (#​11534) (b7e87c7)

Testing
Ci

v1.15.11

Compare Source

Bug Fixes
  • (es/codegen) Emit leading comments for JSX elements, fragments, and empty expressions (#​11488) (1520633)

  • (es/decorators) Invoke addInitializer callbacks for decorated fields (#​11495) (11cfe4d)

  • (es/es3) Visit export decl body even if name is not reserved (#​11473) (9113fff)

  • (es/es3) Remove duplicate code (#​11499) (fbee775)

  • (es/minifier) Treat new expression with empty class as side-effect free (#​11455) (a33a45e)

  • (es/minifier) Escape control characters when converting strings to template literals (#​11464) (028551f)

  • (es/minifier) Handle unused parameters with default values (#​11494) (6ed1ee9)

  • (es/module) Preserve ./ prefix for hidden directory imports (#​11489) (a005391)

  • (es/parser) Validate dynamic import argument count (#​11462) (2f67591)

  • (es/parser) Allow compilation with --no-default-features (#​11460) (b70c5f8)

  • (es/parser) Skip emitting TS1102 in TypeScript mode (#​11463) (e6f5b06)

  • (es/parser) Reject ambiguous generic arrow functions in TSX mode (#​11491) (ac00915)

  • (es/parser) Disallow NumericLiteralSeparator with BigInts (#​11510) (6b3644b)

  • (es/react) Preserve HTML entity-encoded whitespace in JSX (#​11474) (7d433a9)

  • (es/renamer) Prevent duplicate parameter names with destructuring patterns (#​11456) (e25a2c8)

  • (es/testing) Skip update when expected output has invalid code (#​11469) (2be6b8a)

  • (es/typescript) Don't mark enums with opaque members as pure (#​11452) (b713fae)

  • (preset-env) Distinguish unknown browser vs empty config (#​11457) (1310957)

Documentation
Features
  • (cli) Add --root-mode argument for .swcrc resolution (#​11501) (b53a0e2)

  • (es/module) Make module transforms optional via module feature (#​11509) (b94a178)

  • (es/regexp) Implement unicode property escape transpilation (#​11472) (a2e0ba0)

  • (es/transformer) Merge ES3 hooks into swc_ecma_transformer (#​11503) (5efcac9)

Miscellaneous Tasks
  • (es/minifier) Extend OrderedChain to support more node types (#​11477) (aa9d789)
Performance
Refactor
Testing
  • (es/minifier) Add test case for merge_imports order preservation (#​11458) (b874a05)

  • (es/parser) Add error tests for import.source and import.defer with too many args (#​11466) (7313462)

  • (es/parser) Check handler.has_errors() in test error parsing (#​11487) (fade647)

  • Replace deprecated cargo_bin function with cargo_bin! macro (#​11461) (73f77b6)

v1.15.10

Compare Source

Bug Fixes
  • (ci) Handle merged PRs separately in milestone manager (#​11409) (3554268)

  • (es/compat) Preserve this context in nested arrow functions (#​11423) (f2bdaf2)

  • (es/es2017) Replace this in arrow functions during async-to-generator (#​11450) (a993da6)

Features
Miscellaneous Tasks
Performance
  • (es/codegen, es/utils) Migrate to dragonbox_ecma for faster Number::toString (#​11412) (b7978cc)

  • (es/react) Optimize JSX transforms to reduce allocations (#​11425) (2a20cb6)

Refactor
Testing
Ci
  • Collapse preivous claude[bot] PR review comments (affb6a2)

v1.15.8

Compare Source

Bug Fixes
  • (es/minifier) Remove unused webpack-related code (#​11397) (8e4eab4)

  • (es/minifier) Evaluate TemplateLiteral in BinaryExpression (#​11406) (8d1b6f6)

  • (es/minifier) More strict check if cannot add ident when invoking IIFE (#​11399) (03642aa)

Features
Performance
Refactor

v1.15.7

Compare Source

Bug Fixes
  • (es/minifier) Prevent unsafe sequence merging in super() calls (#​11381) (eb02780)

  • (es/transformer) Fix variable declaration for nullish coalescing in else-if branches (#​11384) (6746002)

  • (es/transforms) Update _ts_rewrite_relative_import_extension helper code (#​11382) (1ec444e)

Features
Performance
Refactor

v1.15.6

Compare Source

Bug Fixes
  • (es/transformer) Fix missing var declaration in nullish coalescing with spreads (#​11377) (686d154)
Performance

v1.15.5

Compare Source

Bug Fixes

v1.15.4

Compare Source

Bug Fixes
  • (es/compat) Preserve return value for single-property object destructuring (#​11334) (847ad22)

  • (es/compat) Fix generator transform for compound assignments, for-in, and labeled break (#​11339) (9b6bedd)

  • (es/compat) Destructuring evaluation order (#​11337) (49d04c7)

  • (es/compat) Fix parameter default value evaluation order with object rest (#​11352) (2ebb261)

  • (es/fixer) Preserve parens around IFFE in binary expressions within sequences (#​11324) (a4c84ea)

  • (es/helpers) Avoid extra trap calls on excluded keys in object rest spread (#​11338) (4662caf)

  • (es/minifier) Fix debug cargo feature (#​11325) (be86fad)

  • (es/minifier) Fix optimization pass for merge_imports (#​11331) (ca2f7ed)

  • (es/parser) Don't call bump_bytes in the continue_if of byte_search! (#​11328) (583619d)

  • (es/parser) Support type-only string literal in import specifiers (#​11333) (07762f1)

  • (es/parser) Handle TypeScript expressions in destructuring patterns (#​11353) (160ec34)

  • (es/transformer) Complete replace_this_in_expr implementation (#​11361) (58c4067)

  • (es/transformer) Fix pass order (#​11370) (373048a)

Features

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, 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, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Aug 6, 2023
@renovate renovate bot enabled auto-merge (rebase) August 6, 2023 16:06
@renovate renovate bot force-pushed the renovate/swc-monorepo branch 8 times, most recently from cd479f9 to 81903a7 Compare August 10, 2023 14:51
@renovate renovate bot force-pushed the renovate/swc-monorepo branch 8 times, most recently from 843de65 to a87c229 Compare August 18, 2023 07:44
@renovate renovate bot force-pushed the renovate/swc-monorepo branch 11 times, most recently from 593d0d7 to 56bcbdb Compare August 27, 2023 22:56
@renovate renovate bot force-pushed the renovate/swc-monorepo branch 10 times, most recently from d87cf4b to ec3a5f2 Compare September 26, 2023 11:33
@renovate renovate bot force-pushed the renovate/swc-monorepo branch 2 times, most recently from 1deda90 to ed57c70 Compare October 1, 2023 16:20
@renovate renovate bot force-pushed the renovate/swc-monorepo branch 2 times, most recently from 7a7c893 to e776808 Compare October 7, 2023 15:33
@renovate renovate bot force-pushed the renovate/swc-monorepo branch 6 times, most recently from b51980a to 36ce8f0 Compare October 15, 2023 15:32
@renovate renovate bot force-pushed the renovate/swc-monorepo branch 8 times, most recently from a0b2692 to 9a34169 Compare October 24, 2023 19:50
@renovate renovate bot force-pushed the renovate/swc-monorepo branch from 9a34169 to b1d8284 Compare November 5, 2023 07:44
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants