Skip to content

Commit 6cf6300

Browse files
committed
refactor(code): Optimize scan code and update dependencies
1 parent 9c604cc commit 6cf6300

File tree

10 files changed

+465
-153
lines changed

10 files changed

+465
-153
lines changed

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright 2024 Aiden Bai
1+
Copyright 2024 Aiden Bai, Million Software, Inc.
22

33
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
44

README.md

-2
Original file line numberDiff line numberDiff line change
@@ -540,8 +540,6 @@ Returns an array of all host Fibers that have committed and rendered in the prov
540540
```typescript
541541
import { getMutatedHostFibers } from 'bippy';
542542

543-
// ...
544-
545543
console.log(getMutatedHostFibers(fiber));
546544
```
547545

kitchen-sink/src/mini-react-scan.jsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ export const AddTaskBar = ({ onCreate }) => {
106106
onCreate(`${value} (${id})`);
107107
setValue("");
108108
setId(id + 1);
109-
await new Promise((resolve) => setTimeout(resolve, 0));
110-
for (let i = 0; i < 1000000000; i++) {}
109+
// await new Promise((resolve) => setTimeout(resolve, 0));
110+
// for (let i = 0; i < 1000000000; i++) {}
111111
}}
112112
value={value}
113113
/>

package.json

+2
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@
7979
"@types/react-reconciler": "^0.28.9",
8080
"@vitest/coverage-istanbul": "2.1.8",
8181
"@vitest/ui": "^2.1.8",
82+
"esbuild": "^0.24.2",
83+
"esbuild-plugin-inline-worker": "^0.1.1",
8284
"happy-dom": "^15.11.7",
8385
"prettier": "^3.3.3",
8486
"publint": "^0.2.12",

0 commit comments

Comments
 (0)