Join our webinar on Wednesday, June 26, at 1pm EDTHow Chia Mitigates Risk in the Crypto Industry.Register
Socket
Socket
Sign inDemoInstall

marked-highlight

Package Overview
Dependencies
1
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.0.1

4

lib/index.umd.js

@@ -24,3 +24,3 @@ (function (global, factory) {

async: !!options.async,
langPrefix: options.langPrefix,
langPrefix: '',
walkTokens(token) {

@@ -44,3 +44,3 @@ if (token.type !== 'code') {

const classAttr = lang
? ` class="${this.options.langPrefix}${escape(lang)}"`
? ` class="${options.langPrefix}${escape(lang)}"`
: '';

@@ -47,0 +47,0 @@ code = code.replace(/\n$/, '');

{
"name": "marked-highlight",
"version": "1.0.0",
"version": "1.0.1",
"description": "marked highlight",

@@ -32,3 +32,3 @@ "main": "./lib/index.cjs",

"type": "git",
"url": "git+https://github.com/UziTech/marked-highlight.git"
"url": "git+https://github.com/markedjs/marked-highlight.git"
},

@@ -38,11 +38,11 @@ "author": "Tony Brix <Tony@Brix.ninja> (https://Tony.Brix.ninja)",

"bugs": {
"url": "https://github.com/UziTech/marked-highlight/issues"
"url": "https://github.com/markedjs/marked-highlight/issues"
},
"homepage": "https://github.com/UziTech/marked-highlight#readme",
"homepage": "https://github.com/markedjs/marked-highlight#readme",
"peerDependencies": {
"marked": "^4.3.0"
"marked": "^4 || ^5"
},
"devDependencies": {
"@babel/core": "^7.21.3",
"@babel/preset-env": "^7.20.2",
"@babel/core": "^7.21.5",
"@babel/preset-env": "^7.21.5",
"@semantic-release/changelog": "^6.0.3",

@@ -52,17 +52,17 @@ "@semantic-release/commit-analyzer": "^9.0.2",

"@semantic-release/github": "^8.0.7",
"@semantic-release/npm": "^10.0.2",
"@semantic-release/release-notes-generator": "^10.0.3",
"@semantic-release/npm": "^10.0.3",
"@semantic-release/release-notes-generator": "^11.0.1",
"babel-jest": "^29.5.0",
"eslint": "^8.36.0",
"eslint": "^8.39.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-n": "^15.6.1",
"eslint-plugin-n": "^15.7.0",
"eslint-plugin-promise": "^6.1.1",
"highlight.js": "^11.7.0",
"highlight.js": "^11.8.0",
"jest-cli": "^29.5.0",
"marked": "^4.3.0",
"marked": "^5.0.0",
"pygmentize-bundled": "^2.3.0",
"rollup": "^3.20.2",
"semantic-release": "^21.0.0"
"rollup": "^3.21.2",
"semantic-release": "^21.0.2"
}
}

@@ -18,3 +18,3 @@ export function markedHighlight(options) {

async: !!options.async,
langPrefix: options.langPrefix,
langPrefix: '',
walkTokens(token) {

@@ -38,3 +38,3 @@ if (token.type !== 'code') {

const classAttr = lang
? ` class="${this.options.langPrefix}${escape(lang)}"`
? ` class="${options.langPrefix}${escape(lang)}"`
: '';

@@ -41,0 +41,0 @@ code = code.replace(/\n$/, '');

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc