Skip to content

chore(deps): update all (major) #231

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

chore(deps): update all (major) #231

wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 3, 2021

This PR contains the following updates:

Package Type Update Change Age Confidence
actions/checkout action major v4 -> v5 age confidence
csv-parse (source) devDependencies major 5.6.0 -> 6.1.0 age confidence
got devDependencies major 11.8.6 -> 14.4.7 age confidence
p-each-series devDependencies major 2.2.0 -> 3.0.0 age confidence
prettier (source) devDependencies major 2.5.1 -> 3.6.2 age confidence
sort-keys devDependencies major 4.2.0 -> 5.1.0 age confidence
stefanzweifel/git-auto-commit-action action major v5 -> v6 age confidence

Release Notes

actions/checkout (actions/checkout)

v5

Compare Source

adaltas/node-csv (csv-parse)

v6.1.0

Compare Source

Features
  • csv-parse: add generic type argument (#​457) (ef71342), closes #​278 #​407
  • csv-parse: boolean and null comment type (b9ac1f0)
  • csv-parse: callback records defined type (3d4f225)
  • csv-parse: casting context raw export (a26f5d7)
  • csv-parse: input as Uint8Array (fix #​458) (24af461)
  • csv-parse: normailzsed options type (da7a62e)
  • csv-parse: normalize_options export (9056293)
  • csv-parse: null comment_no_infix type (d8bf4fd)
  • csv-parse: on_skip catch thrown error (987a3a9)
  • csv-parse: use ts unknown instead of any when possible (a47badf)
Bug Fixes
  • csv-parse: normalized columns with auto-detected bom (fix #​460) (4abcc44)

v6.0.0

Compare Source

⚠ BREAKING CHANGES
  • csv-parse: rename group_columns_by_name option
  • csv-parse: rename RECORD_INCONSISTENT_FIELDS_LENGTH
  • csv-parse: rename RECORD_DONT_MATCH_COLUMNS_LENGTH
  • csv-parse: rename skip_records_with_error
  • csv-parse: rename skip_records_with_empty_values
  • csv-parse: rename relax to relax_quotes
Features
  • backport support for node 14 (dbfeb78)
  • backward support for node 8 (496231d)
  • csv-parse: add columns property in Info object type (#​390) (2dd2a92)
  • csv-parse: add generic type argument (#​457) (ef71342), closes #​278 #​407
  • csv-parse: boolean and null comment type (b9ac1f0)
  • csv-parse: callback records defined type (3d4f225)
  • csv-parse: cast_date as a function (fix #​342) (2807d29)
  • csv-parse: casting context raw export (a26f5d7)
  • csv-parse: implement TransformStream (#​445) (1213de8)
  • csv-parse: improve record_delimiter validation (67b7da8)
  • csv-parse: input as Uint8Array (fix #​458) (24af461)
  • csv-parse: new comment_no_infix option (fix #​325) (caca5c3)
  • csv-parse: normailzsed options type (da7a62e)
  • csv-parse: normalize_options export (9056293)
  • csv-parse: null comment_no_infix type (d8bf4fd)
  • csv-parse: objname index (015b936)
  • csv-parse: on_skip catch thrown error (987a3a9)
  • csv-parse: skip_line_with_errors used with raw print current buffer (fix #​292) (2741990)
  • csv-parse: ts type encoding with BufferEncoding (39a4388)
  • csv-parse: use ts unknown instead of any when possible (a47badf)
  • esm migration (b5c0d4b)
  • export ts types in sync (890bf8d)
  • replace ts types with typesVersions (acb41d5)
  • ts module Node16 and type declaration to exports field (#​341) (4b0283d)
  • wg stream api (8a5eb7d)
Bug Fixes
  • commonjs types, run tsc and lint to validate changes (#​397) (e6870fe)
  • correct exports in package.json with webpack (154eafb)
  • csv-demo-ts-cjs-node16: upgrade module definition after latest typescript (87fe919)
  • csv-demo-webpack-ts: remove polyfill (47a99bd)
  • csv-demo-webpack-ts: simplify export paths (8d63a14)
  • csv-parse: build from previus commit (29a0916)
  • csv-parse: call destroy on end (fix #​410) (0df32c6)
  • csv-parse: comment infix when comment first field char (fix #​415) (8e0f8b8)
  • csv-parse: destroy on end and call close event (fix #​333) (ca3f55b)
  • csv-parse: encoding detection with bom (#​350) (fd75e66)
  • csv-parse: export csv error class in sync (fc89380)
  • csv-parse: improve INVALID_OPENING_QUOTE error message (fix adaltas/node-csv-docs#​120) (3639780)
  • csv-parse: premature close error (c6473a9)
  • csv-parse: record_delimiter and non default encoding (fix #​365) (16fdb2d)
  • csv-parse: remove support for cast_date, no test (5471985)
  • csv-parse: rtrim encoding support (fix #​349) (8bf52f0)
  • csv-parse: skip event not raised with bom (fix #​411) (1326351)
  • csv-parse: ts callback CsvError argument (899dc67)
  • dont insert polyfills in cjs #​303 (9baf334)
  • esm exports in package.json files (c48fe47), closes #​308
  • export original lib esm modules (be25349)
  • expose browser esm modules (eb87355)
  • fallback to setTimeout is setImmediate is undefined (3d6a2d0)
  • refer to esm files in dist (b780fbd)
  • remove samples from publicatgion (12c221d)
  • support ts node16 resolution in cjs (#​354) (fa09d03)
  • support TypeScript moduleResolution node16 (#​368) (f4d7c97)
Performance Improvements
  • csv-parse: buffer unsafe allocation (35c1f4a)
Code Refactoring
  • csv-parse: rename group_columns_by_name option (74334cf)
  • csv-parse: rename RECORD_DONT_MATCH_COLUMNS_LENGTH (fb391c9)
  • csv-parse: rename RECORD_INCONSISTENT_FIELDS_LENGTH (7b55f05)
  • csv-parse: rename relax to relax_quotes (9fffd50)
  • csv-parse: rename skip_records_with_empty_values (aa432c1)
  • csv-parse: rename skip_records_with_error (0376af7)
sindresorhus/got (got)

v14.4.7

Compare Source


v14.4.6

Compare Source

v14.4.5

Compare Source

v14.4.4

Compare Source

v14.4.3

Compare Source

v14.4.2

Compare Source

v14.4.1

Compare Source

v14.4.0

Compare Source

v14.3.0

Compare Source

v14.2.1

Compare Source

v14.2.0

Compare Source

  • Add cause property with the original error to RequestError (#​2327) 4cbd01d

v14.1.0

Compare Source

v14.0.0

Compare Source

Breaking
  • Require Node.js 20 (#​2313) a004263
    • Why not target the oldest active Node.js LTS, which is Node.js 18? I usually strictly follow this convention in my packages. However, this package is the exception because the HTTP part of Node.js is consistently buggy, and I don't have time to work around issues in older Node.js releases. I you need to still support Node.js 18, I suggest staying on Got v13, which is quite stable. Node.js 18 will be out of active LTS in 5 months.
Improvements

v13.0.0

Compare Source

As a reminder, Got continues to require ESM. For TypeScript users, this includes having "module": "node16", "moduleResolution": "node16" in your tsconfig.

Breaking
Improvements

v12.6.1

Compare Source

v12.6.0

Compare Source

v12.5.3

Compare Source

v12.5.2

Compare Source

v12.5.1

Compare Source

  • Fix compatibility with TypeScript and ESM 3b3ea67
  • Fix request body not being properly cached (#​2150) 3e9d3af

v12.5.0

Compare Source

v12.4.1

Compare Source

Fixes
  • Fix options.context being not extensible b671480
  • Don't emit uploadProgress after promise cancelation 693de21

v12.4.0

Compare Source

Improvements
Fixes
  • Don't call beforeError hooks with HTTPError if the throwHttpErrors option is false (#​2104) 3927348

v12.3.1

Compare Source

v12.3.0

Compare Source

v12.2.0

Compare Source

v12.1.0

Compare Source

Improvements
Fixes

v12.0.4

Compare Source

  • Remove stream lock - unreliable since Node 17.3.0 bb8eca9

v12.0.3

Compare Source

v12.0.2

Compare Source

v12.0.1

Compare Source

v12.0.0

Compare Source

Introducing Got v12.0.0 🎉

Long time no see! The latest Got version (v11.8.2) was released just in February ❄️
We have been working hard on squashing bugs and improving overall experience.

If you find Got useful, you might want to sponsor the Got maintainers.

This package is now pure ESM

Please read this. Also see https://github.com/sindresorhus/got/issues/1789.

  • Please don't open issues about [ERR_REQUIRE_ESM] and Must use import to load ES Module errors. This is a problem with your setup, not Got.
  • Please don't open issues about using Got with Jest. Jest does not fully support ESM.
  • Pretty much any problem with loading this package is a problem with your bundler, test framework, etc, not Got.
  • If you use TypeScript, you will want to stay on Got v11 until TypeScript 4.6 is out. Why.
  • If you use a bundler, make sure it supports ESM and that you have correctly configured it for ESM.
  • The Got issue tracker is not a support channel for your favorite build/bundler tool.
Required Node.js >=14

While working with streams, we encountered more Node.js bugs that needed workarounds.
In order to keep our code clean, we had to drop Node.js v12 as the code would get more messy.
We strongly recommend that you update Node.js to v14 LTS.

HTTP/2 support

Every Node.js release, the native http2 module gets more stable.
Unfortunately there are still some issues on the Node.js side, so we decided to keep HTTP/2 disabled for now.
We may enable it by default in Got v13. It is still possible to turn it on via the http2 option.

To run HTTP/2 requests, it is required to use Node.js v15.10 or above.

Bug fixes

Woah, we possibly couldn't make a release if we didn't fix some bugs!

Improvements
Breaking changes
Improved option normalization
  • Got exports an Option class that is specifically designed to parse and validate Got options.
    It is made of setters and getters that provide fast normalization and more consistent behavior.

When passing an option does not exist, Got will throw an error. In order to retrieve the options before the error, use error.options.

import got from 'got';

try {
    await got('https://httpbin.org/anything', {
        thisOptionDoesNotExist: true
    });
} catch (error) {
    console.error(error);
    console.error(error.options.url.href);
    // Unexpected option: thisOptionDoesNotExist
    // https://httpbin.org/anything
}
  • The init hook now accepts a second argument: self, which points to an Options instance.

In order to define your own options, you have to move them to options.context in an init hook or store them in options.context directly.

  • The init hooks are ran only when passing an options object explicitly.
- await got('https://example.com'); // this will *not* trigger the init hooks
+ await got('https://example.com', {}); // this *will** trigger init hooks
- got.defaults.options = got.mergeOptions(got.defaults.options, {…});
+ got.defaults.options.merge(…);

This fixes issues like #​1450

  • Legacy Url instances are not supported anymore. You need to use WHATWG URL instead.
- await got(string, {port: 8443});
+ const url = new URL(string);
+ url.port = 8443;
+ await got(url);
  • No implicit timeout declaration.
- await got('https://example.com', {timeout: 5000})
+ await got('https://example.com', {timeout: {request: 5000})
  • No implicit retry declaration.
- await got('https://example.com', {retry: 5})
+ await got('https://example.com', {retry: {limit: 5})
  • dnsLookupIpVersion is now a number (4 or 6) or undefined
- await got('https://example.com', {dnsLookupIpVersion: 'ipv4'})
+ await got('https://example.com', {dnsLookupIpVersion: 4})
  • redirectUrls and requestUrl now give URL instances
- request.requestUrl
+ request.requestUrl.origin
+ request.requestUrl.href
+ request.requestUrl.toString()
- request.redirectUrls[0]
+ request.redirectUrls[0].origin
+ request.redirectUrls[0].href
+ request.redirectUrls[0].toString()
  • Renamed request.aborted to request.isAborted
- request.aborted
+ request.isAborted

Reason: consistency with options.isStream.

  • Renamed the lookup option to dnsLookup
- await got('https://example.com', {lookup: cacheable.lookup})
+ await got('https://example.com', {dnsLookup: cacheable.lookup})
  • The beforeRetry hook now accepts only two arguments: error and retryCount
await got('https://example.com', {
    hooks: {
        beforeRetry: [
-            (options, error, retryCount) => {
-                console.log(options, error, retryCount);
-            }
+            (error, retryCount) => {
+                console.log(error.options, error, retryCount);
+            }
        ]
    }
})

The options argument has been removed, however it's still accessible via error.options. All modifications on error.options will be reflected in the next requests (no behavior change, same as with Got 11).

  • The beforeRedirect hook's first argument (options) is now a cloned instance of the Request options.

This was done to make retrieving the original options possible: plainResponse.request.options.

await got('http://szmarczak.com', {
    hooks: {
        beforeRedirect: [
            (options, response) => {
-                console.log(options === response.request.options); //=> true [invalid! our original options were overriden]
+                console.log(options === response.request.options); //=> false [we can access the original options now]
            }
        ]
    }
})
  • The redirect event now takes two arguments in this order: updatedOptions and plainResponse.
- stream.on('redirect', (response, options) => …)
+ stream.on('redirect', (options, response) => …)

Reason: consistency with the beforeRedirect hook.

  • The socketPath option has been removed. Use the unix: protocol instead.
- got('/containers/json', {socketPath: '/var/run/docker.sock'})
+ got('unix:/var/run/docker.sock:/containers/json')
+ got('http://unix:/var/run/docker.sock:/containers/json')
  • The retryWithMergedOptions function in an afterResponse hook no longer returns a Promise.

It now throws RetryError, so this should this should be the last function being executed.
This was done to allow beforeRetry hooks getting called.

  • You can no longer set options.agent to false.
    To do so, you need to define all the options.agent properties: http, https and http2.
await got('https://example.com', {
-    agent: false
+    agent: {
+        http: false,
+        https: false,
+        http2: false
+    }
})
  • When passing a url option when paginating, it now needs to be an absolute URL - the prefixUrl option is always reset from now on. The same when retrying in an afterResponse hook.
- return {url: '/location'};
+ return {url: new URL('/location', response.request.options.url)};

There was confusion around the prefixUrl option. It was counterintuitive if used with the Pagination API. For example, it worked fine if the server replied with a relative URL, but if it was an absolute URL then the prefixUrl would end up duplicated. In order to fix this, Got now requires an absolute URL - no prefixUrl will be applied.

  • got.extend(…) will throw when passing some options that don't accept undefined - undefined no longer retains the old value, as setting undefined explicitly may reset the option
Documentation

We have redesigned the documentation so it's easier to navigate and find exactly what you are looking for. We hope you like it ❤️

sindresorhus/p-each-series (p-each-series)

v3.0.0

Compare Source

Breaking
prettier/prettier (prettier)

v3.6.2

Compare Source

diff

Markdown: Add missing blank line around code block (#​17675 by @​fisker)
<!-- Input -->
1. Some text, and code block below, with newline after code block

   ```yaml
   ---
   foo: bar
   ```

   1. Another
   2. List

<!-- Prettier 3.6.1 -->
1. Some text, and code block below, with newline after code block

   ```yaml
   ---
   foo: bar
   ```
   1. Another
   2. List

<!-- Prettier 3.6.2 -->
1. Some text, and code block below, with newline after code block

   ```yaml
   ---
   foo: bar
   ```

   1. Another
   2. List

v3.6.1

Compare Source

diff

TypeScript: Allow const without initializer (#​17650, #​17654 by @​fisker)
// Input
export const version: string;

// Prettier 3.6.0 (--parser=babel-ts)
SyntaxError: Unexpected token (1:21)
> 1 | export const version: string;
    |                     ^

// Prettier 3.6.0 (--parser=oxc-ts)
SyntaxError: Missing initializer in const declaration (1:14)
> 1 | export const version: string;
    |              ^^^^^^^^^^^^^^^

// Prettier 3.6.1
export const version: string;
Miscellaneous: Avoid closing files multiple times (#​17665 by @​43081j)

When reading a file to infer the interpreter from a shebang, we use the
n-readlines library to read the first line in order to get the shebang.

This library closes files when it reaches EOF, and we later try close the same
files again. We now close files only if n-readlines did not already close
them.

v3.6.0

Compare Source

diff

🔗 Release Notes

v3.5.3

Compare Source

v3.5.2

Compare Source

diff

Remove module-sync condition (#​17156 by @​fisker)

In Prettier 3.5.0, we added module-sync condition to package.json, so that require("prettier") can use ESM version, but turns out it doesn't work if CommonJS and ESM plugins both imports builtin plugins. To solve this problem, we decide simply remove the module-sync condition, so require("prettier") will still use the CommonJS version, we'll revisit until require(ESM) feature is more stable.

v3.5.1

Compare Source

diff

Fix CLI crash when cache for old version exists (#​17100 by @​sosukesuzuki)

Prettier 3.5 uses a different cache format than previous versions, Prettier 3.5.0 crashes when reading existing cache file, Prettier 3.5.1 fixed the problem.

Support dockercompose and github-actions-workflow in VSCode (#​17101 by @​remcohaszing)

Prettier now supports the dockercompose and github-actions-workflow languages in Visual Studio Code.

v3.5.0

Compare Source

diff

🔗 Release Notes

v3.4.2

Compare Source

diff

Treat U+30A0 & U+30FB in Katakana Block as CJK (#​16796 by @​tats-u)

Prettier doesn't treat U+30A0 & U+30FB as Japanese. U+30FB is commonly used in Japanese to represent the delimitation of first and last names of non-Japanese people or “and”. The following “C言語・C++・Go・Rust” means “C language & C++ & Go & Rust” in Japanese.

<!-- Input (--prose-wrap=never) -->

C言
語
・
C++
・
Go
・
Rust

<!-- Prettier 3.4.1 -->
C言語・ C++ ・ Go ・ Rust

<!-- Prettier 3.4.2 -->
C言語・C++・Go・Rust

U+30A0 can be used as the replacement of the - in non-Japanese names (e.g. “Saint-Saëns” (Charles Camille Saint-Saëns) can be represented as “サン゠サーンス” in Japanese), but substituted by ASCII hyphen (U+002D) or U+FF1D (full width hyphen) in many cases (e.g. “サン=サーンス” or “サン=サーンス”).

Fix comments print on class methods with decorators (#​16891 by @​fisker)
// Input
class A {
  @&#8203;decorator
  /** 
   * The method description
   *
  */
  async method(foo: Foo, bar: Bar) {
    console.log(foo);
  }
}

// Prettier 3.4.1
class A {
  @&#8203;decorator
  async /**
   * The method description
   *
   */
  method(foo: Foo, bar: Bar) {
    console.log(foo);
  }
}

// Prettier 3.4.2
class A {
  @&#8203;decorator
  /**
   * The method description
   *
   */
  async method(foo: Foo, bar: Bar) {
    console.log(foo);
  }
}
Fix non-idempotent formatting (#​16899 by @​seiyab)

This bug fix is not language-specific. You may see similar change in any languages. This fixes regression in 3.4.0 so change caused by it should yield same formatting as 3.3.3.

// Input
<div>
  foo
  <span>longlonglonglonglonglonglonglonglonglonglonglonglonglonglongl foo</span>
  , abc
</div>;

// Prettier 3.4.1 (first)
<div>
  foo
  <span>
    longlonglonglonglonglonglonglonglonglonglonglonglonglonglongl foo
  </span>, abc
</div>;

// Prettier 3.4.1 (second)
<di

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 3am on Monday" in timezone Europe/Paris, 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](https://redirect.github.com/renovatebot/renovate/discussions) if that's undesired.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/vvo/tzdb).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xMTcuMSIsInVwZGF0ZWRJblZlciI6IjQxLjYwLjQiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->

@renovate renovate bot force-pushed the renovate/major-all branch 2 times, most recently from 70a336c to b3ca140 Compare October 9, 2021 22:21
@renovate renovate bot changed the title chore(deps): update dependency p-each-series to v3 chore(deps): update all (major) Oct 9, 2021
@renovate renovate bot force-pushed the renovate/major-all branch from b3ca140 to 60a314e Compare October 14, 2021 04:44
@renovate renovate bot force-pushed the renovate/major-all branch 2 times, most recently from 41fa5e4 to 0b5cf16 Compare October 22, 2021 22:33
@renovate renovate bot force-pushed the renovate/major-all branch 2 times, most recently from 6ef9623 to 395cd38 Compare November 9, 2021 14:18
@renovate renovate bot force-pushed the renovate/major-all branch 5 times, most recently from 0bafbee to 835177e Compare November 21, 2021 09:33
@renovate renovate bot force-pushed the renovate/major-all branch 3 times, most recently from 5186d89 to 9ac69ea Compare December 10, 2021 15:42
@renovate renovate bot force-pushed the renovate/major-all branch from 9ac69ea to 08c2e83 Compare December 17, 2021 23:40
@renovate renovate bot force-pushed the renovate/major-all branch 2 times, most recently from f88748b to a0449b6 Compare January 1, 2022 01:17
@renovate renovate bot force-pushed the renovate/major-all branch 6 times, most recently from 5b7f8e8 to 974160e Compare January 16, 2022 10:26
@renovate renovate bot force-pushed the renovate/major-all branch 5 times, most recently from 9110f48 to 528bc9c Compare January 17, 2022 22:31
@renovate renovate bot force-pushed the renovate/major-all branch from 6a24900 to cbae276 Compare February 9, 2025 13:57
@renovate renovate bot force-pushed the renovate/major-all branch from cbae276 to 448a219 Compare February 13, 2025 19:36
@renovate renovate bot force-pushed the renovate/major-all branch from 448a219 to 839ffce Compare February 22, 2025 06:42
@renovate renovate bot force-pushed the renovate/major-all branch from 839ffce to df6f1ff Compare March 3, 2025 02:24
@renovate renovate bot force-pushed the renovate/major-all branch from df6f1ff to 735ca96 Compare March 3, 2025 17:26
@renovate renovate bot force-pushed the renovate/major-all branch from 735ca96 to 4530bff Compare March 25, 2025 19:46
@renovate renovate bot force-pushed the renovate/major-all branch from 4530bff to fc226bf Compare March 31, 2025 18:29
@renovate renovate bot force-pushed the renovate/major-all branch from fc226bf to 1d3fe89 Compare May 23, 2025 22:14
@renovate renovate bot force-pushed the renovate/major-all branch from 1d3fe89 to 8799112 Compare May 24, 2025 05:57
@renovate renovate bot force-pushed the renovate/major-all branch from 8799112 to c8562c9 Compare June 10, 2025 19:17
@renovate renovate bot force-pushed the renovate/major-all branch 3 times, most recently from b5d8226 to 7d28482 Compare June 27, 2025 03:14
@renovate renovate bot force-pushed the renovate/major-all branch from 7d28482 to 4ba2c99 Compare July 1, 2025 03:15
@renovate renovate bot force-pushed the renovate/major-all branch 2 times, most recently from 95c3c4f to 9831622 Compare July 10, 2025 16:26
@renovate renovate bot force-pushed the renovate/major-all branch from 9831622 to 44cbe91 Compare July 16, 2025 21:12
@renovate renovate bot force-pushed the renovate/major-all branch from 44cbe91 to de3f5ac Compare July 29, 2025 06:00
@renovate renovate bot force-pushed the renovate/major-all branch 2 times, most recently from 0ae655a to 281ba15 Compare August 11, 2025 13:45
@renovate renovate bot force-pushed the renovate/major-all branch from 281ba15 to ac42aa1 Compare August 19, 2025 05:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants