Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

metalsmith-metallic

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

metalsmith-metallic - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

6

lib/index.js

@@ -64,8 +64,8 @@

if (lang==null) {
replacements.push(hljs.highlightAuto(code).value);
replacements.push("<code>"+hljs.highlightAuto(code).value+"</code>");
} else {
try {
replacements.push(hljs.highlight(lang, code).value);
replacements.push("<code>"+hljs.highlight(lang, code).value+"</code>");
} catch(err) {
replacements.push(hljs.highlightAuto(code).value);
replacements.push("<code>"+hljs.highlightAuto(code).value+"</code>");
}

@@ -72,0 +72,0 @@ }

@@ -5,3 +5,3 @@ {

"repository": "git://github.com/weswigham/metalsmith-metallic.git",
"version": "0.1.0",
"version": "0.1.1",
"license": "MIT",

@@ -15,5 +15,4 @@ "main": "lib/index.js",

"mocha": "1.x",
"metalsmith": "0.x",
"swig": "~1.3.2"
"metalsmith": "0.x"
}
}
Non code
<span class="hljs-built_in">local</span> <span class="hljs-built_in">var</span> <span class="hljs-subst">=</span> <span class="hljs-string">"untyped code"</span>
<code><span class="hljs-built_in">local</span> <span class="hljs-built_in">var</span> <span class="hljs-subst">=</span> <span class="hljs-string">"untyped code"</span></code>
<span class="hljs-keyword">var</span> t = <span class="hljs-string">'typed code'</span>
<code><span class="hljs-keyword">var</span> t = <span class="hljs-string">'typed code'</span></code>
More non code
Non code
<span class="hljs-built_in">local</span> <span class="hljs-built_in">var</span> <span class="hljs-subst">=</span> <span class="hljs-string">"untyped code"</span>
<code><span class="hljs-built_in">local</span> <span class="hljs-built_in">var</span> <span class="hljs-subst">=</span> <span class="hljs-string">"untyped code"</span></code>
<span class="hljs-keyword">var</span> t = <span class="hljs-string">'typed code'</span>
<code><span class="hljs-keyword">var</span> t = <span class="hljs-string">'typed code'</span></code>
More non code
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