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

code-fns

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

code-fns - npm Package Compare versions

Comparing version 0.9.0-beta.0 to 0.9.0-beta.1

1

lib/cjs/tags.js

@@ -17,2 +17,3 @@ "use strict";

async function ready() {
(0, _shiki.setWasm)(await fetch('https://esm.sh/vscode-oniguruma@1/release/onig.wasm'));
highlighter = await (0, _shiki.getHighlighter)({

@@ -19,0 +20,0 @@ theme: 'github-dark'

3

lib/esm/tags.js

@@ -1,4 +0,5 @@

import { getHighlighter } from 'shiki';
import { getHighlighter, setWasm } from 'shiki';
let highlighter = null;
export async function ready() {
setWasm(await fetch('https://esm.sh/vscode-oniguruma@1/release/onig.wasm'));
highlighter = await getHighlighter({

@@ -5,0 +6,0 @@ theme: 'github-dark'

{
"name": "code-fns",
"version": "0.9.0-beta.0",
"version": "0.9.0-beta.1",
"description": "A library for visualizing code.",

@@ -56,3 +56,4 @@ "license": "MIT",

"vite": "^3.0.7",
"vitest": "^0.22.1"
"vitest": "^0.22.1",
"vitest-fetch-mock": "^0.2.1"
},

@@ -59,0 +60,0 @@ "dependencies": {

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