Socket
Socket
Sign inDemoInstall

prismjs

Package Overview
Dependencies
0
Maintainers
8
Versions
37
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous134Next

1.20.0

Diff

Changelog

Source

1.20.0 (2020-04-04)

New components

Updated components

New plugins

Updated plugins

  • Inline Color
    • Support for (semi-)transparent colors and minor improvements (#2223) 8d2c5a3e
  • Keep Markup
  • Toolbar

Other

jamesdigioia
published 1.19.0 •

Changelog

Source

1.19.0 (2020-01-13)

New components

Updated components

Updated plugins

  • Custom Class

Updated themes

Other

jamesdigioia
published 1.18.0 •

Changelog

Source

1.18.0 (2020-01-04)

New components

Updated components

Updated plugins

Other

jamesdigioia
published 1.17.1 •

Changelog

Source

1.17.1 (2019-07-21)

Other

  • Infrastructure
jamesdigioia
published 1.17.0 •

Changelog

Source

1.17.0 (2019-07-21)

New components

New plugins

  • Diff Highlight: Syntax highlighting inside diff blocks (#1889) e7702ae1

Updated components

Updated plugins

  • Autolinker
  • Autoloader
  • Command Line
    • Fix for uncaught errors for empty 'commandLine' object. (#1862) c24831b5
  • Copy to Clipboard Button
  • Custom Class
    • Added mapper functions for language specific transformations (#1873) acceb3b5
  • Line Highlight
  • Toolbar

Updated themes

Other

jamesdigioia
published 1.16.0 •

Changelog

Source

1.16.0 (2019-03-24)

New components

Updated components

Updated plugins

Updated themes

Other changes

leaverou
published 1.15.0 •

Changelog

Source

1.15.0 (2018-06-16)

New components

Updated components

  • HTTP
  • Kotlin
  • JavaScript
    • Improve Regexp pattern [5b043cf]
    • Add support for one level of nesting inside template strings. Fix #1397 [db2d0eb]
  • Elixir
    • Elixir: Fix attributes consuming punctuation. Fix #1392 [dac0485]
  • Bash
  • PowerShell
    • Allow for one level of nesting in expressions inside strings. Fix #1407 [9272d6f]
  • JSX
    • Allow for two levels of nesting inside JSX tags. Fix #1408 [f1cd7c5]
    • Add support for fragments short syntax. Fix #1421 [38ce121]
  • Pascal
  • Swift

Updated plugins

  • File Highlight
    • Fix issue causing the Download button to show up on every code blocks. [cd22499]
    • Simplify lang regex on File Highlight plugin (#1399) [7bc9a4a]
  • Show Language
    • Don't process language if block language not set (#1410) [c111869]
  • Autoloader
    • ASP.NET should require C# [fa328bb]
  • Line Numbers

Updated themes

Other changes

  • Website
    • Site now loads over HTTPS!
    • Use HTTPS / canonical URLs (#1390) [95146c8]
    • Added Angular tutorial link [c436a7c]
    • Use rel="icon" instead of rel="shortcut icon" (#1398) [d95f8fb]
    • Fix Download page not handling multiple dependencies when from Redownload URL [c2ff248]
    • Update documentation for node & webpack usage [1e99e96]
  • Handle optional dependencies in loadLanguages() (#1417) [84935ac]
  • Add Chinese translation [f2b1964]
leaverou
published 1.14.0 •

Changelog

Source

1.14.0 (2018-04-11)

New components

Updated components

  • Bash:
    • Add curl to the list of common functions. Close #1160 [1bfc084]
  • C-like:
  • C#:
  • Eiffel:
  • Elixir
    • Make regexps greedy, remove comment hacks. Update known failures and tests. [e93d61f]
  • ERB:
  • Fortran:
    • Make single-line comments greedy. Update known failures and tests. [c083b78]
  • Handlebars:
  • Java:
  • JavaScript:
  • JSX:
  • Monkey:
    • Make comments greedy. Update known failures and tests. [d7b2b43]
  • PHP:
  • Puppet:
    • Make heredoc, comments, regexps and strings greedy. Update known failures and tests. [0c139d1]
  • Q:
    • Make comments greedy. Update known failures and tests. [a0f5081]
  • Ruby:
    • Make multi-line comments greedy, remove single-line comment hack. Update known failures and tests. [b0e34fb]
  • SQL:

Updated plugins

  • Command Line:
    • Command Line: Allow specifying output prefix using data-filter-output attribute. (#856) [094d546]
  • File Highlight:
    • Add option to provide a download button, when used with the Toolbar plugin. Fix #1030 [9f22952]

Updated themes

Other changes

  • Website: Remove broken third-party tutorials from homepage [0efd6e1]
  • Docs: Mention loadLanguages() function on homepage in the nodeJS section. Close #972, close #593 [4a14d20]
  • Core: Greedy patterns should always be matched against the full string. Fix #1355 [294efaa]
  • Crystal: Update known failures. [e1d2d42]
  • D: Update known failures and tests. [13d9991]
  • Markdown: Update known failures. [5b6c76d]
  • Matlab: Update known failures. [259b6fc]
  • Website: Remove non-existent anchor to failures. Reword on homepage to make is less misleading. [8c0911a]
  • Website: Add link to Keep Markup plugin in FAQ [e8cb6d4]
  • Test suite: Memory leak in vm.runInNewContext() seems fixed. Revert [9a4b6fa] to drastically improve tests execution time. [9bceece, 7c7602b]
  • Gulp: Don't minify components/index.js [689227b]
  • Website: Fix theme selection on Download page, when theme is in query string or hash. [b4d3063]
  • Update JSPM config to also include unminified components. Close #995 [218f160]
  • Core: Fix support for language alias containing dash - [659ea31]
leaverou
published 1.13.0 •

Changelog

Source

1.13.0 (2018-03-21)

New components

Updated components

  • JSX:
  • Markup:
  • Powershell:
    • Add lookbehind to fix function interpolation inside strings. Fix #1361 [d2c026e]
  • Rust:
    • Improve char pattern so that lifetime annotations are matched better. Fix #1353 [efdccbf]

Updated themes

  • Default:
    • Add color for class names [8572474]
  • Coy:
    • Inherit pre's height on code, so it does not break on Download page. [c6c7fd1]

Other changes

  • Website: Auto-generate example headers [c3ed5b5]
  • Core: Allow cloning of circular structures. (#1345) [f90d555]
  • Core: Generate components.js from components.json and make it exportable to nodeJS. (#1354) [ba60df0]
  • Website: Improve appearance of theme selector [0460cad]
  • Website: Check stored theme by default + link both theme selectors together. Close #1038 [212dd4e]
  • Tests: Use the new components.js file directly [0e1a8b7]
  • Update .npmignore Close #1274 [a52319a]
  • Add a loadLanguages() function for easy component loading on NodeJS (#1359) [a5331a6]
leaverou
published 1.12.2 •

Changelog

Source

1.12.2 (2018-03-08)

Other changes

  • Test against NodeJS 4, 6, 8 and 9 (#1329) [97b7d0a]
  • Stop testing against NodeJS 0.10 and 0.12 [df01b1b]
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