Socket
Socket
Sign inDemoInstall

@financial-times/o-syntax-highlight

Package Overview
Dependencies
Maintainers
16
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@financial-times/o-syntax-highlight - npm Package Compare versions

Comparing version 2.0.1 to 2.1.0

dist/scss/languages/_yaml.scss

2

dist/js/syntax-highlight.js

@@ -26,2 +26,4 @@ "use strict";

require("prismjs/components/prism-yaml.js");
var _prismDiff = _interopRequireDefault(require("./languages/prism-diff.js"));

@@ -28,0 +30,0 @@

@@ -58,2 +58,8 @@ {

{
"title": "YAML",
"name": "yaml",
"template": "demos/src/yaml.mustache",
"description": "Syntax highlight theme for YAML"
},
{
"title": "SCSS",

@@ -60,0 +66,0 @@ "name": "scss",

2

package.json

@@ -26,3 +26,3 @@ {

"name": "@financial-times/o-syntax-highlight",
"version": "2.0.1",
"version": "2.1.0",
"description": "syntax highlighter for FT products",

@@ -29,0 +29,0 @@ "homepage": "https://github.com/Financial-Times/o-syntax-highlight",

@@ -17,3 +17,3 @@

This component provides accessible syntax highlighting for `bash`, `diff`, Javascript, JSON, HTML, CSS and Sass/SCSS.
This component provides accessible syntax highlighting for `bash`, `diff`, Javascript, JSON, YAML/YML, HTML, CSS and Sass/SCSS.
_If there are any languages you would like to highlight that we don't currently support, please open an issue and we will provide it._

@@ -69,2 +69,3 @@

- JSON: `o-syntax-highlight--json`
- YAML: `o-syntax-highlight--yaml`
- DIFF: `o-syntax-highlight--diff`

@@ -154,2 +155,3 @@

- 'scss' _or_ 'sass'
- 'yaml'

@@ -156,0 +158,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

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