
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
gm-route-replay-react
Advanced tools
React hook and components for gm-route-replay.
See the main project documentation for more details.
npm install gm-route-replay-react gm-route-replay-core react react-dom @types/google.maps
# or
yarn add gm-route-replay-react gm-route-replay-core react react-dom @types/google.maps
# or
pnpm add gm-route-replay-react gm-route-replay-core react react-dom @types/google.maps
import { useRouteReplay } from 'gm-route-replay-react';
import { useRef, useState, useEffect } from 'react';
function MyMapComponent() {
const mapContainerRef = useRef<HTMLDivElement>(null);
const [isMapApiLoaded, setIsMapApiLoaded] = useState(false);
// ... (Load Google Maps API logic)
const { state, controls } = useRouteReplay({
mapContainerRef,
isMapApiLoaded,
route: [/* your route points */],
// ... other options
});
return (
<div>
<div ref={mapContainerRef} style={{ height: '500px', width: '100%' }} />
{/* Add controls (play, pause, etc.) */}
<button onClick={controls.play} disabled={!isMapApiLoaded || state.isPlaying}>Play</button>
<button onClick={controls.pause} disabled={!isMapApiLoaded || !state.isPlaying}>Pause</button>
</div>
);
}
ISC
FAQs
React hook and components for gm-route-replay
The npm package gm-route-replay-react receives a total of 0 weekly downloads. As such, gm-route-replay-react popularity was classified as not popular.
We found that gm-route-replay-react demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.