Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@viamrobotics/prime-core

Package Overview
Dependencies
Maintainers
0
Versions
173
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@viamrobotics/prime-core - npm Package Compare versions

Comparing version 0.0.169 to 0.0.170

dist/highlight-code/highlight-code.d.ts

7

dist/__tests__/code-snippet.spec.js

@@ -45,9 +45,2 @@ import { describe, it, expect, vi } from 'vitest';

});
it('Renders with the passed dependencies', () => {
render(CodeSnippet, { ...common, dependencies: ['dep1', 'dep2'] });
const code = screen
.getByRole('figure')
.querySelector('pre > code.language-json');
expect(code).toHaveAttribute('data-dependencies', 'dep1,dep2');
});
it('Renders with a figcaption when the default slot is provided', () => {

@@ -54,0 +47,0 @@ render(CaptionedCodeSnippet);

import { SvelteComponent } from "svelte";
import 'prism-themes/themes/prism-vs.min.css';
import cx from 'classnames';

@@ -16,16 +15,2 @@ declare const __propDef: {

*/ showCopyButton?: boolean;
/**
* Some prism languages have dependencies. For example, C++ requires C. If the
* passed `language` has dependencies, they must be included here to be loaded.
*
* See: https://prismjs.com/plugins/autoloader/
*/ dependencies?: string[];
/**
* We use the prism autoloader to handle loading in language grammar files. The
* default path for the grammar files is a CDN link so we don't have to include
* grammar files in our bundle. If you prefer to point to your own grammars and
* bypass the CDN, define the path to those files.
*
* See: https://prismjs.com/plugins/autoloader/
*/ grammarsPath?: string;
/** Additional CSS classes to pass to the aside. */ cx?: cx.Argument;

@@ -32,0 +17,0 @@ };

1

dist/icon/icons.d.ts

@@ -35,2 +35,3 @@ type Path = string;

readonly 'broadcast-off': string;
readonly bug: string;
readonly broadcast: string;

@@ -37,0 +38,0 @@ readonly 'card-text-outline': string;

@@ -30,2 +30,3 @@ import * as MDI from '@mdi/js';

'broadcast-off': MDI.mdiBroadcastOff,
bug: MDI.mdiBug,
broadcast: MDI.mdiBroadcast,

@@ -32,0 +33,0 @@ 'card-text-outline': MDI.mdiCardTextOutline,

@@ -37,1 +37,2 @@ export { default as Badge } from './badge.svelte';

export { default as VectorInput } from './vector-input.svelte';
export { highlightCode } from './highlight-code';

@@ -37,1 +37,2 @@ export { default as Badge } from './badge.svelte';

export { default as VectorInput } from './vector-input.svelte';
export { highlightCode } from './highlight-code';
{
"name": "@viamrobotics/prime-core",
"version": "0.0.169",
"version": "0.0.170",
"repository": {

@@ -5,0 +5,0 @@ "type": "git",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc