jsdoc3 3.6.2

Closes #39741.

Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
Christian Moritz 2019-05-13 01:30:17 +02:00 committed by FX Coudert
parent 98da80492e
commit be93ea1065

View file

@ -2,9 +2,9 @@ require "language/node"
class Jsdoc3 < Formula class Jsdoc3 < Formula
desc "API documentation generator for JavaScript" desc "API documentation generator for JavaScript"
homepage "http://usejsdoc.org/" homepage "https://jsdoc.app/"
url "https://registry.npmjs.org/jsdoc/-/jsdoc-3.5.5.tgz" url "https://registry.npmjs.org/jsdoc/-/jsdoc-3.6.2.tgz"
sha256 "f80dd27d77c4b6110cc4c548c2c026eee7df6c86df2bb047e2a6c30594bba088" sha256 "8fcb467c7095e9b2dc5771212ffd98978cf54c355ea8b60ac28db7eb73b1de3a"
head "https://github.com/jsdoc3/jsdoc.git" head "https://github.com/jsdoc3/jsdoc.git"
bottle do bottle do
@ -19,9 +19,6 @@ class Jsdoc3 < Formula
def install def install
system "npm", "install", *Language::Node.std_npm_install_args(libexec) system "npm", "install", *Language::Node.std_npm_install_args(libexec)
inreplace libexec/"lib/node_modules/jsdoc/node_modules/requizzle/lib/requizzle.js",
"if (lookupPaths[0] === targetPath && lookupPaths[1].length === 0) {",
"if (lookupPaths == null || lookupPaths[0] === targetPath && lookupPaths[1].length === 0) {"
bin.install_symlink Dir["#{libexec}/bin/*"] bin.install_symlink Dir["#{libexec}/bin/*"]
end end