mixer / cdk-preact-starter Goto Github PK
View Code? Open in Web Editor NEWScratch work for interactive controls
Scratch work for interactive controls
When a button cooldown is updated via the interactive service, the previous timer that shows that a button is on cooldown is not cleared, and all timers will continue to update the text until they run out, this causes the time shown to flicker between two or more values.
The timer should be cleared when the new one is added such that there is only one timer active per button.
Probably something going wrong in setCountdown()
src/alchemy/preact/Cooldown.tsx
. Please fix. ๐
protected getSceneComponent(scene: MScene) {
const ctor = scene.descriptor().ctor as typeof PreactScene; //this line right here
return <ResourceHolder resource={scene} component={ctor} />;
}
and makes the webpack error and fail to upload the project. There is a work around that has been found but voids the use of typescript a little, witch is
protected getSceneComponent(scene: MScene) {
const ctor = scene.descriptor().ctor as any;
return <ResourceHolder resource={scene} component={ctor} />;
}
CDK version: 1.0.2
We ran an "npm audit" on our project and ran into a security vulnerability alert. It was tied to version 4.1.1 of npm-run-all which is included in the starter package.json file.
Here's the report:
=== npm audit security report ===
Manual Review
Some vulnerabilities require your attention to resolve
Visit https://go.npm.me/audit-guide for additional guidance
Critical Malicious Package
Package flatmap-stream
Patched in No patch available
Dependency of npm-run-all [dev]
Path npm-run-all > ps-tree > event-stream > flatmap-stream
More info https://nodesecurity.io/advisories/737
Updating to version 4.1.5 of "npm-run-all" resolves the issue.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.