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.8.0 to 0.8.1

6

lib/cjs/tags.js

@@ -69,7 +69,3 @@ "use strict";

if (key == null) {
throw new Error(`class name ${classList[0]} not recognized, please report your code to code-fns`);
}
if (codeStyle[key] != null) {
if (key != null && codeStyle[key] != null) {
var _codeStyle$key;

@@ -76,0 +72,0 @@

@@ -47,7 +47,3 @@ import { createStarryNight, all } from '@wooorm/starry-night';

if (key == null) {
throw new Error(`class name ${classList[0]} not recognized, please report your code to code-fns`);
}
if (codeStyle[key] != null) {
if (key != null && codeStyle[key] != null) {
return codeStyle[key]?.text;

@@ -54,0 +50,0 @@ }

2

package.json
{
"name": "code-fns",
"version": "0.8.0",
"version": "0.8.1",
"description": "A library for visualizing code.",

@@ -5,0 +5,0 @@ "license": "MIT",

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