
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
@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 1,561 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
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.