Update dependency njs-types to v1 #146

Open
MaidFox wants to merge 1 commit from renovate/njs-types-1.x into main
Member

This PR contains the following updates:

Package Change Age Confidence
njs-types (source) ^0.9.1^1.0.0 age confidence

Release Notes

nginx/njs (njs-types)

v1.0.0

Compare Source

njs-1.0.0 is a milestone release. With the QuickJS engine now at feature parity with the original njs engine, QuickJS becomes the recommended engine and the built-in njs engine is deprecated.

Deprecation does not mean removal. The njs engine will continue to be supported and have its bugs fixed for the foreseeable future, and it will remain available as an option for compatibility. We recommend migrating to QuickJS, which will eventually become the default engine.

This release focuses on security and stability hardening. Additionally, exception classes reported by the HTTP, Stream, Fetch, and core built-in APIs are now aligned between the njs and QuickJS engines (TypeError for API misuse, RangeError for out-of-range values), and the Fetch client rejects unsafe request targets, methods, and header values before request serialization. String-producing buffer growth is now bounded, so exceeding the maximum string length raises a catchable RangeError instead of exhausting worker memory.

Below is a release summary generated by GitHub.

What's Changed

Full Changelog: https://github.com/nginx/njs/compare/0.9.9...1.0.0


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • 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.

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


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [njs-types](https://nginx.org/en/docs/njs/) ([source](https://github.com/nginx/njs)) | [`^0.9.1` → `^1.0.0`](https://renovatebot.com/diffs/npm/njs-types/0.9.4/1.0.0) | ![age](https://developer.mend.io/api/mc/badges/age/npm/njs-types/1.0.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/njs-types/0.9.4/1.0.0?slim=true) | --- ### Release Notes <details> <summary>nginx/njs (njs-types)</summary> ### [`v1.0.0`](https://github.com/nginx/njs/releases/tag/1.0.0) [Compare Source](https://github.com/nginx/njs/compare/0.9.4...1.0.0) [njs-1.0.0](https://nginx.org/en/docs/njs/changes.html#njs1.0.0) is a milestone release. With the [QuickJS engine](https://nginx.org/en/docs/njs/engine.html) now at feature parity with the original njs engine, QuickJS becomes the recommended engine and the built-in njs engine is deprecated. Deprecation does not mean removal. The njs engine will continue to be supported and have its bugs fixed for the foreseeable future, and it will remain available as an option for compatibility. We recommend migrating to QuickJS, which will eventually become the default engine. This release focuses on security and stability hardening. Additionally, exception classes reported by the HTTP, Stream, Fetch, and core built-in APIs are now aligned between the njs and QuickJS engines (`TypeError` for API misuse, `RangeError` for out-of-range values), and the [Fetch](https://nginx.org/en/docs/njs/reference.html#ngx_fetch) client rejects unsafe request targets, methods, and header values before request serialization. String-producing buffer growth is now bounded, so exceeding the maximum string length raises a catchable `RangeError` instead of exhausting worker memory. Below is a release summary generated by GitHub. #### What's Changed - Agents guide. by [@&#8203;xeioex](https://github.com/xeioex) in [#&#8203;1065](https://github.com/nginx/njs/pull/1065) - Hardening fixes. by [@&#8203;xeioex](https://github.com/xeioex) in [#&#8203;1066](https://github.com/nginx/njs/pull/1066) - Fetch hardening. by [@&#8203;xeioex](https://github.com/xeioex) in [#&#8203;1068](https://github.com/nginx/njs/pull/1068) - Exceptions overhaul. by [@&#8203;xeioex](https://github.com/xeioex) in [#&#8203;1069](https://github.com/nginx/njs/pull/1069) - QuickJS: fix consumed value cleanup. by [@&#8203;xeioex](https://github.com/xeioex) in [#&#8203;1070](https://github.com/nginx/njs/pull/1070) - Fix OOM in staging/sm/String/replace-math Tests262. by [@&#8203;xeioex](https://github.com/xeioex) in [#&#8203;1072](https://github.com/nginx/njs/pull/1072) - Misc fixes. by [@&#8203;xeioex](https://github.com/xeioex) in [#&#8203;1073](https://github.com/nginx/njs/pull/1073) - Misc fixes. by [@&#8203;xeioex](https://github.com/xeioex) in [#&#8203;1074](https://github.com/nginx/njs/pull/1074) - HTTP: fix segfault reading a request header with no cache slot. by [@&#8203;xeioex](https://github.com/xeioex) in [#&#8203;1075](https://github.com/nginx/njs/pull/1075) - Fix use-after-free in Array.prototype.sort(). by [@&#8203;xeioex](https://github.com/xeioex) in [#&#8203;1079](https://github.com/nginx/njs/pull/1079) - HTTP: fix use-after-free in r.subrequest() on premature client close. by [@&#8203;xeioex](https://github.com/xeioex) in [#&#8203;1080](https://github.com/nginx/njs/pull/1080) - Misc fixes. by [@&#8203;xeioex](https://github.com/xeioex) in [#&#8203;1076](https://github.com/nginx/njs/pull/1076) - Version 1.0.0. by [@&#8203;xeioex](https://github.com/xeioex) in [#&#8203;1082](https://github.com/nginx/njs/pull/1082) **Full Changelog**: <https://github.com/nginx/njs/compare/0.9.9...1.0.0> </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - 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. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yNi4wIiwidXBkYXRlZEluVmVyIjoiNDQuMjYuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
Update dependency njs-types to v1
All checks were successful
/ lint (pull_request) Successful in 27s
0fcf33513a
All checks were successful
/ lint (pull_request) Successful in 27s
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/njs-types-1.x:renovate/njs-types-1.x
git switch renovate/njs-types-1.x

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff renovate/njs-types-1.x
git switch renovate/njs-types-1.x
git rebase main
git switch main
git merge --ff-only renovate/njs-types-1.x
git switch renovate/njs-types-1.x
git rebase main
git switch main
git merge --no-ff renovate/njs-types-1.x
git switch main
git merge --squash renovate/njs-types-1.x
git switch main
git merge --ff-only renovate/njs-types-1.x
git switch main
git merge renovate/njs-types-1.x
git push origin main
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
FoxDen/core!146
No description provided.