tools: update gyp-next to 0.19.1 · nodejs/node@e9092b1

3 files changed

lines changed

Original file line numberDiff line numberDiff line change

@@ -1,5 +1,12 @@

11

# Changelog

22
3+

## [0.19.1](https://github.com/nodejs/gyp-next/compare/v0.19.0...v0.19.1) (2024-12-09)

4+
5+
6+

### Bug Fixes

7+
8+

* fixup for break in EscapeForCString ([#274](https://github.com/nodejs/gyp-next/issues/274)) ([610f661](https://github.com/nodejs/gyp-next/commit/610f661da877a358c8b3cbc106b528fb1d0b8095))

9+
310

## [0.19.0](https://github.com/nodejs/gyp-next/compare/v0.18.3...v0.19.0) (2024-12-03)

411
512
Original file line numberDiff line numberDiff line change

@@ -29,7 +29,7 @@ def EscapeForCString(string: bytes | str) -> str:

2929

string = string.encode(encoding='utf8')

3030
3131

backslash_or_double_quote = {ord('\\'), ord('"')}

32-

result = []

32+

result = ''

3333

for char in string:

3434

if char in backslash_or_double_quote or not 32 <= char < 127:

3535

result += '\\%03o' % char

Original file line numberDiff line numberDiff line change

@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

44
55

[project]

66

name = "gyp-next"

7-

version = "0.19.0"

7+

version = "0.19.1"

88

authors = [

99

{ name="Node.js contributors", email="ryzokuken@disroot.org" },

1010

]