forked from olcxjas-softworks/LarpixClient
update electron to v43
This commit is contained in:
parent
68ac0beedf
commit
fb6c8b6ee9
5385 changed files with 513060 additions and 123058 deletions
18
electron/node_modules/@peculiar/utils/build/esm/legacy/functions.js
generated
vendored
Normal file
18
electron/node_modules/@peculiar/utils/build/esm/legacy/functions.js
generated
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
import { concat, equal } from "../bytes/index.js";
|
||||
export function assign(target, ...sources) {
|
||||
for (const source of sources) {
|
||||
if (!source) {
|
||||
continue;
|
||||
}
|
||||
for (const prop in source) {
|
||||
target[prop] = source[prop];
|
||||
}
|
||||
}
|
||||
return target;
|
||||
}
|
||||
export function combine(...buf) {
|
||||
return concat(buf);
|
||||
}
|
||||
export function isEqual(bytes1, bytes2) {
|
||||
return equal(bytes1, bytes2);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue