@expressive-code/plugin-frames
Advanced tools
Comparing version 0.29.1 to 0.29.2
@@ -430,2 +430,6 @@ // src/index.ts | ||
return; | ||
if (!possibleFileName.match(/[^.:/\\~]/)) | ||
return; | ||
if (possibleFileName.match(/^\.{2,}(?!\/|\\)/)) | ||
return; | ||
const languageGroup = Object.values(LanguageGroups).find((group) => group.includes(lang)); | ||
@@ -432,0 +436,0 @@ const fileNameWithoutPath = possibleFileName.replace(/^.*[/\\]/, ""); |
{ | ||
"name": "@expressive-code/plugin-frames", | ||
"version": "0.29.1", | ||
"version": "0.29.2", | ||
"description": "Frames plugin for Expressive Code. Wraps code blocks in a styled editor or terminal frame with support for titles, multiple tabs and more.", | ||
@@ -26,3 +26,3 @@ "keywords": [], | ||
"dependencies": { | ||
"@expressive-code/core": "^0.29.1", | ||
"@expressive-code/core": "^0.29.2", | ||
"hastscript": "^7.2.0" | ||
@@ -33,3 +33,3 @@ }, | ||
"hast-util-to-html": "^8.0.4", | ||
"@expressive-code/plugin-shiki": "^0.29.1", | ||
"@expressive-code/plugin-shiki": "^0.29.2", | ||
"@internal/test-utils": "^0.2.22" | ||
@@ -36,0 +36,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
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
186693
1591
1