tools: update gyp-next to 0.19.1

PR-URL: https://github.com/nodejs/node/pull/56111
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
pull/56243/head
Anna Henningsen 2024-12-10 14:06:31 -05:00 committed by Node.js GitHub Bot
parent e5524eaefa
commit a963b5e9f3
3 changed files with 9 additions and 2 deletions

View File

@ -1,5 +1,12 @@
# Changelog
## [0.19.1](https://github.com/nodejs/gyp-next/compare/v0.19.0...v0.19.1) (2024-12-09)
### Bug Fixes
* fixup for break in EscapeForCString ([#274](https://github.com/nodejs/gyp-next/issues/274)) ([610f661](https://github.com/nodejs/gyp-next/commit/610f661da877a358c8b3cbc106b528fb1d0b8095))
## [0.19.0](https://github.com/nodejs/gyp-next/compare/v0.18.3...v0.19.0) (2024-12-03)

View File

@ -29,7 +29,7 @@ def EscapeForCString(string: bytes | str) -> str:
string = string.encode(encoding='utf8')
backslash_or_double_quote = {ord('\\'), ord('"')}
result = []
result = ''
for char in string:
if char in backslash_or_double_quote or not 32 <= char < 127:
result += '\\%03o' % char

View File

@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "gyp-next"
version = "0.19.0"
version = "0.19.1"
authors = [
{ name="Node.js contributors", email="ryzokuken@disroot.org" },
]