expressive-code
Advanced tools
Comparing version 0.33.5 to 0.34.0
{ | ||
"name": "expressive-code", | ||
"version": "0.33.5", | ||
"version": "0.34.0", | ||
"description": "A text marking & annotation engine for presenting source code on the web.", | ||
@@ -14,10 +14,22 @@ "keywords": [], | ||
"type": "module", | ||
"main": "./dist/index.cjs", | ||
"main": "./dist/index.js", | ||
"module": "./dist/index.js", | ||
"exports": { | ||
"types": "./dist/index.d.ts", | ||
"require": "./dist/index.cjs", | ||
"default": "./dist/index.js" | ||
".": { | ||
"types": "./dist/index.d.ts", | ||
"default": "./dist/index.js" | ||
}, | ||
"./hast": { | ||
"types": "./dist/hast.d.ts", | ||
"default": "./dist/hast.js" | ||
} | ||
}, | ||
"types": "./dist/index.d.ts", | ||
"typesVersions": { | ||
"*": { | ||
"hast": [ | ||
"dist/hast.d.ts" | ||
] | ||
} | ||
}, | ||
"files": [ | ||
@@ -27,9 +39,9 @@ "dist" | ||
"dependencies": { | ||
"@expressive-code/core": "^0.33.5", | ||
"@expressive-code/plugin-frames": "^0.33.5", | ||
"@expressive-code/plugin-shiki": "^0.33.5", | ||
"@expressive-code/plugin-text-markers": "^0.33.5" | ||
"@expressive-code/core": "^0.34.0", | ||
"@expressive-code/plugin-frames": "^0.34.0", | ||
"@expressive-code/plugin-shiki": "^0.34.0", | ||
"@expressive-code/plugin-text-markers": "^0.34.0" | ||
}, | ||
"scripts": { | ||
"build": "tsup ./src/index.ts --format esm,cjs --dts --sourcemap --clean", | ||
"build": "tsup ./src/index.ts ./src/hast.ts --format esm --dts --sourcemap --clean", | ||
"coverage": "vitest run --coverage", | ||
@@ -36,0 +48,0 @@ "test": "vitest run --reporter verbose", |
@@ -34,3 +34,3 @@ # expressive-code [![NPM version](https://img.shields.io/npm/v/expressive-code.svg)](https://www.npmjs.com/package/expressive-code) [![NPM downloads](https://img.shields.io/npm/dm/expressive-code.svg)](https://npmjs.org/package/expressive-code) | ||
import { ExpressiveCode, ExpressiveCodeConfig } from 'expressive-code' | ||
import { toHtml } from 'hast-util-to-html' | ||
import { toHtml } from 'expressive-code/hast' | ||
@@ -37,0 +37,0 @@ const ec = new ExpressiveCode() |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14010
82
+ Added@ctrl/tinycolor@4.1.0(transitive)
+ Added@expressive-code/core@0.34.2(transitive)
+ Added@expressive-code/plugin-frames@0.34.2(transitive)
+ Added@expressive-code/plugin-shiki@0.34.2(transitive)
+ Added@expressive-code/plugin-text-markers@0.34.2(transitive)
+ Addedbcp-47-match@2.0.3(transitive)
+ Addedboolbase@1.0.0(transitive)
+ Addedcss-selector-parser@3.0.5(transitive)
+ Addeddirection@2.0.1(transitive)
+ Addedhast-util-has-property@3.0.0(transitive)
+ Addedhast-util-is-element@3.0.0(transitive)
+ Addedhast-util-parse-selector@4.0.0(transitive)
+ Addedhast-util-select@6.0.3(transitive)
+ Addedhast-util-to-string@3.0.1(transitive)
+ Addedhast-util-to-text@4.0.2(transitive)
+ Addedhastscript@9.0.0(transitive)
+ Addednth-check@2.1.1(transitive)
+ Addedunist-util-find-after@5.0.0(transitive)
- Removed@ctrl/tinycolor@3.6.1(transitive)
- Removed@expressive-code/core@0.33.5(transitive)
- Removed@expressive-code/plugin-frames@0.33.5(transitive)
- Removed@expressive-code/plugin-shiki@0.33.5(transitive)
- Removed@expressive-code/plugin-text-markers@0.33.5(transitive)
- Removed@types/hast@2.3.10(transitive)
- Removed@types/parse5@6.0.3(transitive)
- Removed@types/unist@2.0.11(transitive)
- Removedhast-util-from-parse5@7.1.2(transitive)
- Removedhast-util-parse-selector@3.1.1(transitive)
- Removedhast-util-raw@7.2.3(transitive)
- Removedhast-util-to-html@8.0.4(transitive)
- Removedhast-util-to-parse5@7.1.0(transitive)
- Removedhast-util-whitespace@2.0.1(transitive)
- Removedhastscript@7.2.0(transitive)
- Removedhtml-void-elements@2.0.1(transitive)
- Removedis-buffer@2.0.5(transitive)
- Removedparse5@6.0.1(transitive)
- Removedunist-util-is@5.2.1(transitive)
- Removedunist-util-position@4.0.4(transitive)
- Removedunist-util-stringify-position@3.0.3(transitive)
- Removedunist-util-visit@4.1.2(transitive)
- Removedunist-util-visit-parents@5.1.3(transitive)
- Removedvfile@5.3.7(transitive)
- Removedvfile-location@4.1.0(transitive)
- Removedvfile-message@3.1.4(transitive)
- Removedweb-namespaces@2.0.1(transitive)