Socket
Socket
Sign inDemoInstall

markdown-it-highlightjs

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

markdown-it-highlightjs - npm Package Compare versions

Comparing version 4.0.1 to 4.1.0

test/types.ts

10

CHANGELOG.md

@@ -7,2 +7,5 @@ # [Changelog](http://keepachangelog.com/)

## [4.1.0] - 2024-05-16
* Upgrade highlight.js to 11.9.0. ([#29])
## [4.0.1] - 2022-04-11

@@ -20,3 +23,3 @@ * Fix `dist` directory not being published.

## [3.6.0] - 2021-05-16
## [3.6.0] - 2021-12-26
* Update highlight.js to version 11. ([#22])

@@ -70,3 +73,5 @@

[Unreleased]: https://github.com/valeriangalliat/markdown-it-highlightjs/compare/v4.0.0...HEAD
[Unreleased]: https://github.com/valeriangalliat/markdown-it-highlightjs/compare/v4.1.0...HEAD
[4.1.0]: https://github.com/valeriangalliat/markdown-it-highlightjs/compare/v4.0.1...v4.1.0
[4.0.1]: https://github.com/valeriangalliat/markdown-it-highlightjs/compare/v4.0.0...v4.0.1
[4.0.0]: https://github.com/valeriangalliat/markdown-it-highlightjs/compare/v3.6.0...v4.0.0

@@ -100,1 +105,2 @@ [3.6.0]: https://github.com/valeriangalliat/markdown-it-highlightjs/compare/v3.5.0...v3.6.0

[#25]: https://github.com/valeriangalliat/markdown-it-highlightjs/issues/25
[#29]: https://github.com/valeriangalliat/markdown-it-highlightjs/pull/29

8

package.json
{
"name": "markdown-it-highlightjs",
"version": "4.0.1",
"version": "4.1.0",
"description": "Preset to use highlight.js with markdown-it.",

@@ -15,5 +15,6 @@ "keywords": [

"lint": "ts-standard src/*.ts test/*.js",
"prepack": "npm run prepare && npm run lint && npm run type-check && npm test",
"prepack": "npm run prepare && npm run lint && npm run type-check && npm test && npm run test-ts-import",
"prepare": "npm run build && npm run type-declarations",
"test": "npm run build && mocha",
"test-ts-import": "ts-node test/types.ts",
"type-check": "tsc -noEmit",

@@ -23,3 +24,3 @@ "type-declarations": "tsc --project tsconfig.build.json --declaration --emitDeclarationOnly --outDir types"

"dependencies": {
"highlight.js": "^11.5.1"
"highlight.js": "^11.9.0"
},

@@ -35,2 +36,3 @@ "devDependencies": {

"mocha": "^9.2.2",
"ts-node": "^10.7.0",
"ts-standard": "^11.0.0",

@@ -37,0 +39,0 @@ "typescript": "^4.6.3"

@@ -6,3 +6,3 @@ /* eslint-env mocha */

const attrs = require('markdown-it-attrs')
const highlightjs = require('..')
const highlightjs = require('markdown-it-highlightjs')

@@ -9,0 +9,0 @@ describe('markdown-it-highlightjs', () => {

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