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 cross-spawn from 7.0.3 to 7.0.6 #572

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.


Unchanged files with check annotations Beta

export function divisibilityGrid($step: Step) {
const $grid = $step.$('x-number-grid') as NumberGrid;
$step.model.watch((state: any) => {

Check warning on line 91 in content/_divisibility2/functions.ts

GitHub Actions / test

Unexpected any. Specify a different type
const n = state.n;
const c = COLOURS[n % COLOURS.length];
$grid.clear();
declare global {
function postMessage(message: any): void;

Check warning on line 11 in content/_divisibility2/worker.ts

GitHub Actions / test

Unexpected any. Specify a different type
}
onmessage = (e: MessageEvent) => {
await Promise.all([load1, load2, load3]);
const text = await fetch('/content/circles/images/world-110m.json');
const world = await text.json() as any;

Check warning on line 18 in content/circles/components/d3-geo.ts

GitHub Actions / test

Unexpected any. Specify a different type
return {d3: d3, topojson: topojson, world};
}
const path = $geopad.drawPath('', {classes: 'blue'});
// Restrict the position of the pen to within the ellipse.
$geopad.model.watch((s: any) => {

Check warning on line 85 in content/circles/components/ellipse.ts

GitHub Actions / test

Unexpected any. Specify a different type
const p = pen.value!;
const d = Point.distance(p, s.a) + Point.distance(p, s.b);
const ellipse = Ellipse.fromFoci(s.a, s.b, stringLength);
// Draw a new path that connects the foci and pencil position.
let lastC = pen.value!;
const rope = new Rope(13, 250);
$geopad.model.watch((s: any) => {

Check warning on line 95 in content/circles/components/ellipse.ts

GitHub Actions / test

Unexpected any. Specify a different type
const ca = new Circle(s.a, 0.25);
const cb = new Circle(s.b, 0.25);
const l = new Line(lastC, pen.value!);
// Draw a pencil trail whenever model.c changes.
const trail = new Trail('path', 'ccc', 4, 400);
$geopad.model.watch((s: any) => {

Check warning on line 110 in content/circles/components/ellipse.ts

GitHub Actions / test

Unexpected any. Specify a different type
$canvas.clear();
trail.push($geopad.toViewportCoords(s.c));
trail.draw($canvas);
if (p > 0.95) $step.score('slider');
}
$step.model.watch((state: any) => {

Check warning on line 309 in content/circles/functions.ts

GitHub Actions / test

Unexpected any. Specify a different type
$circle.removeChildren();
$rect.removeChildren();
if (p > 0.95) $step.score('slider');
}
$step.model.watch((state: any) => {

Check warning on line 373 in content/circles/functions.ts

GitHub Actions / test

Unexpected any. Specify a different type
// TODO Reuse elements for better performance.
triangle.removeChildren();
$circle.removeChildren();
$value.text = '';
} else if (isOneOf(t, 'sin', 'cos', 'tan')) {
const n = +value || 0;
const r = (Math as any)[t](n * (isDegree ? Math.PI / 180 : 1));

Check warning on line 493 in content/circles/functions.ts

GitHub Actions / test

Unexpected any. Specify a different type
$value.text = ('' + round(r, 6));
reset = true;
} else if (t === 'mode') {
function loadTexture(property: string, url: string) {
textureLoader.load(url, (texture) => {
(material as any)[property] = texture;

Check warning on line 538 in content/circles/functions.ts

GitHub Actions / test

Unexpected any. Specify a different type
material.needsUpdate = true;
});
}