Comparing version 0.6.1 to 0.6.2
@@ -35,6 +35,6 @@ 'use strict'; | ||
if (tab) line = replaceTabs(line, tab); | ||
numbers += '<div class="line">' + (firstLine + i) + '</div>'; | ||
content += '<div class="line'; | ||
numbers += '<span class="line">' + (firstLine + i) + '</span><br>'; | ||
content += '<span class="line'; | ||
content += (mark.indexOf(firstLine + i) !== -1) ? ' marked' : ''; | ||
content += '">' + line + '</div>'; | ||
content += '">' + line + '</span><br>'; | ||
} | ||
@@ -41,0 +41,0 @@ |
{ | ||
"name": "hexo-util", | ||
"version": "0.6.1", | ||
"version": "0.6.2", | ||
"description": "Utilities for Hexo.", | ||
@@ -12,3 +12,3 @@ "main": "lib/index", | ||
"build:highlight": "node scripts/build_highlight_alias.js > highlight_alias.json", | ||
"postinstall": "npm run build:highlight" | ||
"prepare": "npm run build:highlight" | ||
}, | ||
@@ -28,3 +28,3 @@ "directories": { | ||
"Abner Chou <hi@abnerchou.me> (http://abnerchou.me)" | ||
], | ||
], | ||
"license": "MIT", | ||
@@ -43,9 +43,9 @@ "devDependencies": { | ||
"dependencies": { | ||
"bluebird": "^3.4.0", | ||
"bluebird": "^3.5.1", | ||
"camel-case": "^3.0.0", | ||
"cross-spawn": "^4.0.0", | ||
"highlight.js": "^9.4.0", | ||
"html-entities": "^1.2.0", | ||
"striptags": "^2.1.1" | ||
"cross-spawn": "^4.0.2", | ||
"highlight.js": "^9.12.0", | ||
"html-entities": "^1.2.1", | ||
"striptags": "^2.2.1" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
39218
26
638
0
0
Updatedbluebird@^3.5.1
Updatedcross-spawn@^4.0.2
Updatedhighlight.js@^9.12.0
Updatedhtml-entities@^1.2.1
Updatedstriptags@^2.2.1