matzkoh / prettier-plugin-packagejson

Prettier plugin for package.json
MIT License
316 stars 10 forks source link

fix(deps): update dependency synckit to v0.8.8 #132

Closed renovate[bot] closed 10 months ago

renovate[bot] commented 10 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
synckit 0.8.6 -> 0.8.8 age adoption passing confidence

Release Notes

un-ts/synckit (synckit) ### [`v0.8.8`](https://togithub.com/un-ts/synckit/blob/HEAD/CHANGELOG.md#088) [Compare Source](https://togithub.com/un-ts/synckit/compare/v0.8.7...v0.8.8) ##### Patch Changes - [#​148](https://togithub.com/un-ts/synckit/pull/148) [`7b6a0eb`](https://togithub.com/un-ts/synckit/commit/7b6a0eb2c7e1f4482c72dc89e0f7474cd1bcc6d9) Thanks [@​JounQin](https://togithub.com/JounQin)! - feat: migrate `@pkgr/utils` to lite `@pkgr/core` - This will make the whole package much more smaller ### [`v0.8.7`](https://togithub.com/un-ts/synckit/blob/HEAD/CHANGELOG.md#087) [Compare Source](https://togithub.com/un-ts/synckit/compare/v0.8.6...v0.8.7) ##### Patch Changes - [#​145](https://togithub.com/un-ts/synckit/pull/145) [`b2affa0`](https://togithub.com/un-ts/synckit/commit/b2affa0e639bcdf252b7115402f22765aabedf3c) Thanks [@​JounQin](https://togithub.com/JounQin)! - feat: add new `globalShims` option, what means you can env `SYNCKIT_GLOBAL_SHIMS=1` to enable auto polyfilling for some modules, for example: `fetch` from `node-fetch`, `performance` from `node:perf_hooks`. You can also pass a custom `globalShims` option as `GlobalShim` `Array` to custom your own shims: ````ts export interface GlobalShim { moduleName: string /** * `undefined` means side effect only */ globalName?: string /** * 1. `undefined` or empty string means `default`, for example: * ```js * import globalName from 'module-name' * ``` * * 2. `null` means namespaced, for example: * ```js * import * as globalName from 'module-name' * ``` * */ named?: string | null /** * If not `false`, the shim will only be applied when the original `globalName` unavailable, * for example you may only want polyfill `globalThis.fetch` when it's unavailable natively: * ```js * import fetch from 'node-fetch' * * if (!globalThis.fetch) { * globalThis.fetch = fetch * } * ``` */ conditional?: boolean } ```` You can aslo reuse the exported `DEFAULT_GLOBAL_SHIMS_PRESET` for extanding: ```js import { DEFAULT_GLOBAL_SHIMS_PRESET, createSyncFn } from 'synckit' const syncFn = createSyncFn(require.resolve('./worker'), { globalShims: [ ...DEFAULT_GLOBAL_SHIMS_PRESET, // your own shim here ], }) ```

Configuration

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

🚦 Automerge: Enabled.

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

🔕 Ignore: Close this PR and you won't be reminded about this update again.



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

codecov[bot] commented 10 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (8dbc697) 100.00% compared to head (bfbbf2d) 100.00%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #132 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 5 5 Lines 28 28 Branches 4 4 ========================================= Hits 28 28 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

github-actions[bot] commented 10 months ago

:tada: This PR is included in version 2.4.8 :tada:

The release is available on:

Your semantic-release bot :package::rocket: