Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
@escolalms/sdk
Advanced tools
The following project contains:
ts-models those types are automatically generated
For rapid React application development here is list of
Simplest React appliaction consuming Wellms Context API would look like
import React, { useContext } from "react";
import ReactDOM from "react-dom/client";
import { EscolaLMSContextProvider } from "@escolalms/sdk/lib/react/context";
declare global {
interface Window {
REACT_APP_API_URL: string;
}
}
const App = () => {
const { user, courses, fetchCourses } = useContext(EscolaLMSContext);
useEffect(() => fetchCourses(), []);
console.log("current user data", user);
return (
<React.Fragment>
<ul>
{courses.list.map((course) => (
<li key={course.id}>{course.title}</li>
))}
</ul>
</React.Fragment>
);
};
const API_URL =
window.REACT_APP_API_URL ||
(process && process.env && process.env.REACT_APP_PUBLIC_API_URL);
ReactDOM.createRoot(document.getElementById("root") as Element).render(
<EscolaLMSContextProvider apiUrl={API_URL}>
<App />
</EscolaLMSContextProvider>
);
List of umi-request based
FAQs
Frontend TS/JS connection to API.
The npm package @escolalms/sdk receives a total of 94 weekly downloads. As such, @escolalms/sdk popularity was classified as not popular.
We found that @escolalms/sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
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.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.