jsdoc3 3.6.2
Closes #39741. Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
parent
98da80492e
commit
be93ea1065
1 changed files with 3 additions and 6 deletions
|
@ -2,9 +2,9 @@ require "language/node"
|
|||
|
||||
class Jsdoc3 < Formula
|
||||
desc "API documentation generator for JavaScript"
|
||||
homepage "http://usejsdoc.org/"
|
||||
url "https://registry.npmjs.org/jsdoc/-/jsdoc-3.5.5.tgz"
|
||||
sha256 "f80dd27d77c4b6110cc4c548c2c026eee7df6c86df2bb047e2a6c30594bba088"
|
||||
homepage "https://jsdoc.app/"
|
||||
url "https://registry.npmjs.org/jsdoc/-/jsdoc-3.6.2.tgz"
|
||||
sha256 "8fcb467c7095e9b2dc5771212ffd98978cf54c355ea8b60ac28db7eb73b1de3a"
|
||||
head "https://github.com/jsdoc3/jsdoc.git"
|
||||
|
||||
bottle do
|
||||
|
@ -19,9 +19,6 @@ class Jsdoc3 < Formula
|
|||
|
||||
def install
|
||||
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/*"]
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue