Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump web-vitals from 3.5.2 to 4.0.1 #229

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Bump web-vitals from 3.5.2 to 4.0.1
Bumps [web-vitals](https://github.com/GoogleChrome/web-vitals) from 3.5.2 to 4.0.1.
- [Changelog](https://github.com/GoogleChrome/web-vitals/blob/main/CHANGELOG.md)
- [Commits](GoogleChrome/web-vitals@v3.5.2...v4.0.1)

---
updated-dependencies:
- dependency-name: web-vitals
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
dependabot[bot] authored Jun 3, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 36eae6d93bed4bf0363e92a3fb878a4ee8f3c824
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@
"react-webcam": "^7.2.0",
"react-zdog": "^1.0.11",
"styled-components": "^6.1.8",
"web-vitals": "^3.5.2",
"web-vitals": "^4.0.1",
"zdog": "^1.1.3"
},
"devDependencies": {
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
@@ -9333,10 +9333,10 @@ wbuf@^1.1.0, wbuf@^1.7.3:
dependencies:
minimalistic-assert "^1.0.0"

web-vitals@^3.5.2:
version "3.5.2"
resolved "https://registry.yarnpkg.com/web-vitals/-/web-vitals-3.5.2.tgz#5bb58461bbc173c3f00c2ddff8bfe6e680999ca9"
integrity sha512-c0rhqNcHXRkY/ogGDJQxZ9Im9D19hDihbzSQJrsioex+KnFgmMzBiy57Z1EjkhX/+OjyBpclDCzz2ITtjokFmg==
web-vitals@^4.0.1:
version "4.0.1"
resolved "https://registry.yarnpkg.com/web-vitals/-/web-vitals-4.0.1.tgz#9fa4dfcd26130d6721717c5f2ff73adf3adbbe76"
integrity sha512-AW6qT/vXK3pbf+WgVcEBXY//AWCpXjVKgdb6rt0cARSUdtT+NUtZCOeo+CSLUX7PjSQ275DmxfkAs7QlPbtR6w==

webidl-conversions@^4.0.2:
version "4.0.2"

Unchanged files with check annotations Beta

useState,
useCallback,
PropsWithChildren,
useMemo,

Check warning on line 6 in src/Camera.tsx

GitHub Actions / Lint

'useMemo' is defined but never used
} from "react";
import { NonIdealState } from "@blueprintjs/core";
import Webcam from "react-webcam";
const fullscreen = useFullScreenHandle();
// Click to enter full screen, double click to leave
const toggleFullscreen = (event: MouseEvent) => {

Check warning on line 31 in src/Noskop.tsx

GitHub Actions / Lint

'toggleFullscreen' is assigned a value but never used
switch (event.detail) {
case 1:
if (!fullscreen.active) fullscreen.enter();
* Displays the relative position of nearby Waypoints
*/
export const Compass = () => {
const [state, setState] = React.useState<CompassState>({ opacity: 0.7 });

Check warning on line 11 in src/hud/Compass.tsx

GitHub Actions / Lint

'state' is assigned a value but never used

Check warning on line 11 in src/hud/Compass.tsx

GitHub Actions / Lint

'setState' is assigned a value but never used
};
});
}, 1000 / 30);
controller.connection.on("change", ({ state }) => setConnected(state));
}, []);

Check warning on line 48 in src/hud/ControllerConnection.tsx

GitHub Actions / Lint

React Hook useEffect has missing dependencies: 'controller.connection' and 'controller.right.analog.direction'. Either include them or remove the dependency array
const [state] = useState<ControllerConnectionState>({
offset: { x: 0, y: 0 },
controller.left.analog.on("change", (analog) => {
setAnalog(analog.vector);
});
}, []);

Check warning on line 34 in src/hud/Inventory.tsx

GitHub Actions / Lint

React Hook useEffect has a missing dependency: 'controller.left.analog'. Either include it or remove the dependency array
console.log(`Inventory: ${direction} x ${magnitude}`);
controller.left.analog.on("change", (analog) => {
setAnalog(analog.vector);
});
}, []);

Check warning on line 39 in src/hud/Reticle.tsx

GitHub Actions / Lint

React Hook React.useEffect has a missing dependency: 'controller.left.analog'. Either include it or remove the dependency array
console.log(`Reticle: ${direction} x ${magnitude}`);
Apochromatic = "apochromatic",
}
const CorrectionFactors = [

Check warning on line 18 in src/mechanics/Objective.tsx

GitHub Actions / Lint

'CorrectionFactors' is assigned a value but never used
CorrectionFactor.Achromatic,
CorrectionFactor.Fluorite,
CorrectionFactor.Apochromatic,
];
const Magnifications = [

Check warning on line 23 in src/mechanics/Objective.tsx

GitHub Actions / Lint

'Magnifications' is assigned a value but never used
0.5, 1, 1.5, 2, 2.5, 3.2, 3.3, 4, 5, 6.3, 10, 16, 20, 25, 40, 43, 45, 50, 60,
80, 97, 100, 120, 200,
];
* of objective lenses.
*/
export const Turret = () => {
const [size, setSize] = React.useState<number>();

Check warning on line 10 in src/mechanics/Turret.tsx

GitHub Actions / Lint

'size' is assigned a value but never used
const [objectives, setObjectives] = React.useState<typeof Objective[]>([]);
const [activeObjective, setActiveObjective] = React.useState<number>(0);