mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-10-07 08:09:39 +02:00
Removed filelog as it causes a security warning
This commit is contained in:
14
gulpfile.js
14
gulpfile.js
@@ -1,10 +1,20 @@
|
||||
import gulp from 'gulp'
|
||||
import jison from 'gulp-jison'
|
||||
import filelog from 'gulp-filelog'
|
||||
import print from 'gulp-print'
|
||||
// const es = require('event-stream')
|
||||
|
||||
const logFile = function (es) {
|
||||
return es.map(function (file, cb) {
|
||||
log(file.path)
|
||||
return cb()
|
||||
})
|
||||
}
|
||||
|
||||
gulp.task('jison', function () {
|
||||
return gulp.src('./src/**/*.jison')
|
||||
.pipe(filelog('Jison file:'))
|
||||
// .pipe(filelog('Jison file:'))
|
||||
// .pipe(logFile(es))
|
||||
.pipe(print())
|
||||
.pipe(jison({ 'token-stack': true }))
|
||||
.pipe(gulp.dest('./src/'))
|
||||
})
|
||||
|
@@ -46,10 +46,11 @@
|
||||
"dagre-d3-renderer": "^0.5.8",
|
||||
"dagre-layout": "^0.8.8",
|
||||
"graphlibrary": "^2.2.0",
|
||||
"gulp-print": "^5.0.2",
|
||||
"he": "^1.2.0",
|
||||
"moment-mini": "^2.22.1",
|
||||
"lodash": "^4.17.11",
|
||||
"minify": "^4.1.1",
|
||||
"moment-mini": "^2.22.1",
|
||||
"scope-css": "^1.2.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
@@ -63,7 +64,6 @@
|
||||
"css-loader": "^2.0.1",
|
||||
"css-to-string-loader": "^0.1.3",
|
||||
"gulp": "^4.0.0",
|
||||
"gulp-filelog": "^0.4.1",
|
||||
"gulp-jison": "^1.2.0",
|
||||
"husky": "^1.2.1",
|
||||
"identity-obj-proxy": "^3.0.0",
|
||||
@@ -91,4 +91,4 @@
|
||||
"babel-core"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
48
yarn.lock
48
yarn.lock
@@ -889,7 +889,7 @@ ansi-colors@^1.0.1:
|
||||
dependencies:
|
||||
ansi-wrap "^0.1.0"
|
||||
|
||||
ansi-colors@^3.0.0:
|
||||
ansi-colors@^3.0.0, ansi-colors@^3.2.4:
|
||||
version "3.2.4"
|
||||
resolved "https://registry.yarnpkg.com/ansi-colors/-/ansi-colors-3.2.4.tgz#e3a3da4bfbae6c86a9c285625de124a234026fbf"
|
||||
integrity sha512-hHUXGagefjN2iRrID63xckIvotOXOojhQKWIPUZ4mNUZ9nLZW+7FMNoE1lOkEhNWYsx/7ysGIuJYCiMAA9FnrA==
|
||||
@@ -3705,7 +3705,7 @@ fancy-log@^1.1.0:
|
||||
chalk "^1.1.1"
|
||||
time-stamp "^1.0.0"
|
||||
|
||||
fancy-log@^1.3.2:
|
||||
fancy-log@^1.3.2, fancy-log@^1.3.3:
|
||||
version "1.3.3"
|
||||
resolved "https://registry.yarnpkg.com/fancy-log/-/fancy-log-1.3.3.tgz#dbc19154f558690150a23953a0adbd035be45fc7"
|
||||
integrity sha512-k9oEhlyc0FrVh25qYuSELjr8oxsCoc4/LEZfg2iJJrfEk/tZL9bCoJE47gqAvI2m/AUjluCS4+3I0eTx8n3AEw==
|
||||
@@ -4382,14 +4382,6 @@ gulp-cli@^2.0.0:
|
||||
v8flags "^3.0.1"
|
||||
yargs "^7.1.0"
|
||||
|
||||
gulp-filelog@^0.4.1:
|
||||
version "0.4.1"
|
||||
resolved "https://registry.yarnpkg.com/gulp-filelog/-/gulp-filelog-0.4.1.tgz#bbfa62f45fd1fca8a046b1dc96e4e03c87a96392"
|
||||
integrity sha1-u/pi9F/R/KigRrHcluTgPIepY5I=
|
||||
dependencies:
|
||||
gulp-util "~3.0.1"
|
||||
through2 "*"
|
||||
|
||||
gulp-jison@^1.2.0:
|
||||
version "1.2.0"
|
||||
resolved "https://registry.yarnpkg.com/gulp-jison/-/gulp-jison-1.2.0.tgz#3a81fdb5c58d40709578dc08183fa38a4112aa49"
|
||||
@@ -4399,7 +4391,17 @@ gulp-jison@^1.2.0:
|
||||
jison "~0.4.15"
|
||||
through2 "~0.6.3"
|
||||
|
||||
gulp-util@~3.0.1, gulp-util@~3.0.4:
|
||||
gulp-print@^5.0.2:
|
||||
version "5.0.2"
|
||||
resolved "https://registry.yarnpkg.com/gulp-print/-/gulp-print-5.0.2.tgz#8f379148218d2e168461baa74352e11d1bf7aa75"
|
||||
integrity sha512-iIpHMzC/b3gFvVXOfP9Jk94SWGIsDLVNUrxULRleQev+08ug07mh84b1AOlW6QDQdmInQiqDFqJN1UvhU2nXdg==
|
||||
dependencies:
|
||||
ansi-colors "^3.2.4"
|
||||
fancy-log "^1.3.3"
|
||||
map-stream "0.0.7"
|
||||
vinyl "^2.2.0"
|
||||
|
||||
gulp-util@~3.0.4:
|
||||
version "3.0.8"
|
||||
resolved "https://registry.yarnpkg.com/gulp-util/-/gulp-util-3.0.8.tgz#0054e1e744502e27c04c187c3ecc505dd54bbb4f"
|
||||
integrity sha1-AFTh50RQLifATBh8PsxQXdVLu08=
|
||||
@@ -6398,6 +6400,11 @@ map-obj@^1.0.0, map-obj@^1.0.1:
|
||||
resolved "https://registry.yarnpkg.com/map-obj/-/map-obj-1.0.1.tgz#d933ceb9205d82bdcf4886f6742bdc2b4dea146d"
|
||||
integrity sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0=
|
||||
|
||||
map-stream@0.0.7:
|
||||
version "0.0.7"
|
||||
resolved "https://registry.yarnpkg.com/map-stream/-/map-stream-0.0.7.tgz#8a1f07896d82b10926bd3744a2420009f88974a8"
|
||||
integrity sha1-ih8HiW2CsQkmvTdEokIACfiJdKg=
|
||||
|
||||
map-visit@^1.0.0:
|
||||
version "1.0.0"
|
||||
resolved "https://registry.yarnpkg.com/map-visit/-/map-visit-1.0.0.tgz#ecdca8f13144e660f1b5bd41f12f3479d98dfb8f"
|
||||
@@ -8024,15 +8031,6 @@ read-pkg@^4.0.1:
|
||||
string_decoder "~1.1.1"
|
||||
util-deprecate "~1.0.1"
|
||||
|
||||
"readable-stream@2 || 3":
|
||||
version "3.1.0"
|
||||
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.1.0.tgz#19c2e9c1ce43507c53f6eefbcf1ee3d4aaa786f5"
|
||||
integrity sha512-vpydAvIJvPODZNagCPuHG87O9JNPtvFEtjHHRVwNVsVVRBqemvPJkc2SYbxJsiZXawJdtZNmkmnsPuE3IgsG0A==
|
||||
dependencies:
|
||||
inherits "^2.0.3"
|
||||
string_decoder "^1.1.1"
|
||||
util-deprecate "^1.0.1"
|
||||
|
||||
"readable-stream@>=1.0.33-1 <1.1.0-0":
|
||||
version "1.0.34"
|
||||
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-1.0.34.tgz#125820e34bc842d2f2aaafafe4c2916ee32c157c"
|
||||
@@ -9396,14 +9394,6 @@ through2-filter@^2.0.0:
|
||||
through2 "~2.0.0"
|
||||
xtend "~4.0.0"
|
||||
|
||||
through2@*:
|
||||
version "3.0.0"
|
||||
resolved "https://registry.yarnpkg.com/through2/-/through2-3.0.0.tgz#468b461df9cd9fcc170f22ebf6852e467e578ff2"
|
||||
integrity sha512-8B+sevlqP4OiCjonI1Zw03Sf8PuV1eRsYQgLad5eonILOdyeRsY27A/2Ze8IlvlMvq31OH+3fz/styI7Ya62yQ==
|
||||
dependencies:
|
||||
readable-stream "2 || 3"
|
||||
xtend "~4.0.1"
|
||||
|
||||
through2@^2.0.0:
|
||||
version "2.0.3"
|
||||
resolved "https://registry.yarnpkg.com/through2/-/through2-2.0.3.tgz#0004569b37c7c74ba39c43f3ced78d1ad94140be"
|
||||
@@ -9915,7 +9905,7 @@ vinyl@^0.5.0:
|
||||
clone-stats "^0.0.1"
|
||||
replace-ext "0.0.1"
|
||||
|
||||
vinyl@^2.0.0:
|
||||
vinyl@^2.0.0, vinyl@^2.2.0:
|
||||
version "2.2.0"
|
||||
resolved "https://registry.yarnpkg.com/vinyl/-/vinyl-2.2.0.tgz#d85b07da96e458d25b2ffe19fece9f2caa13ed86"
|
||||
integrity sha512-MBH+yP0kC/GQ5GwBqrTPTzEfiiLjta7hTtvQtbxBgTeSXsmKQRQecjibMbxIXzVT3Y9KJK+drOz1/k+vsu8Nkg==
|
||||
|
Reference in New Issue
Block a user