Shelley Vohr
3345edd2bf
chore: upgrade Node.js to v24.10.0 ( #48613 )
...
* chore: upgrade Node.js to v24.10.0
* chore: fixup crypto patch
* chore: fixup crypto test patch
* src: prepare for v8 sandboxing
https://github.com/nodejs/node/pull/58376
* esm: fix module.exports export on CJS modules
https://github.com/nodejs/node/pull/57366
* chore: fixup lazyload fs patch
* esm: Source Phase Imports for WebAssembly
https://github.com/nodejs/node/pull/56919
* module: remove --experimental-default-type
https://github.com/nodejs/node/pull/56092
* lib,src: refactor assert to load error source from memory
https://github.com/nodejs/node/pull/59751
* src: add source location to v8::TaskRunner
https://github.com/nodejs/node/pull/54077
* src: remove dependency on wrapper-descriptor-based CppHeap
https://github.com/nodejs/node/pull/54077
* src: do not use soon-to-be-deprecated V8 API
https://github.com/nodejs/node/pull/53174
* src: stop using deprecated fields of v8::FastApiCallbackOptions
https://github.com/nodejs/node/pull/54077
* test: update v8-stats test for V8 12.6
https://github.com/nodejs/node/pull/54077
* esm: unflag --experimental-wasm-modules
https://github.com/nodejs/node/pull/57038
* test: adapt assert tests to stack trace changes
https://github.com/nodejs/node/pull/58070
* src,test: unregister the isolate after disposal and before freeing
https://github.com/nodejs/node/pull/58070
* src: use cppgc to manage ContextifyContext
https://github.com/nodejs/node/pull/56522
* src: replace uses of FastApiTypedArray
https://github.com/nodejs/node/pull/58070
* module: integrate TypeScript into compile cache
https://github.com/nodejs/node/pull/56629
* deps: update ada to 3.2.7
https://github.com/nodejs/node/pull/59336
* src: make minor cleanups in encoding_binding.cc
https://github.com/nodejs/node/pull/57448
* src: switch from `Get/SetPrototype` to `Get/SetPrototypeV2`
https://github.com/nodejs/node/pull/55453
* src: use non-deprecated Get/SetPrototype methods
https://github.com/nodejs/node/pull/59671
* src: simplify string_bytes with views
https://github.com/nodejs/node/pull/54876
* src: improve utf8 string generation performance
https://github.com/nodejs/node/pull/54873
* src: use non-deprecated Utf8LengthV2() method
https://github.com/nodejs/node/pull/58070
* src: use non-deprecated WriteUtf8V2() method
https://github.com/nodejs/node/pull/58070
* src: refactor WriteUCS2 and remove flags argument
https://github.com/nodejs/node/pull/58163
* src: use String::WriteV2() in TwoByteValue
https://github.com/nodejs/node/pull/58164
* node-api: use WriteV2 in napi_get_value_string_utf16
https://github.com/nodejs/node/pull/58165
* node-api: use WriteOneByteV2 in napi_get_value_string_latin1
https://github.com/nodejs/node/pull/58325
* src: migrate WriteOneByte to WriteOneByteV2
https://github.com/nodejs/node/pull/59634
* fs: introduce dirent\.parentPath
https://github.com/nodejs/node/pull/50976
* src: avoid copy by using std::views::keys
https://github.com/nodejs/node/pull/56080
* chore: fixup patch indices
* fix: errant use of context->GetIsolate()
* fix: tweak BoringSSL compat patch for new changes
* fix: add back missing isolate dtor declaration
* fixup! esm: fix module.exports export on CJS modules
* cli: remove --no-experimental-fetch flag
https://github.com/nodejs/node/pull/52611/files
* esm: Source Phase Imports for WebAssembly
https://github.com/nodejs/node/pull/56919
* fixup! src: prepare for v8 sandboxing
* chore: bump @types/node to v24
* chore: fix const assignment in crypto test
* fix: sandbox pointer patch issues
* chore: rework source phase import patch
* src: add percentage support to --max-old-space-size
https://github.com/nodejs/node/pull/59082
* chore: fixup crypto tests
* chore: HostImportModuleWithPhaseDynamically todo
* fix: cjs esm failures
* fix: v8::Object::Wrappable issues
- b72a615754
- 490bac2496
- 4896a0dd69
* chore: remove deleted specs
* src: use v8::ExternalMemoryAccounter
https://github.com/nodejs/node/pull/58070
* fs: port SonicBoom module to fs module as FastUtf8Stream
https://github.com/nodejs/node/pull/58897
* chore: tweak sandboxed pr patch
* test: disable parallel/test-os-checked-function
* test: use WHATWG URL instead of url.parse
* fix: OPENSSL_secure_zalloc doesn't work in BoringSSL
* chore: fix accidental extra line
* 7017517: [defer-import-eval] Parse import defer syntax
https://chromium-review.googlesource.com/c/v8/v8/+/7017517
2025-10-30 19:16:48 +01:00
Samuel Attard
122685194a
build: add import/order eslint rule ( #44085 )
...
* build: add import/order eslint rule
* chore: run lint:js --fix
2024-10-02 19:10:44 -07:00
Jeremy Rose
4e8c28fdf0
fix: data corruption in protocol.handle ( #41894 )
2024-04-22 13:40:01 -07:00
Henrik Gaßmann
80906c0adb
fix: properly stream uploadData in protocol.handle() ( #41052 )
...
* refactor(protocol): extract file stream factory
Increase readability by moving the file stream creation logic out of the
`uploadData` to request body conversion function.
* fix: properly flatten streams in `protocol.handle()`
Refs: electron/electron#39658
* fix: `protocol.handle()` filter null origin header
Refs: electron/electron#40754
* fix: remove obsolete TODO comment
Refs: electron/electron#38929
* fix: forward `Blob` parts in `protocol.handle()`
Refs: electron/electron#40826
* fix: explicitly error out on unknown chunk parts
2024-02-16 14:29:29 -05:00
Shelley Vohr
b142fce229
fix: protocol.handle not intercepting file protocol ( #39048 )
...
fix: protocol.handle not intercepting file protocol
2023-07-12 11:42:49 +02:00
Milan Burda
607e71d563
refactor: replace Object.prototype.hasOwnProperty() with Object.hasOwn() ( #38929 )
2023-06-27 16:57:33 -04:00
Shelley Vohr
86824c070e
fix: validate response in protocol.handle() ( #38587 )
...
fix: validate response in protocol.handle()
2023-06-07 09:29:04 +02:00
Jeremy Rose
fda8ea9277
feat: add protocol.handle ( #36674 )
2023-03-27 10:00:55 -07:00
Cheng Zhao
998f17ee59
fix: make protocol wrapper remote-friendly again ( #27009 )
2020-12-16 16:56:53 +09:00
Samuel Attard
b02748e607
build: ensure that electron/lib/browser can only use browser or common imports ( #24512 )
...
* build: ensure that electron/lib/browser can only use browser or common imports
* chore: fix linting
2020-07-13 09:58:49 -07:00
Shelley Vohr
659e79fc08
refactor: prevent consistent early exception ( #24191 )
...
* refactor: prevent consistent early exception
* Use _linkedBinding where possible
* Remove dead electronBinding
2020-06-22 20:32:45 -07:00
Jeremy Apthorp
e73d5e3db5
refactor: ginify protocol ( #22812 )
2020-03-26 10:34:32 -07:00
Samuel Attard
5d657dece4
build: enable JS semicolons ( #22783 )
2020-03-20 13:28:31 -07:00
Samuel Attard
b87b501161
build: update eslint + eslint plugins ( #22777 )
...
* build: run eslint --fix
* chore: manually fix all hasOwnProperty errors
* chore: manually fix all void 0 vs undefined errors
* chore: manually fix all async-in-promise errors
* chore: manually fix lexical declaration in case block
2020-03-20 11:12:18 -04:00
Shelley Vohr
38d75010c7
chore: rename atomBinding to electronBinding ( #17419 )
2019-03-18 12:37:06 -07:00
Felix Rieseberg
5581990d78
build: Update TypeScript, use @typescript-eslint ( #17251 )
...
* build: Update TypeScript to v3.3
* build: Update TypeScript, use @typescript-eslint
2019-03-07 12:56:02 -08:00
Samuel Attard
01c442de64
refactor: convert more files to typescript ( #16820 )
2019-02-12 04:22:33 -10:00