-
-
Notifications
You must be signed in to change notification settings - Fork 163
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
Fix #1409 and Fix #1410: "use server"
case, and $
starting variable.
#1411
Conversation
commit: |
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
🚮 Removed packages: npm/lz-string@1.5.0, npm/monaco-editor@0.50.0, npm/next-sitemap@4.2.3, npm/next@14.2.18, npm/nextra-theme-docs@2.13.4, npm/nextra@2.13.4, npm/path@0.12.7, npm/process@0.11.10, npm/react-dom@18.3.1, npm/react@18.3.1, npm/tgrid@1.1.0, npm/ts-loader@9.5.1, npm/typedoc-github-theme@0.1.2, npm/typedoc@0.26.11, npm/typescript@5.7.2, npm/typia@7.0.0, npm/write-file-webpack-plugin@4.5.1 |
🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎ To accept the risk, merge this PR and you will not be notified again.
Next stepsWhat is a typosquat?Package name is similar to other popular packages and may not be the package you want. Use care when consuming similarly named packages and ensure that you did not intend to consume a different package. Malicious packages often publish using similar names as existing popular packages. Take a deeper look at the dependencyTake a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev. Remove the packageIf you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency. Mark a package as acceptable riskTo ignore an alert, reply with a comment starting with
|
"use server"
case, and remove $
starting variable."use server"
case, and remove $
starting variable.
"use server"
case, and remove $
starting variable."use server"
case, and $
starting variable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK.
Emergent update for #1409 and #1410.
This pull request includes several updates across multiple files to improve consistency and functionality. The most important changes involve renaming identifiers for clarity, updating functions, and adding new validation and testing capabilities.
Version Update:
package.json
: Updated the version from7.0.0
to7.0.1
.Function and Identifier Renaming:
src/internal/_miscCloneAny.ts
: Renamed the$cloneMain
function tocloneMain
throughout the file for consistency. [1] [2]src/programmers/ValidateProgrammer.ts
: Renamed the$report
identifier to_report
for better readability and consistency. [1] [2] [3]test/generate/output/generate_http.ts
: Renamed$report
to_report
in multiple locations for consistency. [1] [2] [3]test/generate/output/generate_json.ts
: Renamed$report
to_report
in multiple locations for consistency. [1] [2] [3] [4] [5] [6]New Functions and Enhancements:
src/transformers/FileTransformer.ts
: Added thefind_import_injection_index
function to determine the correct index for import injection, improving the file transformation process. [1] [2]Testing and Validation:
test/build/validate-generate.ts
: Added a new test to ensure that files do not contain the ` character, which is not allowed in Svelte5.test/generate/input/generate_index.ts
: Added a new test file with multiple validation functions for theICitizen
interface.test/generate/input/generate_use.ts
: Added a new test file with strict mode and server usage declarations.