
Research
SAP CAP npm Packages Hit by Supply Chain Attack
Compromised SAP CAP npm packages download and execute unverified binaries, creating urgent supply chain risk for affected developers and CI/CD environments.
@navanatech/react-app
Advanced tools
@navanatech/react-appShareable configs for Navana Tech's React setup. Includes the following:
Note that because changes to these configs may bring breaking changes to your app, each time packages are updated to latest, we will increment one major version. Only in case of issues fixed by updating a minor version of a dependency will this package publish minor/patch updates.
# Using npm
npm install -D @navanatech/react-app vite typescript postcss eslint prettier
# using yarn
yarn add -D @navanatech/react-app vite typescript postcss eslint prettier
# using pnpm (preferred)
pnpm add @navanatech/react-app vite typescript postcss eslint prettier
Add this to your package.json:
"scripts": {
"start": "vite",
"build": "vite build",
"preview": "vite preview",
"pretty": "pretty-quick --pattern '**/*.*(js|jsx|ts|tsx)'",
"lint": "eslint --ext .js --ext jsx --ext .ts --ext tsx ./src"
},
"prettier": "@navanatech/react-app/.prettierrc.json",
"eslintConfig": {
"extends": "react-app"
},
Add the following config files:
import { defineConfig } from "vite";
import viteConfig from "@navanatech/react-app/viteConfig";
import { dependencies } from "./package.json";
const manualChunks = {
core: ["react", "react-router-dom"],
other: Object.keys(dependencies).filter(key => !["react", "react-router-dom"].includes(key)),
};
export default defineConfig(viteConfig(manualChunks));
{
"extends": "@navanatech/react-app/tsconfig.json",
"compilerOptions": {
"types": ["vite/client", "@navanatech/react-app"],
},
"include": ["./src", "./vite.config.ts"]
}
module.exports = require("@navanatech/react-app/postcss.config");
FAQs
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
Compromised SAP CAP npm packages download and execute unverified binaries, creating urgent supply chain risk for affected developers and CI/CD environments.

Company News
Socket has acquired Secure Annex to expand extension security across browsers, IDEs, and AI tools.

Research
/Security News
Socket is tracking cloned Open VSX extensions tied to GlassWorm, with several updated from benign-looking sleepers into malware delivery vehicles.