Skip to content

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

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/major-all
Open

chore(deps): update all (major)#231
renovate[bot] wants to merge 1 commit intomainfrom
renovate/major-all

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Oct 3, 2021

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Type Update Change Age Confidence
actions/checkout action major v4v6 age confidence
actions/setup-node action major v4v6 age confidence
csv-parse (source) devDependencies major 5.6.06.2.1 age confidence
got devDependencies major 11.8.615.0.0 age confidence
luxon devDependencies major 2.3.03.7.2 age confidence
node (source) major 2224 age confidence
p-each-series devDependencies major 2.2.03.0.0 age confidence
pnpm/action-setup action major v4v5 age confidence
prettier (source) devDependencies major 2.5.13.8.1 age confidence
prettier-plugin-packagejson devDependencies major 2.5.223.0.2 age confidence
sort-keys devDependencies major 4.2.06.0.0 age confidence
stefanzweifel/git-auto-commit-action action major v5v7 age confidence

Release Notes

actions/checkout (actions/checkout)

v6

Compare Source

v5

Compare Source

actions/setup-node (actions/setup-node)

v6

Compare Source

v5

Compare Source

adaltas/node-csv (csv-parse)

v6.2.1

Compare Source

Bug Fixes
  • csv-parse: prototype pollution with objname option (fix #​479)

v6.2.0

Compare Source

Features
  • csv-parse: alig info interfaces with js api
  • csv-parse: info bytes_records (fix #​446)
  • csv-parse: remove non-existing ts function declaration
  • csv-parse: remove ts usage of all in error type
  • csv-parse: returned type generic for on_record (fix #​461 #​464 #​466) (#​468)
Bug Fixes
  • csv-parse: delimiter inherited type
  • csv-parse: support number columns with cast (fix #​477)

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)

v15.0.0

Compare Source

Breaking changes
  • Require Node.js 22 b933476
  • Remove promise cancel API a06ac6c
  • Remove isStream option c241c6c
    • Use got.stream() directly.
  • Use native FormData global 670b228
  • responseType: 'buffer' returns Uint8Array instead of Buffer 309e36d
    • response.rawBody and promise.buffer() now return a Uint8Array. Buffer is a subclass of Uint8Array, so most code will continue to work, but strict type checks will need updating.
  • strictContentLength defaults to true 08e9dff
    • Got now throws a ContentLengthMismatchError by default if Content-Length doesn't match the actual body size. Set {strictContentLength: false} to restore the old behavior.
  • retry.enforceRetryRules defaults to true 9bc8dfb
    • Custom calculateDelay functions are now only called when a retry is actually allowed by limit, methods, statusCodes, and errorCodes. If your calculateDelay was previously used to override retry eligibility unconditionally, set {retry: {enforceRetryRules: false}}.
  • Piped header copying is now opt-in 8e392f3
    • Got no longer automatically copies headers from a piped stream. Set {copyPipedHeaders: true} to re-enable. Hop-by-hop headers are never copied even when enabled (RFC 9110 §7.6.1).
  • url removed from public options objects 87de8d6
    • The url property is no longer present on the options object passed to hooks. Use response.url or request.requestUrl instead.
  • 300 and 304 responses are no longer auto-followed 5fccaab
    • Per RFC 9110, 304 is a conditional-GET hint, not a redirect, and 300 is only a SHOULD for user agents. Got now returns these responses as-is. Handle them manually if needed.
Improvements
  • Stream decode large text/json bodies incrementally for lower peak memory usage c9a95b1
  • uploadProgress now emits granular per-chunk events for json and form request bodies 13c889d

Migration guide
Replace promise.cancel() with AbortController

Before:

const promise = got(url);
promise.cancel();

After:

const controller = new AbortController();
const promise = got(url, {signal: controller.signal});
controller.abort();
Replace isStream: true with got.stream()

Before:

got(url, {isStream: true});

After:

got.stream(url);
Replace form-data / form-data-encoder with native FormData

Before:

import {FormData} from 'formdata-node';
// or: import {FormData} from 'formdata-polyfill/esm.min.js';

const form = new FormData();
form.set('name', 'value');
await got.post(url, {body: form});

After:

const form = new FormData();
form.set('name', 'value');
await got.post(url, {body: form});
Update Buffer usage to Uint8Array

response.rawBody and promise.buffer() now return Uint8Array instead of Buffer.

Before:

const data = await got(url).buffer();
const copy = Buffer.from(data);

After:

const data = await got(url).buffer();
const copy = new Uint8Array(data);

If you need Buffer-specific APIs, wrap with Buffer.from(data.buffer, data.byteOffset, data.byteLength).

strictContentLength is now on by default

If you send requests where the Content-Length header might not match the actual body size, opt out:

got.extend({strictContentLength: false});
retry.enforceRetryRules is now on by default

If your calculateDelay function was overriding retry eligibility (e.g. retrying on methods or status codes outside the defaults), opt out:

got.extend({
	retry: {
		enforceRetryRules: false,
		calculateDelay: ({computedValue}) => {
			// computedValue is 0 when retry is not allowed
			if (computedValue === 0) {
				return 0;
			}

			return computedValue;
		},
	},
});
Piped header copying is now opt-in

If you pipe streams into Got and rely on automatic header forwarding (e.g. Content-Type), re-enable it:

got.extend({copyPipedHeaders: true});
300 and 304 responses are no longer followed

If your code depended on Got auto-following 300 Multi-Choice or handling 304 Not Modified as a redirect, you now need to handle them yourself in an afterResponse hook or check response.statusCode manually.


v14.6.6

Compare Source

  • Fix stream auto-end for empty PATCH/DELETE/OPTIONS 4d5168c
    • The bug was introduced in b65b0e1, where it incorrectly auto-closed streams for empty PATCH/DELETE/OPTIONS when using streams. This broke the documented use case of piping data to a got stream for these methods.
    • Docs:

      got.stream does not auto-end for OPTIONS, DELETE, or PATCH so you can pipe or write a body without getting write after end. Call stream.end() when you are not piping a body.


v14.6.5

Compare Source

  • Fix TypeScript type inference for got.extend() with responseType option f7ab6e9

v14.6.4

Compare Source

  • Fix dnsLookup option type to accept Node.js dns.lookup 47c3155

v14.6.3

Compare Source


v14.6.2

Compare Source

  • Fix path segments containing colons being misidentified as absolute URLs 0a16a9c

v14.6.1

Compare Source

  • Fix the TS code not being built in 14.6.0.

v14.6.0

Compare Source

Improvements
Fixes
  • Fix HTTP/2 timings NaN issue 398c11a
  • Fix shortcut methods ignoring handler errors f004564
  • Fix body reassignment in beforeRetry hooks bf84d36
  • Fix beforeError hook not being called for ERR_UNSUPPORTED_PROTOCOL error fb86418
  • FIx preserving prefixUrl in hooks 9725fbd
  • Fix race condition causing retry after promise settles 1e49781
  • Fix stream validation errors causing unhandled rejections 2527bf6
  • Fix incorrect content-length when piping decompressed responses 30b3b79
  • Fix EPIPE errors bypassing retry logic in Promise API 6ae3e7f
  • Fix silent hang when returning cached response with FormData body from beforeRequest hook e09a9bd
  • Fix hook type definitions to reflect normalized runtime state 6a544a3
  • Fix afterResponse hook validation to allow null body values 60a4419
  • Fix DNS timing being non-zero when connecting to IP addresses 3d66aec
  • Fix timings.end being undefined when stream is destroyed before completion 4e75679
  • Fix properly treating different UNIX socket paths as different origins e5659d4
Meta

I managed to get it almost down to zero issues! 🎉


v14.5.0

Compare Source

  • Add retry.enforceRetryRules option to fix statusCodes/limit bypassing 7c0aee6
  • Add support for serverName HTTPS option cdaab63
  • Add preserveHooks option for retryWithMergedOptions 1abeba4
  • Support Iterable and AsyncIterable as request body b65b0e1
  • Fix hang on revalidated cached responses 2ab94fd
  • Fix handling of FormData getLength errors a2812de
  • Fix downloadProgress firing for redirect responses 9ec6ff0
  • Fix TypeScript type definition for retry event's createRetryStream parameter e899c07
  • Fix validation to accept false as agent value 6961284
  • Fix HTTP/2 memory leak from timeout listeners with connection reuse d1d4ed2
  • Fix QuickLRU v7+ compatibility 23d0b6b
  • Fix it not using HTTP/2 connection reuse by default 724d592
  • Fix hang with stream requests without body for methods like OPTIONS dc4f1e3

v14.4.9

Compare Source

  • Fix hang with responses containing content-encoding headers but no body cc434bc

v14.4.8

Compare Source

  • Fix infinite loop when retrying with request.options in afterResponse hook dad6a91

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 #​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!


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 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 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
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 12, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/vvoyer/tzdb/8gh3hhrNqsMcsUgyk91uBmNjPvhW
✅ Preview: Failed

[Deployment for eca922d failed]

@vercel
Copy link
Copy Markdown

vercel bot commented May 6, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
tzdb ❌ Failed (Inspect) May 23, 2025 10:14pm

@renovate
Copy link
Copy Markdown
Contributor Author

renovate bot commented Apr 5, 2024

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: package-lock.json
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: eslint-plugin-import@2.25.4
npm ERR! Found: eslint@9.2.0
npm ERR! node_modules/eslint
npm ERR!   dev eslint@"9.2.0" from the root project
npm ERR!   peer eslint@">= 4.12.1" from babel-eslint@10.1.0
npm ERR!   node_modules/babel-eslint
npm ERR!     dev babel-eslint@"10.1.0" from the root project
npm ERR!   1 more (@eslint-community/eslint-utils)
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer eslint@"^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8" from eslint-plugin-import@2.25.4
npm ERR! node_modules/eslint-plugin-import
npm ERR!   dev eslint-plugin-import@"2.25.4" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: eslint@8.57.0
npm ERR! node_modules/eslint
npm ERR!   peer eslint@"^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8" from eslint-plugin-import@2.25.4
npm ERR!   node_modules/eslint-plugin-import
npm ERR!     dev eslint-plugin-import@"2.25.4" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! See /tmp/renovate/cache/others/npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /tmp/renovate/cache/others/npm/_logs/2024-05-03T19_52_56_391Z-debug-0.log

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