GithubHelp home page GithubHelp logo

cdk-preact-starter's People

Contributors

aechdub avatar connor4312 avatar deekyjay avatar ethanwaite avatar kateract avatar probableprime avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

kateract

cdk-preact-starter's Issues

Cooldown updates do not clear old cooldown timer

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. ๐Ÿ˜—

Build succeeds but code check errors and fails to package


witch is this

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

Security vulnerability in version 4.1.1 of "npm-run-all"

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.