
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
sel-custom-esri-search
Advanced tools
CustomEsriSearch
is a React component that provides a dynamic search interface with autocomplete suggestions. It is designed to search within observing sites, researchers, or keywords. The component leverages Material-UI for styling and icons, and it includes custom hooks and helper functions to manage search functionality.
The Search
folder contains all the files related to the CustomEsriSearch
. This includes the main component file, any related sub-components, utility functions, tests, and styles.
To install the SearchComponent
, you need to have npm
or yarn
installed. You can then install the package and its dependencies.
npm i sel-custom-esri-search
The SearchComponent takes the following props:
import React from "react";
import CustomEsriSearch from "sel-custom-esri-search";
function App() {
// Define the props required for the SearchComponent
const view = {}; // Your map view or context
const searchFields = ["field1", "field2"]; // Fields to search within
const featureLayer = {}; // Your feature layer or data source
return (
<div className="App">
<CustomEsriSearch
view={view}
searchFields={searchFields}
featureLayer={featureLayer}
/>
</div>
);
}
export default App;
useWithSearch: Custom hook used within SearchComponent to manage search state and actions. It returns the following:
FAQs
# Overview
We found that sel-custom-esri-search 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
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.