repo
stringclasses
15 values
fix_commit
stringlengths
40
40
buggy_commit
stringlengths
40
40
message
stringlengths
3
64.3k
files
listlengths
1
300
timestamp
timestamp[s]date
2013-03-13 20:45:00
2026-04-11 07:48:46
mrdoob/three.js
2389967d30fd493bdef1169a14aad92e54bcbca2
f0a65ef67e50d3c6ee158d2198b8fe6910484479
SVGLoader: Fix round stroke joins and caps when `arcDivisions = 1` (#33256) Co-authored-by: Michael Herzog <michael.herzog@human-interactive.org>
[ { "path": "examples/jsm/loaders/SVGLoader.js", "patch": "@@ -3005,7 +3005,7 @@ class SVGLoader extends Loader {\n \n \t\t\t}\n \n-\t\t\taddVertex( tempV2_4, u, v );\n+\t\t\taddVertex( tempV2_3, u, v );\n \t\t\taddVertex( p2, u, v );\n \t\t\taddVertex( center, u, 0.5 );\n ", "additions": 1, "deletion...
2026-03-28T09:21:14
vuejs/vue
d52fbff7a77d8d9c032a74a21c34e2c122add5d9
0e8511a8becf627e00443bd799dd99e5fd1b8a35
chore: fix typo in utils.ts (#12927) [skip ci]
[ { "path": "src/types/utils.ts", "patch": "@@ -1,3 +1,3 @@\n-// If the the type T accepts type \"any\", output type Y, otherwise output type N.\n+// If the type T accepts type \"any\", output type Y, otherwise output type N.\n // https://stackoverflow.com/questions/49927523/disallow-call-with-any/49928360#49...
2023-01-12T14:47:00
golang/go
d7b6fb44b5f39cb0f551ed7eb62498089b604a88
c1352b7df17574e0f7d3ada9514b36ddac993abb
cmd/compile: preserve dot vars necessary for debuggers in DWARF This patch fixes a bug introduced in the recent DWARF refactor / cleanup where `shouldEmitDwarf` was unified and ended up pruning certain dot prefixed vars that are necessary for debuggers. Other dot prefixed vars are already pruned in earlier passes, th...
[ { "path": "src/cmd/compile/internal/dwarfgen/dwarf.go", "patch": "@@ -675,8 +675,7 @@ func shouldEmitDwarfVar(n *ir.Name) bool {\n \tif n.Sym().Name == \"_\" {\n \t\treturn false\n \t}\n-\tc := n.Sym().Name[0]\n-\tif c == '.' || n.Type().IsUntyped() {\n+\tif n.Type().IsUntyped() {\n \t\treturn false\n \t}\n...
2026-04-07T19:32:00
denoland/deno
607c73fa98f914309afd6105173caf51fba19845
6b44f6d6babb98778177bf0738962c764e41fc5f
fix(ext/node): implement TCP.open(fd) (#33155) ## Summary - Wire `TCP.prototype.open(fd)` to delegate to the existing `NativeTCP.open()` which calls `uv_tcp_open` in `uv_compat` - Sets `kUseNativeWrap = true` on success so all subsequent I/O goes through the native libuv path - Fix `NativeTCP.open` to return `UV_EBADF...
[ { "path": "ext/node/ops/libuv_stream.rs", "patch": "@@ -348,11 +348,14 @@ impl TCP {\n \n #[fast]\n fn open(&self, #[smi] fd: i32) -> i32 {\n- // SAFETY: tcp handle is valid; fd is checked before use\n+ if fd < 0 {\n+ return uv_compat::UV_EBADF;\n+ }\n+ // SAFETY: tcp handle is valid; f...
2026-04-03T11:29:17
vuejs/vue
0e8511a8becf627e00443bd799dd99e5fd1b8a35
34c6192f4a5d0471da5655ebcf111653fd920172
chore: fix typo in apiAsyncComponent.ts (#12912)
[ { "path": "src/v3/apiAsyncComponent.ts", "patch": "@@ -47,7 +47,7 @@ export function defineAsyncComponent(\n \n if (__DEV__ && suspensible) {\n warn(\n- `The suspensiblbe option for async components is not supported in Vue2. It is ignored.`\n+ `The suspensible option for async components is ...
2022-12-27T21:38:05
mrdoob/three.js
61184846352941d0684167aa343467c9c2a384a2
b4822a411ab883290e21f9f5251ed40a7815265c
Docs: Fix module links in search. (#33255)
[ { "path": "utils/docs/template/publish.js", "patch": "@@ -191,7 +191,7 @@ function buildSearchListForData() {\n \n \t\t\t\t\tconst category = categoryMap[ className ];\n \t\t\t\t\tconst entry = {\n-\t\t\t\t\t\ttitle: item.longname,\n+\t\t\t\t\t\ttitle: item.longname.replace( 'module:', 'module-' ),\n \t\t\t...
2026-03-27T19:07:22
golang/go
497ec0d4e1763ffd167577cc2ac5fdb82b99ad82
6797caf71af755fb0fb1c7be72664619ac79f56f
cmd/go/internal/tool: only forward SIGHUP, SIGINT, SIGQUIT, and SIGTERM These are the signals that are likely to be sent to go tool by other programs. This means we won't forward SIGTSTP, SIGTTIN, SIGTTOU. Doing so was breaking expected behavior in a terminal. Fixes #76173 Change-Id: I018808e8ecf59e4e111f353968d83b8...
[ { "path": "src/cmd/go/internal/tool/signal.go", "patch": "@@ -0,0 +1,14 @@\n+// Copyright 2026 The Go Authors. All rights reserved.\n+// Use of this source code is governed by a BSD-style\n+// license that can be found in the LICENSE file.\n+\n+//go:build !plan9 && !js\n+\n+package tool\n+\n+import (\n+\t\"...
2026-04-06T14:13:32
denoland/deno
6b44f6d6babb98778177bf0738962c764e41fc5f
f172f70dc07e7ec90eeb8d7e73cbe41694278dab
feat(add/install): default to npm registry for unprefixed packages (#33156) Before: ``` $ deno install npm:express npm:react $ deno install --npm express react $ deno install jsr:@std/async ``` After: ``` $ deno install express react jsr:@std/async ``` --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@...
[ { "path": "cli/args/flags.rs", "patch": "@@ -6040,7 +6040,9 @@ fn add_parse_inner(\n } else if matches.get_flag(\"jsr\") {\n Some(DefaultRegistry::Jsr)\n } else {\n- None\n+ // Default to npm when no --npm or --jsr flag is provided.\n+ // This allows `deno add express` to work without requi...
2026-04-03T11:28:31
vuejs/vue
ca11dc6a86f26accc893c1ce5b611dc84a2e7c2d
9dd006b481b4299462e044741bac0861c0b1775c
chore: fix typo (#12894)
[ { "path": "src/core/observer/index.ts", "patch": "@@ -19,7 +19,7 @@ import { isReadonly, isRef, TrackOpTypes, TriggerOpTypes } from '../../v3'\n \n const arrayKeys = Object.getOwnPropertyNames(arrayMethods)\n \n-const NO_INIITIAL_VALUE = {}\n+const NO_INITIAL_VALUE = {}\n \n /**\n * In some cases we may wa...
2022-12-06T14:35:28
mrdoob/three.js
a14d87454682cba3816d13403d5f3ea29b771eb1
fdd1b45692130de7f221da7525422a9030fc0a69
Fix missing return in DataTextureLoader catch block (#33243)
[ { "path": "src/loaders/DataTextureLoader.js", "patch": "@@ -67,10 +67,11 @@ class DataTextureLoader extends Loader {\n \t\t\t\t} else {\n \n \t\t\t\t\terror( e );\n-\t\t\t\t\treturn;\n \n \t\t\t\t}\n \n+\t\t\t\treturn;\n+\n \t\t\t}\n \n \t\t\tif ( texData.image !== undefined ) {", "additions": 2, "d...
2026-03-25T21:33:16
mrdoob/three.js
fdd1b45692130de7f221da7525422a9030fc0a69
aebac8a9064e1bbfac13b8e0bdafeab5355a8402
ObjectLoader: Fix log regression. (#33240)
[ { "path": "src/loaders/ObjectLoader.js", "patch": "@@ -121,11 +121,11 @@ class ObjectLoader extends Loader {\n \n \t\t\t\tjson = JSON.parse( text );\n \n-\t\t\t} catch ( error ) {\n+\t\t\t} catch ( e ) {\n \n-\t\t\t\tif ( onError !== undefined ) onError( error );\n+\t\t\t\tif ( onError !== undefined ) onErr...
2026-03-25T18:15:45
denoland/deno
4e6eb1e1d53f108898d85384ebb282b4f33a757a
ff775b28644c15915919b0d64cc5010cd3eef87d
fix(ext/node): create net.Socket from file descriptors (#33150) ## Summary - Implements the `fd` option for `net.Socket()`, matching Node.js `lib/net.js` behavior - When `fd` is provided, `_createHandle(fd)` determines handle type via `guessHandleType`, then `handle.open(fd)` registers the fd for stream I/O - Adds `op...
[ { "path": "ext/node/lib.rs", "patch": "@@ -207,6 +207,7 @@ deno_core::extension!(deno_node,\n ops::fs::op_node_file_from_fd,\n ops::fs::op_node_register_fd,\n ops::fs::op_node_create_pipe,\n+ ops::fs::op_node_fd_set_blocking,\n ops::fs::op_node_fs_close,\n ops::fs::op_node_fs_read_syn...
2026-04-03T09:47:13
golang/go
899e473c3b4872a9001ce1df60e6cb575502ebb0
e186f8d25cfd86ed4c530e319712ae338a165a4e
archive/tar: limit the number of old GNU sparse format entries We did not set a limit on the maximum size of sparse maps in the old GNU sparse format. Set a limit based on the cumulative size of the extension blocks used to encode the map (consistent with how we limit the sparse map size for other formats). Add an ad...
[ { "path": "src/archive/tar/format.go", "patch": "@@ -147,6 +147,12 @@ const (\n \t// Max length of a special file (PAX header, GNU long name or link).\n \t// This matches the limit used by libarchive.\n \tmaxSpecialFileSize = 1 << 20\n+\n+\t// Maximum number of sparse file entries.\n+\t// We should never ac...
2026-03-23T20:12:44
vuejs/vue
29b5f588032600baae9854ac9a4105916a5aa648
d1899caf688de961e63e7a0d56f806fc4a12efd9
fix(reactivity): avoid using WeakMap for IE compatibility Using a WeakMap polyfill isn't ideal because the reason we tried to use WeakMap was to work with non-extensible objects. However, WeakMap polyfill for non-extensible objects are non-weak and could lead to memory leaks. The trade-off is that we remove support f...
[ { "path": "src/core/observer/index.ts", "patch": "@@ -16,7 +16,6 @@ import {\n noop\n } from '../util/index'\n import { isReadonly, isRef, TrackOpTypes, TriggerOpTypes } from '../../v3'\n-import { rawMap } from '../../v3/reactivity/reactive'\n \n const arrayKeys = Object.getOwnPropertyNames(arrayMethods)\...
2022-11-09T12:33:05
mrdoob/three.js
d31df14f23f383ded1c92fd643eb149c74ee10a8
2f89c1e296f041f5a188df3eadc0f16639d10c2b
Line2NodeMaterial: Fix clone() losing worldUnits, dashed, and linewidth (#33236)
[ { "path": "src/materials/nodes/Line2NodeMaterial.js", "patch": "@@ -537,6 +537,33 @@ class Line2NodeMaterial extends NodeMaterial {\n \n \t}\n \n+\t/**\n+\t * Copies the properties of the given material to this instance.\n+\t *\n+\t * @param {Line2NodeMaterial} source - The material to copy.\n+\t * @return ...
2026-03-25T08:48:18
denoland/deno
ff775b28644c15915919b0d64cc5010cd3eef87d
d198cda44b7fddb56d892a8ef2349d1630adfa37
fix(ext/node): support numeric FDs in child_process stdio array (#33140) ## Summary Now that `fs.openSync` returns real OS file descriptors (#33039), numeric values in child_process stdio arrays should be treated as raw fds rather than Deno resource IDs. This re-lands the functionality from #32959 (reverted in #33017...
[ { "path": "ext/io/lib.rs", "patch": "@@ -262,31 +262,50 @@ deno_core::extension!(deno_io,\n ));\n assert_eq!(rid, 0, \"stdin must have ResourceId 0\");\n \n- let rid = t.add(FileResource::new(\n- Rc::new(match stdio.stdout.pipe {\n- StdioPipeInner::Inherit => StdFileResource...
2026-04-03T04:23:50
golang/go
e186f8d25cfd86ed4c530e319712ae338a165a4e
c3c65602d639e60ed6071fee22979b7e3ece1a30
all: update to x/tools@f6476fbaabd396b58618b473e4eb71e1f532b495 This just brings in CL 763663 in hopes of fixing the longest builders. Change-Id: Ib4a24dc214f58e77dfd2999df7ecf5c0dd21d1fc Reviewed-on: https://go-review.googlesource.com/c/go/+/763770 Reviewed-by: Robert Griesemer <gri@google.com> LUCI-TryBot-Result: G...
[ { "path": "src/cmd/go.mod", "patch": "@@ -11,7 +11,7 @@ require (\n \tgolang.org/x/sys v0.42.1-0.20260320201212-a76ec62d6c53\n \tgolang.org/x/telemetry v0.0.0-20260311193753-579e4da9a98c\n \tgolang.org/x/term v0.39.0\n-\tgolang.org/x/tools v0.43.1-0.20260406190732-b36d1d12a1a7\n+\tgolang.org/x/tools v0.43.1...
2026-04-07T23:12:41
vuejs/vue
d1899caf688de961e63e7a0d56f806fc4a12efd9
5e3d4e90cdf92ec0a72bbb2bd44125f1faafae1d
fix(provide/inject): do not mutate original provide options during merge fix #12854
[ { "path": "src/core/util/options.ts", "patch": "@@ -51,7 +51,8 @@ if (__DEV__) {\n */\n function mergeData(\n to: Record<string | symbol, any>,\n- from: Record<string | symbol, any> | null\n+ from: Record<string | symbol, any> | null,\n+ recursive = true\n ): Record<PropertyKey, any> {\n if (!from) ...
2022-11-09T12:04:25
mrdoob/three.js
33feff9e355cddabc3493533fb4ee9bc09091c6d
a567d3642a5357194accb890ba02c42842b18193
Inspector: Fix `Tab.isActive`
[ { "path": "examples/jsm/inspector/ui/Tab.js", "patch": "@@ -40,7 +40,7 @@ export class Tab extends EventDispatcher {\n \t\tthis.content.id = `${this.id}-content`;\n \t\tthis.content.className = 'profiler-content';\n \n-\t\tthis.isActive = false;\n+\t\tthis._isActive = false;\n \t\tthis.isVisible = true;\n \...
2026-03-25T06:45:47
denoland/deno
d198cda44b7fddb56d892a8ef2349d1630adfa37
6383876893b0cfe7e6622259e9207a175fa24043
fix(ext/node): rewrite Pipe.open(fd) to use raw fd ops (#33136) ## Summary Rewrites `Pipe.open(fd)` to use the `NodeFsState` fd-based I/O infrastructure (from #33039) instead of creating Deno resources. - **New op: `op_node_register_fd`** -- registers a raw OS fd in `NodeFsState` so existing fd-based read/write/clos...
[ { "path": "ext/net/lib.rs", "patch": "@@ -102,8 +102,6 @@ deno_core::extension!(deno_net,\n ops_unix::op_node_unstable_net_listen_unixpacket,\n ops_unix::op_net_recv_unixpacket,\n ops_unix::op_net_send_unixpacket,\n- ops_unix::op_net_unix_stream_from_fd,\n-\n ops_win_pipe::op_pipe_open,\n...
2026-04-02T18:32:10
golang/go
c3c65602d639e60ed6071fee22979b7e3ece1a30
524b8606a8e4e8f6e37f77c7d601fdf44497b928
internal/syscall/unix: properly support AT_SYMLINK_NOFOLLOW on Linux On Linux, the fchmodat syscall silently ignores the AT_SYMLINK_NOFOLLOW flag. Change the Linux Fchmodat function to use the fstatat2 syscall (added in Linux 6.6) when available. When fstatat2 is not available, use the same workaround as GNU libc an...
[ { "path": "src/cmd/dist/buildtool.go", "patch": "@@ -92,6 +92,7 @@ var bootstrapDirs = []string{\n \t\"internal/race\",\n \t\"internal/runtime/gc\",\n \t\"internal/saferio\",\n+\t\"internal/strconv\",\n \t\"internal/syscall/unix\",\n \t\"internal/types/errors\",\n \t\"internal/unsafeheader\",", "additio...
2026-03-23T17:34:50
vuejs/vue
5e3d4e90cdf92ec0a72bbb2bd44125f1faafae1d
5aed733ab6b6605314cc5f24cc1b1dd9aa4413c8
fix(compiler-sfc): fix template usage check edge case for v-slot destructured default value (#12842) fix #12841
[ { "path": "packages/compiler-sfc/src/compileScript.ts", "patch": "@@ -39,7 +39,7 @@ import { walk } from 'estree-walker'\n import { RawSourceMap } from 'source-map'\n import { warnOnce } from './warn'\n import { isReservedTag } from 'web/util'\n-import { bindRE, dirRE, onRE } from 'compiler/parser'\n+import...
2022-11-09T09:52:35
mrdoob/three.js
207740de065cf99a55930b2d24fe98206c15a392
48301423ccfa37e09540972a71e7d6bff922103f
WGSLNodeBuilder: Fix varying indexes (#33229)
[ { "path": "src/renderers/webgpu/nodes/WGSLNodeBuilder.js", "patch": "@@ -1807,13 +1807,15 @@ ${ flowData.code }\n \t\t\tconst varyings = this.varyings;\n \t\t\tconst vars = this.vars[ shaderStage ];\n \n+\t\t\tlet varyingIndex = 0;\n+\n \t\t\tfor ( let index = 0; index < varyings.length; index ++ ) {\n \n \...
2026-03-23T22:39:04
denoland/deno
6383876893b0cfe7e6622259e9207a175fa24043
dba93738662f4b6ad47356095f230f5be76a7908
fix: linked packages with peer deps failing to cache from lockfile (#33143) ## Summary - Fix linked npm packages with peer dependencies causing `Failed caching npm package` error when `deno.lock` is present - The serialized lockfile key for packages with peer deps includes a suffix (e.g. `@myorg/shared@1.0.0_zod@4.3....
[ { "path": "libs/npm/resolution/snapshot.rs", "patch": "@@ -965,12 +965,13 @@ pub fn snapshot_from_lockfile(\n let mut root_packages = HashMap::<PackageReq, NpmPackageId>::with_capacity(\n lockfile.content.packages.specifiers.len(),\n );\n- let link_package_ids = params\n+ let link_package_nvs = pa...
2026-04-02T15:26:37
vuejs/vue
f7db7f361b6356591781b9f33abbb0d5b7f9b97c
0b3cf7dda9ac605b2b9f799acacd2793e974f225
fix(types): fix spreading VNodeData in tsx (#12789) fix #12778
[ { "path": "types/test/vue-test.ts", "patch": "@@ -228,21 +228,21 @@ obj.a++\n const ComponentWithStyleInVNodeData = Vue.extend({\n render(h) {\n const elementWithStyleAsString = h('div', {\n- style: 'background-color: red;'\n+ style: '--theme-color: black;'\n })\n \n- const elementWit...
2022-11-09T09:34:55
golang/go
a2cc178edf7908a2686089bdc35d1e6d134c7dd1
230d1407b04da5d65505415b1a7b4f6d70c75086
go/types: Hasher, a hash function for Types This CL defines a hash function for Types using the maphash.Hasher API proposed in #70471 (CL 657296) that is consistent with the equivalence relation of types.Identical. It also defines a variant, HasherIgnoreTypes, that is consistent with types.IdenticalIgnoreTags. (The a...
[ { "path": "api/next/69420.txt", "patch": "@@ -0,0 +1,6 @@\n+pkg go/types, method (Hasher) Equal(Type, Type) bool #69420\n+pkg go/types, method (Hasher) Hash(*maphash.Hash, Type) #69420\n+pkg go/types, method (HasherIgnoreTags) Equal(Type, Type) bool #69420\n+pkg go/types, method (HasherIgnoreTags) Hash(*map...
2025-03-12T22:13:04
mrdoob/three.js
48301423ccfa37e09540972a71e7d6bff922103f
6591d2536ea3db6d829c46389785024ec599502b
Update NodeManager.js Fix typo.
[ { "path": "src/renderers/common/nodes/NodeManager.js", "patch": "@@ -952,7 +952,7 @@ class NodeManager extends DataMap {\n \n \t/**\n \t * Triggers the call of `update()` methods\n-\t * for all nodes of the given compute node.\n+\t * for all nodes of the given render object.\n \t *\n \t * @param {RenderObje...
2026-03-23T20:24:31
vuejs/vue
0b3cf7dda9ac605b2b9f799acacd2793e974f225
a5afc4d0a4bfb9a777ac39b942edb932aad71097
fix(types): stricter type condition for `EventHandlers` (#12840) fix #12832
[ { "path": "types/jsx.d.ts", "patch": "@@ -1297,7 +1297,9 @@ export interface Events {\n }\n \n type EventHandlers<E> = {\n- [K in keyof E]?: E[K] extends Function ? E[K] : (payload: E[K]) => void\n+ [K in keyof E]?: E[K] extends (...args: any) => any\n+ ? E[K]\n+ : (payload: E[K]) => void\n }\n \n t...
2022-11-09T09:25:28
golang/go
e3b3216242691ab0e02164458bda98346ce36adf
6f662188c2e2640712af74a01f589ee31ba0282f
math/big: Binomial should return 0 if k < 0 Fixes #78541 Change-Id: I73ba10b6d34f9f189b5bdd356d6325d5a4a6985f GitHub-Last-Rev: 0594d99f55c51f2f164d17a61c4eb1b2bbb8462e GitHub-Pull-Request: golang/go#78542 Reviewed-on: https://go-review.googlesource.com/c/go/+/763000 Auto-Submit: Robert Griesemer <gri@google.com> Revi...
[ { "path": "src/math/big/int.go", "patch": "@@ -227,7 +227,7 @@ func (z *Int) MulRange(a, b int64) *Int {\n \n // Binomial sets z to the binomial coefficient C(n, k) and returns z.\n func (z *Int) Binomial(n, k int64) *Int {\n-\tif k > n {\n+\tif k > n || k < 0 {\n \t\treturn z.SetInt64(0)\n \t}\n \t// reduc...
2026-04-06T10:36:44
mrdoob/three.js
aed29ca2fef72a0c9663624f3bccbe27c21a0cc8
f01bb0837278e4fe0f20f579e350a87114cc2f63
SVGRenderer: Fix performance regression. (#33220)
[ { "path": "examples/jsm/renderers/Projector.js", "patch": "@@ -310,18 +310,18 @@ class Projector {\n \t\t\t\tconst v2 = _vertexPool[ b ];\n \t\t\t\tconst v3 = _vertexPool[ c ];\n \n-\t\t\t\t// Get homogeneous clip space positions (before perspective divide)\n-\t\t\t\t_clipPos1.copy( v1.positionWorld ).apply...
2026-03-21T09:12:14
vuejs/vue
a5afc4d0a4bfb9a777ac39b942edb932aad71097
6d9aac8bd38f6d30a6db70b51fa46f27cbeac559
chore: fix typo (#12863)
[ { "path": "packages/compiler-sfc/test/compileScript.spec.ts", "patch": "@@ -1571,7 +1571,7 @@ describe('SFC analyze <script> bindings', () => {\n </script>\n <template>\n <div @click=\"$emit('update:a');\"></div>\n- </tempalte>\n+ </template>\n `)\n })\n })", "a...
2022-11-09T08:07:36
denoland/deno
dba93738662f4b6ad47356095f230f5be76a7908
593bb1cf623fa3b10632fa81e8cc7fc3b61c65ba
refactor: remove forked typescript-go infrastructure (#33133) ## Summary - Remove all code related to the `denoland/typescript-go` fork binary - `--unstable-tsgo` / `DENO_UNSTABLE_TSGO_LSP` are now no-ops for the LSP path - Fork binary is no longer downloaded, cached, or invoked ### Removed (~4,200 lines) - `cli/ts...
[ { "path": "cli/factory.rs", "patch": "@@ -526,20 +526,6 @@ impl CliFactory {\n self.resolver_factory()?.in_npm_package_checker()\n }\n \n- pub async fn tsgo_path(&self) -> Result<Option<&PathBuf>, AnyError> {\n- if self.cli_options()?.unstable_tsgo() {\n- Ok(Some(\n- crate::tsc::ensure...
2026-04-02T14:04:38
vuejs/vue
6d9aac8bd38f6d30a6db70b51fa46f27cbeac559
a7a71ad99071c8c48ae9c106a19f81e70ded4898
chore: fix some broken links to v2 docs (#12839)
[ { "path": "examples/classic/elastic-header/index.html", "patch": "@@ -32,7 +32,7 @@\n <draggable-header-view>\n <template slot=\"header\">\n <h1>Elastic Draggable SVG Header</h1>\n- <p>with <a href=\"https://vuejs.org\">Vue.js</a> + <a href=\"http://dynamicsjs.com\">dynamics...
2022-10-19T04:45:59
denoland/deno
318b04c777318c5201cc829ee9c598e33533e36a
fa5d0a4bd36b8160ca6fc66cde79dda654d61920
fix: update release template workflow URLs to .generated.yml (#33116)
[ { "path": "tools/release/prerelease_doc_template.md", "patch": "@@ -33,7 +33,7 @@ Release checklist: <LINK TO THIS FORKED GIST GOES HERE>\n ### Phase 1: Bumping versions\n \n - [ ] Go to the \"version_bump\" workflow in the CLI repo's actions:\n- https://github.com/denoland/deno/actions/workflows/versi...
2026-04-01T20:25:58
vuejs/vue
259c7060da72ea3040fc8c3de4ecb823ad5059f4
df281b0e4c400be18df8bcf4e83df8b25a81e21b
chore: fix changelog rendering [ci skip]
[ { "path": "CHANGELOG.md", "patch": "@@ -888,7 +888,7 @@ In addition:\n - **compiler:** wrap scoped slots v-if conditions in parens ([#9119](https://github.com/vuejs/vue/issues/9119)) ([ef8524a](https://github.com/vuejs/vue/commit/ef8524ab7db8d64ac449ce74f5858aa9d91357ad)), closes [#9114](https://github.com/...
2022-10-15T09:39:04
golang/go
30ed7f97faa41413659a871c6ccc10de51b58c41
da723e15d7492143459c65e4fecf2c17dc0fa1e4
cmd/go/internal/modload: rename State to Loader Rename modload.State to modload.Loader. Rename all references to module loader state. The term "Loader" now refers to the module loader by default. The package loader was explicitly renamed "packageLoader" in an earlier change in order to distinguish it from the modul...
[ { "path": "src/cmd/go/internal/bug/bug.go", "patch": "@@ -42,17 +42,17 @@ func init() {\n }\n \n func runBug(ctx context.Context, cmd *base.Command, args []string) {\n-\tmoduleLoaderState := modload.NewState()\n+\tmoduleLoader := modload.NewLoader()\n \tif len(args) > 0 {\n \t\tbase.Fatalf(\"go: bug takes n...
2026-04-07T13:51:06
vuejs/vue
800207c473c7d6dfcdc883100a3d443fc5ad2e39
5960f05c69099c174062b6672c7a21d717a3bccf
fix(effectScope): calling off() of a detached scope should not break currentScope fix #12825
[ { "path": "src/v3/reactivity/effectScope.ts", "patch": "@@ -16,9 +16,7 @@ export class EffectScope {\n * @internal\n */\n cleanups: (() => void)[] = []\n-\n /**\n- * only assigned by undetached scope\n * @internal\n */\n parent: EffectScope | undefined\n@@ -38,9 +36,9 @@ export class Eff...
2022-10-14T02:51:07
mrdoob/three.js
ca7895c141bd593d45d076643c5feeab3e23e779
1e292ced576d306f905269050b92eacf057f57a8
EXRLoader: Fix channel rule matching. (#33216)
[ { "path": "examples/jsm/loaders/EXRLoader.js", "patch": "@@ -1826,11 +1826,14 @@ class EXRLoader extends DataTextureLoader {\n \n \t\t\t\tconst cd = channelData[ offset ];\n \n+\t\t\t\tconst dotIndex = cd.name.lastIndexOf( '.' );\n+\t\t\t\tconst suffix = dotIndex >= 0 ? cd.name.substring( dotIndex + 1 ) : c...
2026-03-19T14:37:38
golang/go
da723e15d7492143459c65e4fecf2c17dc0fa1e4
7394184e4ecf7cd1e938b80434f057caeb5ffa58
crypto/tls: avoid atLeastReader and associated allocations. Go 1.21 introduced bytes.Buffer.AvailableBuffer. This mechanism lets us write directly into a Buffer's backing memory while also implementing custom logic without going through interfaces. atLeastReader caused an allocation on every read. On workloads with v...
[ { "path": "src/crypto/tls/conn.go", "patch": "@@ -800,29 +800,6 @@ func (c *Conn) retryReadRecord(expectChangeCipherSpec bool) error {\n \treturn c.readRecordOrCCS(expectChangeCipherSpec)\n }\n \n-// atLeastReader reads from R, stopping with EOF once at least N bytes have been\n-// read. It is different fro...
2026-01-25T14:42:26
denoland/deno
fa5d0a4bd36b8160ca6fc66cde79dda654d61920
2ec084503f404893fefce2598588a195666e7db1
refactor(ext/node): rework stream wrap infrastructure for reentrant safety (#33100) ## Summary Extracts the foundational stream infrastructure changes from #32819 (node:tls rewrite) so they can be reviewed and landed independently. This reduces #32819's diff by ~1,000 lines and lets the TLS-specific changes build on ...
[ { "path": "ext/node/ops/handle_wrap.rs", "patch": "@@ -15,6 +15,69 @@ use deno_core::uv_compat;\n use deno_core::uv_compat::uv_handle_t;\n use deno_core::v8;\n \n+// ---------------------------------------------------------------------------\n+// OwnedPtr — a raw-pointer wrapper that owns heap memory withou...
2026-04-01T20:12:35
vuejs/vue
5960f05c69099c174062b6672c7a21d717a3bccf
8e262618cdc3251ca9630b17de4a000567ffb007
fix(watch): avoid traversing objects that are marked non-reactive (#12806)
[ { "path": "src/core/observer/traverse.ts", "patch": "@@ -21,6 +21,7 @@ function _traverse(val: any, seen: SimpleSet) {\n const isA = isArray(val)\n if (\n (!isA && !isObject(val)) ||\n+ val.__v_skip /* ReactiveFlags.SKIP */ ||\n Object.isFrozen(val) ||\n val instanceof VNode\n ) {", ...
2022-10-12T13:25:26
mrdoob/three.js
7716cd9415b12c9f29596ca838a7a99814b82787
bfe332d9ee7016ab36dfb79826d421d4487058f4
MeshPhysicalMaterial: Fix Anisotropic regression. (#33205)
[ { "path": "src/nodes/functions/BSDF/V_GGX_SmithCorrelated_Anisotropic.js", "patch": "@@ -1,4 +1,5 @@\n import { div } from '../../math/OperatorNode.js';\n+import { EPSILON } from '../../math/MathNode.js';\n import { Fn, vec3 } from '../../tsl/TSLBase.js';\n \n // https://google.github.io/filament/Filament.m...
2026-03-18T12:46:16
vuejs/vue
8e262618cdc3251ca9630b17de4a000567ffb007
4cad41007174a7eeebf4472ddbd7b3b693db03f1
fix(types): style attribute svg (#12800) Set style attribute on svg to use `StyleValue`
[ { "path": "types/jsx.d.ts", "patch": "@@ -731,7 +731,7 @@ export interface SVGAttributes extends AriaAttributes, EventHandlers<Events> {\n * @see https://www.w3.org/TR/SVG/styling.html#ElementSpecificStyling\n */\n class?: any\n- style?: string | CSSProperties\n+ style?: StyleValue\n \n color?: ...
2022-10-12T13:24:26
golang/go
7394184e4ecf7cd1e938b80434f057caeb5ffa58
f48684c59cf9dce53468e4ae610d5e90739602b5
crypto/ed25519: use FIPS 140-3 GenerateKey and enforce fips140=only Fixes #77594 Change-Id: I2685931ec37d9beb99de2e0398ab6f456a6a6964 Reviewed-on: https://go-review.googlesource.com/c/go/+/745800 Auto-Submit: Filippo Valsorda <filippo@golang.org> Reviewed-by: Daniel McCarney <daniel@binaryparadox.net> Reviewed-by: Ju...
[ { "path": "src/crypto/ed25519/ed25519.go", "patch": "@@ -160,6 +160,19 @@ func GenerateKey(random io.Reader) (PublicKey, PrivateKey, error) {\n \t\t}\n \t}\n \n+\tif fips140only.Enforced() && !fips140only.ApprovedRandomReader(random) {\n+\t\treturn nil, nil, errors.New(\"crypto/ed25519: only crypto/rand.Rea...
2026-02-15T15:02:33
mrdoob/three.js
bfe332d9ee7016ab36dfb79826d421d4487058f4
21ae3131839e11323b4449c7374e876628b88a38
PassNode: Fix scissor and viewport setup. (#33204)
[ { "path": "src/nodes/display/PassNode.js", "patch": "@@ -886,8 +886,26 @@ class PassNode extends TempNode {\n \n \t\tthis.renderTarget.setSize( effectiveWidth, effectiveHeight );\n \n-\t\tif ( this._scissor !== null ) this.renderTarget.scissor.copy( this._scissor );\n-\t\tif ( this._viewport !== null ) this...
2026-03-18T10:48:43
denoland/deno
2ec084503f404893fefce2598588a195666e7db1
76dc661e1921b5c0644e1eb2f81f429373d67cd3
fix(ext/node): return real OS file descriptors from node:fs APIs (#33039) ## Summary Fixes #32995 Fixes #33117 - **`node:fs` now returns real OS file descriptors** instead of Deno Resource IDs. `fs.openSync()` returns e.g. fd 21 (a real POSIX fd) rather than a small internal RID like 3. This fixes `tty.isatty()` ret...
[ { "path": "cli/rt/file_system.rs", "patch": "@@ -1464,6 +1464,34 @@ impl deno_io::fs::File for FileBackedVfsFile {\n fn as_stdio(self: Rc<Self>) -> FsResult<StdStdio> {\n Err(FsError::NotSupported)\n }\n+ fn read_at_sync(\n+ self: Rc<Self>,\n+ buf: &mut [u8],\n+ position: u64,\n+ ) -> FsR...
2026-04-01T20:11:16
vuejs/vue
e80cd09fff570df57d608f8f5aaccee6d7f31917
c61395d3f1ed926d2783d8460970ed20ea01dc4f
Revert "fix(setup): setup hook should be called before beforeCreate" This reverts commit e1342df7847a51c75192fec74e94378178e046b0. reopen #12802 close #12821 close #12822
[ { "path": "src/core/instance/init.ts", "patch": "@@ -1,6 +1,6 @@\n import config from '../config'\n import { initProxy } from './proxy'\n-import { initProps, initState } from './state'\n+import { initState } from './state'\n import { initRender } from './render'\n import { initEvents } from './events'\n imp...
2022-10-12T13:22:26
golang/go
83d0189f8453841abef37b3262713c7f15ac2274
9a1e20beb0240df1f9dcc8e7d4d66de573828309
cmd/internal/testdir: do not fail fast when running asmcheck Print each error as they happen, and continue running. This is helpful if multiple targets fail using -all_codegen. Change-Id: Ifcb87a834662fbd4766e562ecf3ca278dcdc1af2 Reviewed-on: https://go-review.googlesource.com/c/go/+/761465 Reviewed-by: Dmitri Shural...
[ { "path": "src/cmd/internal/testdir/testdir_test.go", "patch": "@@ -696,6 +696,7 @@ func (t test) run() error {\n \t\t// against a set of regexps in comments.\n \t\tops := t.wantedAsmOpcodes(long)\n \t\tself := runtime.GOOS + \"/\" + runtime.GOARCH\n+\t\tvar lastErr error\n \t\tfor _, env := range ops.Envs(...
2026-03-30T19:16:33
mrdoob/three.js
21ae3131839e11323b4449c7374e876628b88a38
1639cfb8505b4b1a812ff6e856ff04e8f8b0bdbb
CSMShadowNode: Fix error when disposed multiple times (#33202)
[ { "path": "examples/jsm/csm/CSMShadowNode.js", "patch": "@@ -574,8 +574,12 @@ class CSMShadowNode extends ShadowBaseNode {\n \t\t\tconst light = this.lights[ i ];\n \t\t\tconst parent = light.parent;\n \n-\t\t\tparent.remove( light.target );\n-\t\t\tparent.remove( light );\n+\t\t\tif ( parent !== null ) {\n...
2026-03-18T08:30:06
denoland/deno
fab20d06e3ae25617bd16dfa0b5cff739c6fd091
b4d51dc4d069afeda09acb3b74821c8e2f30e78f
ci: fix start_release workflow (#33113) Little mistake
[ { "path": "tools/release/00_start_release.ts", "patch": "@@ -3,7 +3,7 @@\n \n // deno-lint-ignore-file no-console\n \n-import { $, createOctoKit, increment, semver } from \"./deps.ts\";\n+import { $, createOctoKit, semver } from \"./deps.ts\";\n \n const currentDirPath = $.path(import.meta.dirname!);\n \n@@...
2026-04-01T08:26:02
vuejs/vue
738f4b3c570dc3a1818924a203a9f8e4b1ec90f0
cc14d4452c66e90341b7f9a5cdd2b7acffa529e9
fix(build): enforce LF line ending in built files fix #12819
[ { "path": "dist/vue.runtime.mjs", "patch": "@@ -1,76 +1,76 @@\n-import Vue from './vue.runtime.common.js'\r\n-export default Vue\r\n-\r\n-// this should be kept in sync with src/v3/index.ts\r\n-export const {\r\n- version,\r\n-\r\n- // refs\r\n- ref,\r\n- shallowRef,\r\n- isRef,\r\n- toRef,\r\n- toRe...
2022-10-11T09:51:46
golang/go
33e66cfb0406b27ce11229a4ebd944c4cb20006f
fe5b750ce9e9443b42b20ed242664950499ffafe
cmd/go: invalidate test cache when -coverpkg dependencies change When running tests with -cover and -coverpkg, the resulting coverage profile includes data from all packages specified in -coverpkg, not just the test package. Previously, the test cache key did not account for changes in these out-of-band covered packag...
[ { "path": "src/cmd/go/internal/test/test.go", "patch": "@@ -1415,9 +1415,10 @@ type runTestActor struct {\n type runCache struct {\n \tdisableCache bool // cache should be disabled for this run\n \n-\tbuf *bytes.Buffer\n-\tid1 cache.ActionID\n-\tid2 cache.ActionID\n+\tbuf *bytes.Buffer\n+\tid1 cache...
2026-04-06T16:07:24
mrdoob/three.js
2bc2bd8991bade1600b69c996c15eb1e28e4f079
39bdb9b8948df2d5d78ea955475f680e5a5fbd37
RenderPipeline: Fix sync with `renderer.outputColorSpace` and `renderer.toneMapping` (#33187)
[ { "path": "src/renderers/common/RenderPipeline.js", "patch": "@@ -94,6 +94,23 @@ class RenderPipeline {\n \t\t */\n \t\tthis._context = null;\n \n+\t\t/**\n+\t\t * The current tone mapping.\n+\t\t *\n+\t\t * @private\n+\t\t * @type {ToneMapping}\n+\t\t */\n+\t\tthis._toneMapping = renderer.toneMapping;\n+\n...
2026-03-16T09:12:55
denoland/deno
8422cdefaa95771a8466a4f1b72efe0d6e10e25c
b19a410bbdfa44341a6fd27bd707c9f5ad2db497
fix(ext/node): fire fs.watch events for immediate writes (#32935) (#32989) Fixes #32935
[ { "path": "ext/node/polyfills/fs.ts", "patch": "@@ -3034,31 +3034,24 @@ function watch(\n // deno-lint-ignore prefer-primordials\n const watchPath = getValidatedPath(filename).toString();\n \n- let iterator: Deno.FsWatcher;\n- // Start the actual watcher a few msec later to avoid race condition\n- //...
2026-04-01T06:54:59
vuejs/vue
e1342df7847a51c75192fec74e94378178e046b0
0d6d972b32521fd18eb853b1073c0a19859a499a
fix(setup): setup hook should be called before beforeCreate fix #12802 Note this commit moves the initialization of injections and props to before the invocation of beforeCreate. This should not cause breakage because props and inject normalization has always been done before beforeCreate, so code that attempts to mo...
[ { "path": "src/core/instance/init.ts", "patch": "@@ -1,6 +1,6 @@\n import config from '../config'\n import { initProxy } from './proxy'\n-import { initState } from './state'\n+import { initProps, initState } from './state'\n import { initRender } from './render'\n import { initEvents } from './events'\n imp...
2022-10-11T08:23:08
golang/go
fe5b750ce9e9443b42b20ed242664950499ffafe
a415314c0bdec971ecd503471c804ec0208c6a2b
cmd/go/internal/modload: minor modernization fixes * Add package comment. * Make octal literal explicit. * Simplify single var declaration. Change-Id: I3841ca538034c75098502b35b1a713a98e936efc Reviewed-on: https://go-review.googlesource.com/c/go/+/763360 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-account...
[ { "path": "src/cmd/go/internal/modload/init.go", "patch": "@@ -2,6 +2,7 @@\n // Use of this source code is governed by a BSD-style\n // license that can be found in the LICENSE file.\n \n+// Package modload provides module and package loading functionality.\n package modload\n \n import (\n@@ -850,7 +851,7 ...
2026-04-07T13:30:23
mrdoob/three.js
374209b928b7249a47b5515b1e33ca8906d36a40
a8ff0aee93fbeaa14a3d0fa67a32bec1e1b4294c
Hdr loader header parse fix (#33174)
[ { "path": "examples/jsm/loaders/HDRLoader.js", "patch": "@@ -100,7 +100,7 @@ class HDRLoader extends DataTextureLoader {\n \n \t\t\t\t\ts += chunk; len += chunk.length;\n \t\t\t\t\tp += chunkSize;\n-\t\t\t\t\tchunk += String.fromCharCode.apply( null, new Uint16Array( buffer.subarray( p, p + chunkSize ) ) );...
2026-03-14T11:02:58
vuejs/vue
0d6d972b32521fd18eb853b1073c0a19859a499a
bc5b92adde147436f2adb25e457f0c967829467f
fix(compiler-sfc): export parseComponent for compat with fork-ts-checker-webpack-plugin fix #12719
[ { "path": "packages/compiler-sfc/src/index.ts", "patch": "@@ -6,6 +6,13 @@ export { compileScript } from './compileScript'\n export { generateCodeFrame } from 'compiler/codeframe'\n export { rewriteDefault } from './rewriteDefault'\n \n+// For backwards compat only. Some existing tools like\n+// fork-ts-che...
2022-10-11T06:58:24
denoland/deno
094f8bf0c096f309190d87449e856d84990772ed
faea9ae92632045845a16cfa4018007e7678e68f
fix(watch): reduce graceful shutdown timeout from 5s to 500ms (#33099) The 5-second grace period introduced in #32564 causes frustrating reload delays during development when a SIGTERM handler is registered (e.g. for production graceful DB shutdown). 500ms is enough time for most cleanup tasks (closing connections, fl...
[ { "path": "cli/util/file_watcher.rs", "patch": "@@ -39,7 +39,7 @@ use crate::util::fs::canonicalize_path;\n \n const CLEAR_SCREEN: &str = \"\\x1B[H\\x1B[2J\\x1B[3J\";\n const DEBOUNCE_INTERVAL: Duration = Duration::from_millis(200);\n-const GRACEFUL_SHUTDOWN_TIMEOUT: Duration = Duration::from_secs(5);\n+con...
2026-03-31T17:32:03
mrdoob/three.js
adfb24b5e627b795b98db5a67014d3378a3d7726
b431608199690aee90d571bc698d14d12b529b98
TSL: Fix two issues in `StorageTextureNode` (#33167)
[ { "path": "src/nodes/accessors/StorageTextureNode.js", "patch": "@@ -146,19 +146,14 @@ class StorageTextureNode extends TextureNode {\n \t */\n \tgenerate( builder, output ) {\n \n-\t\tlet snippet;\n-\n \t\tif ( this.storeNode !== null ) {\n \n-\t\t\tsnippet = this.generateStore( builder );\n-\n-\t\t} else ...
2026-03-14T03:48:57
golang/go
a415314c0bdec971ecd503471c804ec0208c6a2b
e93b26688c0c25efa78b3948a58c5309307025a2
cmd/compile: ensure result selects are in the block of a call Without this CL, when compiling test/range4.go:func9, we get: b1: v1 = StaticLECall <runtime.deferrangefunc> mem = SelectN [1] v1 Defer v1 -> b2 b3 b2: v2 = SelectN [0] v1 That select in b2 should really live in b1. This doesn't cause a bug as far ...
[ { "path": "src/cmd/compile/internal/ssagen/ssa.go", "patch": "@@ -5162,6 +5162,19 @@ func (s *state) call(n *ir.CallExpr, k callKind, returnResultAddr bool, deferExt\n \t\ts.vars[memVar] = s.newValue1A(ssa.OpVarLive, types.TypeMem, v, s.mem())\n \t}\n \n+\t// Build result value (before we might end the defe...
2026-02-21T18:07:54
vuejs/vue
bc5b92adde147436f2adb25e457f0c967829467f
fb1393009660b38046b1f6dfb532b481cc53b3b7
fix(types): fix error with options watch (#12779) fix #12780
[ { "path": "types/options.d.ts", "patch": "@@ -181,7 +181,7 @@ export interface ComponentOptions<\n propsData?: object\n computed?: Accessors<Computed>\n methods?: Methods\n- watch?: Record<string, WatchOptionsWithHandler<any> | WatchHandler<any>>\n+ watch?: Record<string, WatchOptionsWithHandler<any...
2022-10-11T06:43:33
denoland/deno
a2c128a7127673162ebde4880a9faf78a00be2b6
f79eedcfdb0adf29eaf029823d2b0422985a554d
fix(ext/node): add chacha20-poly1305 cipher support (#33084) ## Summary Implements the ChaCha20-Poly1305 AEAD cipher (RFC 8439) for `node:crypto` `createCipheriv`/`createDecipheriv`. The implementation uses the `chacha20` and `poly1305` crates: 1. Derive Poly1305 key from first 32 bytes of ChaCha20 keystream (counte...
[ { "path": "Cargo.lock", "patch": "@@ -948,6 +948,17 @@ version = \"0.2.1\"\n source = \"registry+https://github.com/rust-lang/crates.io-index\"\n checksum = \"613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724\"\n \n+[[package]]\n+name = \"chacha20\"\n+version = \"0.9.1\"\n+source = \"registry...
2026-03-31T08:20:38
mrdoob/three.js
2e69815d93df53e476b739234b3fbf5a30baa2bb
4fad923a7f1be3024aa4040d9413c134236317b1
WebGLRenderer: Fix active texture setting in `copyTextureToTexture()`. (#33153) Co-authored-by: Michael Herzog <michael.herzog@human-interactive.org>
[ { "path": "src/renderers/WebGLRenderer.js", "patch": "@@ -3241,6 +3241,8 @@ class WebGLRenderer {\n \n \t\t\t}\n \n+\t\t\tstate.activeTexture( _gl.TEXTURE0 ); // see #33153\n+\n \t\t\t_gl.pixelStorei( _gl.UNPACK_FLIP_Y_WEBGL, dstTexture.flipY );\n \t\t\t_gl.pixelStorei( _gl.UNPACK_PREMULTIPLY_ALPHA_WEBGL, d...
2026-03-12T14:25:19
golang/go
e93b26688c0c25efa78b3948a58c5309307025a2
f5d460c3ea59ab574d5908f66f604c573891ffe1
runtime: remove gopanicFP field from panic record We can use SP instead of FP for the single thing this was used for (finding the gopanic frame). Change-Id: Iad2b406705abc3cdb0dbcdd069f7f9a330509164 Reviewed-on: https://go-review.googlesource.com/c/go/+/738042 Reviewed-by: Keith Randall <khr@google.com> Reviewed-by: ...
[ { "path": "src/runtime/panic.go", "patch": "@@ -847,7 +847,6 @@ func gopanic(e any) {\n \n \tvar p _panic\n \tp.arg = e\n-\tp.gopanicFP = unsafe.Pointer(sys.GetCallerSP())\n \n \trunningPanicDefers.Add(1)\n \n@@ -1146,7 +1145,7 @@ func gorecover() any {\n \t\t\t\tcase abi.FuncIDWrapper:\n \t\t\t\t\tcontinue...
2026-01-22T01:32:37
vuejs/vue
fb1393009660b38046b1f6dfb532b481cc53b3b7
87f69aa26f195390b948fbb0ff62cf954b58c82c
fix(sfc): prune returned bindings for non-TS as well In Vue 3, pruning is only done for TS to produce valid code and tree-shaking is done by inlining the template for production. In Vue 2 we do not inline the template in production, so return binding pruning is needed in all cases. fix #12765
[ { "path": "packages/compiler-sfc/src/compileScript.ts", "patch": "@@ -284,11 +284,9 @@ export function compileScript(\n userImportAlias[imported] = local\n }\n \n- // template usage check is only needed in non-inline mode, so we can skip\n- // the work if inlineTemplate is true.\n let is...
2022-10-11T06:09:10
mrdoob/three.js
91aff1f4db105c9072ed883f0c1e4946c407d59a
3ad2c780ed56ba135dd21e856cfddee7110c208f
DataTextureLoader: Fix log regression. (#33148)
[ { "path": "src/loaders/DataTextureLoader.js", "patch": "@@ -2,6 +2,7 @@ import { LinearFilter, LinearMipmapLinearFilter, ClampToEdgeWrapping } from '../\n import { FileLoader } from './FileLoader.js';\n import { DataTexture } from '../textures/DataTexture.js';\n import { Loader } from './Loader.js';\n+impor...
2026-03-11T10:05:23
denoland/deno
f79eedcfdb0adf29eaf029823d2b0422985a554d
41fd4a1b3b362d8d79dee9d35cf0fc918444a25d
fix(ext/node): improve sign/verify crypto compat with Node.js (#33083) ## Summary Sign/verify fixes extracted from #32745 for easier review: - **DSA private key PEM**: Parse traditional "DSA PRIVATE KEY" format (ASN.1 sequence with p, q, g, pub_key, priv_key) - **Private-to-public key derivation**: When verify recei...
[ { "path": "ext/node/polyfills/internal/crypto/sig.ts", "patch": "@@ -13,6 +13,7 @@ const {\n import {\n op_node_create_private_key,\n op_node_create_public_key,\n+ op_node_derive_public_key_from_private_key,\n op_node_get_asymmetric_key_type,\n op_node_sign,\n op_node_sign_ed25519,\n@@ -101,6 +10...
2026-03-31T06:56:26
vuejs/vue
87f69aa26f195390b948fbb0ff62cf954b58c82c
5d26f815c643d41e6ca6f29329593223b981fc24
fix(types): support Ref and function types in tsx ref attribute (#12759) fix #12758
[ { "path": "types/test/v3/tsx-test.tsx", "patch": "@@ -1,4 +1,4 @@\n-import { VNode, defineComponent } from '../../index'\n+import { VNode, defineComponent, ref } from '../../index'\n import { expectType } from '../utils'\n \n expectType<VNode>(<div />)\n@@ -22,6 +22,11 @@ expectError(<div foo=\"bar\" />)\n ...
2022-10-11T05:36:50
golang/go
f5d460c3ea59ab574d5908f66f604c573891ffe1
3b5954c6349d31465dca409b45ab6597e0942d9f
cmd/compile/testdata/script/issue77033.txt: make test panic The issue77033.txt script is executed by cmd/internal/script/scripttest/run.go program, that uses 60 seconds interrupt timeout. The timeout is implemented by calling os/exec.Cmd.Process.Signal(os.Interrupt) but that call is not implemented on Windows, and...
[ { "path": "src/cmd/compile/testdata/script/issue77033.txt", "patch": "@@ -1,5 +1,5 @@\n-go test -bench=Foo -cpuprofile=default.pgo\n-go test -bench=Foo -pgo=default.pgo\n+go test -bench=Foo -cpuprofile=default.pgo -timeout=30s\n+go test -bench=Foo -pgo=default.pgo -timeout=30s\n ! stdout 'FAIL'\n \n -- main...
2026-04-06T02:38:21
denoland/deno
41fd4a1b3b362d8d79dee9d35cf0fc918444a25d
4678f77132c944747853d90a4f1648fb7727706b
fix(ext/node): return pid from spawnSync (#33081) ## Summary - Returns `pid` from `op_spawn_sync` so `child_process.spawnSync()` results include the `pid` field as Node.js expects - Factored out from #32810 Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
[ { "path": "ext/node/polyfills/internal/child_process.ts", "patch": "@@ -1728,6 +1728,8 @@ export function spawnSync(\n stderr = stderr && stderr.toString(encoding);\n }\n \n+ // deno-lint-ignore no-explicit-any\n+ result.pid = (output as any)._pid;\n result.status = status;\n result....
2026-03-30T17:56:55
vuejs/vue
5d26f815c643d41e6ca6f29329593223b981fc24
4a0d88e46e4180edc7f22e36c25df3f8ac5d60d2
fix(reactivity): check skip first before checking ref when creating observer (#12813) fix #12812
[ { "path": "src/core/observer/index.ts", "patch": "@@ -7,7 +7,6 @@ import {\n hasOwn,\n isArray,\n hasProto,\n- isObject,\n isPlainObject,\n isPrimitive,\n isUndef,\n@@ -108,23 +107,21 @@ export function observe(\n shallow?: boolean,\n ssrMockReactivity?: boolean\n ): Observer | void {\n- i...
2022-10-11T05:26:20
mrdoob/three.js
d6014c3e34c4aa32719fb5ea9349bc8f8f17ec95
63ddf2b9308c23f0451dc58c341a6b2f84fbbf2e
Dev: Fix vulnerabilities. (#33141)
[ { "path": "package-lock.json", "patch": "@@ -2654,9 +2654,9 @@\n }\n },\n \"node_modules/markdown-it\": {\n- \"version\": \"14.1.0\",\n- \"resolved\": \"https://registry.npmjs.org/markdown-it/-/markdown-it-14.1.0.tgz\",\n- \"integrity\": \"sha512-a54IwgWPaeBCAAsv13YgmALOF1elABB0...
2026-03-09T11:07:10
golang/go
3b5954c6349d31465dca409b45ab6597e0942d9f
a93560b70a65821ba8403b66261a3c23c93176c5
cmd/compile: report error instead of ICE for oversized map element When a map element or key type is 2GB or larger, the compiler crashed with "internal compiler error: map elem too big" in reflectdata.ZeroAddr. Add a size check in types.CalcSize for TMAP, similar to the existing check for channel element types, so th...
[ { "path": "src/cmd/compile/internal/types/size.go", "patch": "@@ -366,6 +366,12 @@ func CalcSize(t *Type) {\n \t\tt.intRegs = 1\n \t\tCheckSize(t.Elem())\n \t\tCheckSize(t.Key())\n+\t\tif t.Elem().width >= 1<<31 {\n+\t\t\tbase.Errorf(\"map element type too large\")\n+\t\t}\n+\t\tif t.Key().width >= 1<<31 {\...
2026-03-27T22:23:58
denoland/deno
4678f77132c944747853d90a4f1648fb7727706b
5ab15413e23b4df0c731a10dc1d7bea39a8fdf9e
fix(ext/node): improve GCM cipher compat with Node.js (#33079) ## Summary GCM-only fixes extracted from #32745 for easier review: - **Empty IV validation**: `createCipheriv`/`createDecipheriv` with empty IV now throws "Invalid initialization vector" (was silently accepted) - **Auth tag length validation**: `setAuthT...
[ { "path": "ext/node/polyfills/internal/crypto/cipher.ts", "patch": "@@ -295,6 +295,9 @@ Cipheriv.prototype.setAAD = function (\n plaintextLength: number;\n },\n ) {\n+ if (this._finalized) {\n+ throw new ERR_CRYPTO_INVALID_STATE(\"setAAD\");\n+ }\n op_node_cipheriv_set_aad(this._context, buffer...
2026-03-30T17:01:38
vuejs/vue
4a0d88e46e4180edc7f22e36c25df3f8ac5d60d2
27eed829ccf9978a63b8cd989ff4c03897276bc2
fix(reactivity): use WeakMap for proxy/raw checks, compat with non-extensible objects fix #12799 close #12798
[ { "path": "src/core/observer/index.ts", "patch": "@@ -17,6 +17,7 @@ import {\n noop\n } from '../util/index'\n import { isReadonly, isRef, TrackOpTypes, TriggerOpTypes } from '../../v3'\n+import { rawMap } from '../../v3/reactivity/reactive'\n \n const arrayKeys = Object.getOwnPropertyNames(arrayMethods)\...
2022-10-11T04:26:19
mrdoob/three.js
c2adffecadd4704bce7f170918b68dbe9df5d795
2014dd06ef2f8478f576f3acf528d0b568340887
WebGPURenderer: Fix WebXR sampling array-texture (#33132)
[ { "path": "src/nodes/accessors/TextureNode.js", "patch": "@@ -555,7 +555,7 @@ class TextureNode extends UniformNode {\n \n \t\t\t\tlet finalDepthSnippet = depthSnippet;\n \n-\t\t\t\tif ( finalDepthSnippet === null && texture.isArrayTexture ) {\n+\t\t\t\tif ( finalDepthSnippet === null && texture.isArrayText...
2026-03-07T09:13:41
golang/go
666e8c59c9211eae61e31f39ada1c5eed3ad6e11
e76c910108577c93651dff7481034d2d5b933c14
cmd/compile: improve Mul to Left Shift rules - fix a bug where it wouldn't recognize 1<<63 as a power of two - remove the IsSigned check; there is no such thing as a signed Mul If the rule works for signed numbers it works for unsigned ones too. Even if the intermediary steps makes no sense, it ends up wrapping ...
[ { "path": "src/cmd/compile/internal/ssa/_gen/generic.rules", "patch": "@@ -1080,22 +1080,22 @@\n // Excluded from early opt so that prove can recognize mod\n // by the x - (x/d)*d pattern.\n // (Runs during \"middle opt\" and \"late opt\".)\n-(Mul8 <t> x (Const8 [c])) && isPowerOfTwo(c) && v.Block.Func.pa...
2026-03-29T05:31:38
denoland/deno
4738ecd0c1e525ba9c17c9887eb8e14fe1956a47
ca989a0306e61ba65ad53d1981d4d25036bbac8d
fix(ext/node): drain pending messages before emitting worker exit event (#32623) - Fixes a race condition in `worker_threads` where the `exit` event could fire before pending `message` events were delivered - In Node.js, `message` is guaranteed to fire before `exit` — our implementation had two independent polling loo...
[ { "path": "ext/node/polyfills/worker_threads.ts", "patch": "@@ -208,6 +208,7 @@ class NodeWorker extends EventEmitter {\n #refed = true;\n #messagePromise = undefined;\n #controlPromise = undefined;\n+ #messageLoopPromise = undefined;\n #workerOnline = false;\n #exited = false;\n // \"RUNNING\"...
2026-03-30T14:56:54
vuejs/vue
27eed829ccf9978a63b8cd989ff4c03897276bc2
2f335b2f9d09b962f40e38740826d444e4fff073
fix(types): vue 3 directive type compatibility (#12792)
[ { "path": "types/options.d.ts", "patch": "@@ -4,6 +4,7 @@ import { SetupContext } from './v3-setup-context'\n import { DebuggerEvent } from './v3-generated'\n import { DefineComponent } from './v3-define-component'\n import { ComponentOptionsMixin } from './v3-component-options'\n+import { ObjectDirective, ...
2022-10-11T03:51:05
mrdoob/three.js
2014dd06ef2f8478f576f3acf528d0b568340887
d03d54836239e894746cceeeb3afdb41b306fa9b
Source: Fix `getSize()` for `VideoFrame`. (#33131)
[ { "path": "src/textures/Source.js", "patch": "@@ -90,7 +90,7 @@ class Source {\n \n \t\t} else if ( ( typeof VideoFrame !== 'undefined' ) && ( data instanceof VideoFrame ) ) {\n \n-\t\t\ttarget.set( data.displayHeight, data.displayWidth, 0 );\n+\t\t\ttarget.set( data.displayWidth, data.displayHeight, 0 );\n...
2026-03-07T09:12:02
golang/go
0d0799f055dcc9b3b41df74bee3fbe398ae2f0e7
ad7d6071ac1955e76e7407d8345cf18f354a1693
net/mail: fix quadratic complexity in consumeComment consumeComment builds the comment string by repeated string concatenation inside a loop. Each concatenation copies the entire string built so far, making the function O(n^2) in the depth of nested comments. Replace the concatenation with a strings.Builder, which am...
[ { "path": "src/net/mail/message.go", "patch": "@@ -832,7 +832,7 @@ func (p *addrParser) consumeComment() (string, bool) {\n \t// '(' already consumed.\n \tdepth := 1\n \n-\tvar comment string\n+\tvar comment strings.Builder\n \tfor {\n \t\tif p.empty() || depth == 0 {\n \t\t\tbreak\n@@ -846,12 +846,12 @@ fu...
2026-04-04T05:17:25
vuejs/vue
2f335b2f9d09b962f40e38740826d444e4fff073
60d268c4261a0b9c5125f308468b31996a8145ad
fix(sfc): remove sfc scoped deep syntax deprecation warnings
[ { "path": "packages/compiler-sfc/src/stylePlugins/scoped.ts", "patch": "@@ -1,6 +1,5 @@\n import { PluginCreator, Rule, AtRule } from 'postcss'\n import selectorParser from 'postcss-selector-parser'\n-import { warn } from '../warn'\n \n const animationNameRE = /^(-\\w+-)?animation-name$/\n const animationRE...
2022-10-11T03:41:31
denoland/deno
ca989a0306e61ba65ad53d1981d4d25036bbac8d
2bb06663c1d7ee6532f6737d721ea1adb89fd884
fix(ext/node): fix BadResource error in FileHandle.readLines() (#32685) ## Summary - Fixes #32678 - `FileHandle.createReadStream()` now passes the FileHandle object (not numeric fd) to ReadStream/WriteStream, matching Node.js behavior - Added `FileHandleOperations` wrapper in `importFd()` that bridges FileHandle's pr...
[ { "path": "ext/node/polyfills/internal/fs/handle.ts", "patch": "@@ -318,7 +318,7 @@ export class FileHandle extends EventEmitter {\n \n readLines(options?: CreateReadStreamOptions): ReadlineInterface {\n return createInterface({\n- input: this.createReadStream({ ...options, autoClose: false }),\n...
2026-03-30T14:55:19
mrdoob/three.js
d03d54836239e894746cceeeb3afdb41b306fa9b
02c84b439b32e6eff5558102f4b1fbbd4dbbf1c3
Fix typo in Texture.js (#33130)
[ { "path": "src/textures/Texture.js", "patch": "@@ -415,7 +415,7 @@ class Texture extends EventDispatcher {\n \t}\n \n \t/**\n-\t * Updates the texture transformation matrix from the from the properties {@link Texture#offset},\n+\t * Updates the texture transformation matrix from the properties {@link Textur...
2026-03-07T09:06:14
golang/go
9956aca06ab9d3083fa0afaebb640a1a25dde77f
ba402cd756a02cd80bcd76a2f7afc22ae2041c6c
cmd/go/internal/workcmd: correct go.work file name Fixes #51714 Change-Id: I0619b1ca6715bed85ccc066a83a449f66a6a6964 Reviewed-on: https://go-review.googlesource.com/c/go/+/762660 Reviewed-by: David Chase <drchase@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Rev...
[ { "path": "src/cmd/go/alldocs.go", "patch": "@@ -1634,10 +1634,10 @@\n // The -toolchain=name flag sets the Go toolchain to use.\n //\n // The -print flag prints the final go.work in its text format instead of\n-// writing it back to go.mod.\n+// writing it back to go.work.\n //\n // The -json flag prints t...
2026-04-03T23:55:05
vuejs/vue
e0b26c483a1ba407a818b1fcba1a439df24e84a8
46ca7bcddc06c50796ccff82d8c45693f1f14f47
fix: fix parent of multi-nested HOC $el not updating (#12757) fix #12589
[ { "path": "src/core/instance/lifecycle.ts", "patch": "@@ -83,8 +83,15 @@ export function lifecycleMixin(Vue: typeof Component) {\n vm.$el.__vue__ = vm\n }\n // if parent is an HOC, update its $el as well\n- if (vm.$vnode && vm.$parent && vm.$vnode === vm.$parent._vnode) {\n- vm.$parent...
2022-08-23T01:22:45
mrdoob/three.js
f5d4b94ac51f1a4e552770a5de588fd2a016bef3
2882df3981c20ac06b5c7d2d40195493f040fe5b
FirstPersonControls: Fix deprecated handleResize() message. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
[ { "path": "examples/jsm/controls/FirstPersonControls.js", "patch": "@@ -308,11 +308,11 @@ class FirstPersonControls extends Controls {\n \t}\n \n \t/**\n-\t * @deprecated, r184. The controls now handle resize internally.\n+\t * @deprecated, r184. This method is no longer needed.\n \t */\n \thandleResize() {...
2026-03-06T22:58:28
denoland/deno
2bb06663c1d7ee6532f6737d721ea1adb89fd884
7c57830506e4ded88a7bfee2a03a5e0530787fbe
fix: use case-insensitive path matching for permissions on Windows (#33073) ## Summary - Add `normalize_path_case()` that lowercases paths on Windows at construction time in `PathQueryDescriptor` and `PathDescriptor` - Ensures path-scoped permission rules (allow/deny for read, write, ffi) match correctly regardless of...
[ { "path": "runtime/permissions/lib.rs", "patch": "@@ -1292,22 +1292,36 @@ impl<\n #[derive(Clone, Debug)]\n pub struct PathQueryDescriptor<'a> {\n path: Cow<'a, Path>,\n+ /// Lowercased on Windows for case-insensitive comparison; same as `path` on\n+ /// other platforms. Used by PartialEq, starts_with, ...
2026-03-30T14:06:55
vuejs/vue
46ca7bcddc06c50796ccff82d8c45693f1f14f47
810f6d12edea47cde7f39eaf7ec3ae1b7300d40c
fix(compiler-sfc): avoid deindent when lang is jsx/tsx fix #12755
[ { "path": "packages/compiler-sfc/src/parseComponent.ts", "patch": "@@ -179,11 +179,11 @@ export function parseComponent(\n let text = source.slice(currentBlock.start, currentBlock.end)\n if (\n options.deindent === true ||\n- // by default, deindent unless it's script with default...
2022-08-23T01:18:36
mrdoob/three.js
8886ab6e95f4b06945ffb5d19c531c09dc6c5ce7
b22ed1518b2512707d09decc572f62c38ab5f4a8
Update MeshToonMaterial.js Fix JSDoc for `gradientMap`.
[ { "path": "src/materials/MeshToonMaterial.js", "patch": "@@ -57,7 +57,7 @@ class MeshToonMaterial extends Material {\n \n \t\t/**\n \t\t * Gradient map for toon shading. It's required to set\n-\t\t * {@link Texture#minFilter} and {@link Texture#magFilter} to {@linkNearestFilter}\n+\t\t * {@link Texture#minF...
2026-03-02T11:00:23
golang/go
ba402cd756a02cd80bcd76a2f7afc22ae2041c6c
6110cd6f83caa1f255189c209711c216d649c6d7
runtime: fix timespec definition on 32bits systems The nsec field of timespec is a C long even when using 64bits time on 32bits systems. This is because by timespec API if nsec never holds more than a second worth of nanoseconds. If it would theses would increment the sec field while the nsec field would get the amou...
[ { "path": "src/runtime/defs_linux_386.go", "patch": "@@ -152,13 +152,14 @@ func (ts *timespec32) setNsec(ns int64) {\n \n type timespec struct {\n \ttv_sec int64\n-\ttv_nsec int64\n+\ttv_nsec int32\n+\t_ [4]byte // the C ABI aligns int64 to 8 bytes\n }\n \n //go:nosplit\n func (ts *timespec) setNsec(...
2026-03-04T09:01:11
denoland/deno
7c57830506e4ded88a7bfee2a03a5e0530787fbe
b365d544c787acd227aa4a5e58c99cb8576bbdf2
fix(resolver): resolve npm packages that shadow Node built-in names in BYONM mode (#32865) ## Summary Closes #30607 When using `--node-modules-dir=manual` (BYONM), npm packages whose names match Node.js built-in modules (e.g. `events`, `assert`, `string_decoder`) failed to resolve: ``` $ deno run --node-modules-dir...
[ { "path": "libs/node_resolver/resolution.rs", "patch": "@@ -448,6 +448,40 @@ impl<\n Ok(resolve_response)\n }\n \n+ /// Resolve a bare package specifier, skipping the built-in module check\n+ /// and URL scheme handling. Only suitable for bare specifiers like\n+ /// \"events\" or \"assert\" — not f...
2026-03-30T13:55:26
vuejs/vue
810f6d12edea47cde7f39eaf7ec3ae1b7300d40c
15618888cb6aae2b6f0151b32c261b1fc19db1b8
fix(types): Add missing type parameter constraints (#12754)
[ { "path": "types/options.d.ts", "patch": "@@ -95,8 +95,8 @@ export type ThisTypedComponentOptionsWithArrayProps<\n Computed,\n PropNames extends string,\n SetupBindings,\n- Mixin,\n- Extends\n+ Mixin extends ComponentOptionsMixin,\n+ Extends extends ComponentOptionsMixin\n > = object &\n Compone...
2022-08-22T02:28:39
mrdoob/three.js
b22ed1518b2512707d09decc572f62c38ab5f4a8
38331a28c54f35c8063263fd29b854eeaea668c7
WebGLRenderer: Fix envMap and background rotation (#33077)
[ { "path": "src/renderers/shaders/ShaderChunk/envmap_common_pars_fragment.glsl.js", "patch": "@@ -2,7 +2,6 @@ export default /* glsl */`\n #ifdef USE_ENVMAP\n \n \tuniform float envMapIntensity;\n-\tuniform float flipEnvMap;\n \tuniform mat3 envMapRotation;\n \n \t#ifdef ENVMAP_TYPE_CUBE", "additions": 0...
2026-03-02T10:39:31
golang/go
6110cd6f83caa1f255189c209711c216d649c6d7
0fa3564a74b802219d3df0852fbe921b3fe9c5be
net/http: fix shadow var frame Change-Id: Ib03f65992b065e169fa6ccd08664336bec559c1d GitHub-Last-Rev: bd597d4325c713c53a9f22cb93892d90f393c6ac GitHub-Pull-Request: golang/go#78527 Reviewed-on: https://go-review.googlesource.com/c/go/+/762700 Reviewed-by: Nicholas Husin <nsh@golang.org> LUCI-TryBot-Result: Go LUCI <gola...
[ { "path": "src/net/http/server.go", "patch": "@@ -1160,7 +1160,8 @@ func relevantCaller() runtime.Frame {\n \tframes := runtime.CallersFrames(pc[:n])\n \tvar frame runtime.Frame\n \tfor {\n-\t\tframe, more := frames.Next()\n+\t\tvar more bool\n+\t\tframe, more = frames.Next()\n \t\tif !strings.HasPrefix(fra...
2026-04-04T08:51:23
denoland/deno
b365d544c787acd227aa4a5e58c99cb8576bbdf2
fa18175cc2781da5016a6ca44f68290bd3dc3e02
fix(outdated): use dist-tags.latest for Latest column, matching npm/pnpm/bun (#32939) ## Summary - Use `dist-tags.latest` directly for the "Latest" column in `deno outdated`, matching npm/pnpm/bun behavior - Prevent `--update --latest` from downgrading packages when the latest dist-tag is lower than the current pre-r...
[ { "path": "cli/tools/pm/deps.rs", "patch": "@@ -759,28 +759,17 @@ impl DepManager {\n return Some(latest_tag.clone());\n }\n \n- let lower_bound = &semver_compatible.as_ref()?.version;\n- let latest_matches_newest_dep_date =\n- ...
2026-03-30T13:09:30
vuejs/vue
8521f9d3f63d26bde99b747f0cb14d0ac5ba5971
7161176cd0dff10d65ab58e266018aff2660610f
fix(types): fix missing error for accessing undefined instance properties fix #12718
[ { "path": "types/test/v3/define-component-test.tsx", "patch": "@@ -1166,6 +1166,62 @@ defineComponent({\n }\n })\n \n-// #12742 allow attaching custom properties (consistent with v3)\n-const Foo = defineComponent({})\n-Foo.foobar = 123\n+describe('constructor attach custom properties', () => {\n+ // #127...
2022-08-19T04:22:51
mrdoob/three.js
91117d008ded130f2a9c371880e809e7f0b7fe63
bd1baecf150319a8be043186536f0ff6219d93b2
WebGPURenderer: Fixes framebuffer caching with multiple references of different sizes (#32690)
[ { "path": "src/nodes/display/ViewportDepthTextureNode.js", "patch": "@@ -26,28 +26,23 @@ class ViewportDepthTextureNode extends ViewportTextureNode {\n \t *\n \t * @param {Node} [uvNode=screenUV] - The uv node.\n \t * @param {?Node} [levelNode=null] - The level node.\n+\t * @param {?DepthTexture} [depthText...
2026-03-02T04:18:15
golang/go
0fa3564a74b802219d3df0852fbe921b3fe9c5be
3e5efa048ac647c7554eea3a4ed230f265841115
math/big: optimize writeMultiple to use StringWriter and ByteWriter This overhauls writeMultiple to reduce allocations: - return early if called with a count of 0 rather than allocating a buffer - if writing one byte, which happens when padding, try io.ByteWriter - try io.StringWriter - fallback to io.Writer as curren...
[ { "path": "src/math/big/intconv.go", "patch": "@@ -42,12 +42,27 @@ func (x *Int) String() string {\n \n // write count copies of text to s.\n func writeMultiple(s fmt.State, text string, count int) {\n-\tif len(text) > 0 {\n-\t\tb := []byte(text)\n-\t\tfor ; count > 0; count-- {\n-\t\t\ts.Write(b)\n+\tif le...
2025-01-29T12:25:37