
Security News
PodRocket Podcast: Inside the Recent npm Supply Chain Attacks
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
@adminide-stack/core
Advanced tools
`npm link`
`npm link @xtermstack/xterm-core`
`yarn install`
`tsc`
`yarn test`
The createDirectResourceUri
function provides a streamlined way to create resource URIs without needing to first create a cdecode URI and then convert it:
import { createDirectResourceUri, ConfigCollectionName, ConfigFragmentName } from '@adminide-stack/core';
// Create a URI for a team resource
const teamUri = createDirectResourceUri(
ConfigCollectionName.Teams,
'60a3e1c5f30d3a001c9e8d5e', // team ID
'my-organization', // organization name or ID
{
tenantId: 'default',
fragment: ConfigFragmentName.Settings,
useOrgNameParam: true, // use 'orgName' parameter (default: true)
},
);
// Result: cde-resource://default/teams?_id=60a3e1c5f30d3a001c9e8d5e&orgName=my-organization#settings
// Create a URI for an organization resource (only needs ID)
const orgUri = createDirectResourceUri(
ConfigCollectionName.Organizations,
'60a3e1c5f30d3a001c9e8d5f', // organization ID
null, // no organization parameter needed
{
tenantId: 'default',
fragment: ConfigFragmentName.Settings,
},
);
// Result: cde-resource://default/organizations?_id=60a3e1c5f30d3a001c9e8d5f#settings
This approach is more efficient than creating and converting cdecode URIs, and it ensures that the parameters are always in the correct order with _id
first.
FAQs
AdminIDE core for higher packages to depend on
The npm package @adminide-stack/core receives a total of 3,449 weekly downloads. As such, @adminide-stack/core popularity was classified as popular.
We found that @adminide-stack/core demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 16 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
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.