
Research
/Security News
OpenAPI React Query Codegen Compromised in Mini Shai-Hulud npm Supply Chain Attack
Ten malicious OpenAPI React Query Codegen versions were published to npm in the Mini Shai-Hulud attack, all with valid provenance.
@astrojs/language-server
Advanced tools
The Astro language server, implement the language server protocol
├── bin # .js file used to start the server
├── dist # Compiled files, generated by TypeScript
├── src # Source files
│ ├── core # Core code such as .astro file parsing, configuration manager, document definition etc
│ └── plugins # Modules for the different languages supported in .astro files
├── test # Tests
└── types # Types injected into Astro files by the language server under certain conditions
Using VS Code? This section does not apply to you, the VS Code extension includes both Prettier and the Astro plugin by default.
The Astro language server uses Prettier to format Astro files, but does not include prettier or prettier-plugin-astro by itself as dependencies in order to keep the dependency count low and allow users to better control the version of Prettier they want to use.
As such, if you want to use formatting, you'll need to install prettier and prettier-plugin-astro as dependencies in your project.
The vscode-html-languageservice package provides language server capabilities for HTML. It offers features like code completion, hover information, and diagnostics for HTML files. Compared to @astrojs/language-server, it is more general-purpose and not specific to the Astro framework.
The vscode-css-languageservice package provides language server capabilities for CSS. It includes features like code completion, hover information, and diagnostics for CSS files. While it focuses on CSS, @astrojs/language-server is tailored for the Astro framework, which may include CSS but also other types of content.
The typescript-language-server package provides language server capabilities for TypeScript. It offers features like code completion, hover information, and diagnostics for TypeScript files. While it is highly specialized for TypeScript, @astrojs/language-server is designed specifically for the Astro framework, which may include TypeScript but also other languages and frameworks.
FAQs
Unknown package
The npm package @astrojs/language-server receives a total of 1,866,205 weekly downloads. As such, @astrojs/language-server popularity was classified as popular.
We found that @astrojs/language-server demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.

Research
/Security News
Ten malicious OpenAPI React Query Codegen versions were published to npm in the Mini Shai-Hulud attack, all with valid provenance.

Security News
Socket joins more than 100 technology, cybersecurity, and financial organizations calling for a global surge in cyber defense.

Product
Enterprise security teams can now detect malware, credential theft, suspicious network activity, and risky updates across Microsoft Edge extensions.