Skip to content

Conversation

@KaiChang17
Copy link

@KaiChang17 KaiChang17 commented Feb 27, 2024

Card

APP-82138

Implement

  • add AnimationMask, and props to control in useLuckyDraw
  • update interface of playground

Screenshot

截圖 2024-02-27 15 13 53

@sonarqubecloud
Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@sky790312
Copy link
Contributor

sky790312 commented Sep 23, 2024

2024-09-23.3.55.06.mov

"style-loader": "^2.0.0",
"ts-jest": "^26.5.6",
"sh-exec": "^2.1.0",
"ts-node": "^10.9.1",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Codacy found a medium Security issue: Package dependencies with variant versions may lead to dependency hijack and confusion attacks.

The issue identified by the Semgrep linter relates to the use of a version range (indicated by the caret ^) for the ts-node package. Using variant versions allows for the possibility that a malicious actor could publish a compromised version of the package that could be installed automatically, leading to potential security vulnerabilities. To mitigate this risk, it's recommended to specify an exact version of the package.

To resolve this issue, you can change the version specification for ts-node to a fixed version. Here's the code suggestion:

Suggested change
"ts-node": "^10.9.1",
"ts-node": "10.9.1",

This comment was generated by an experimental AI tool.

usePlayerState,
usePlayback,
Canvas,
} from '@react-gifs/tools';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codacy found a critical Error Prone issue: Unable to resolve path to module '@react-gifs/tools'.

The issue reported by the ESLint linter, "Unable to resolve path to module '@react-gifs/tools'", indicates that the module '@react-gifs/tools' cannot be found in the project's dependencies. This could be due to several reasons, such as the package not being installed, a typo in the module name, or the module being located in a different path.

To fix this issue, you should ensure that the module is correctly installed in your project. If it is indeed a valid package, you can install it using npm or yarn. However, if you are certain that the package is correctly named and installed, you may want to check your project's configuration or paths.

Assuming the package is not installed yet, the following code suggestion will help you install it:

Suggested change
} from '@react-gifs/tools';
npm install @react-gifs/tools

If the package is already installed and the error persists, you might need to check your tsconfig.json or module resolution settings.


This comment was generated by an experimental AI tool.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants