Gathering detailed insights and metrics for @userfrosting/ts-log-adapter-gulplog
Gathering detailed insights and metrics for @userfrosting/ts-log-adapter-gulplog
Gathering detailed insights and metrics for @userfrosting/ts-log-adapter-gulplog
Gathering detailed insights and metrics for @userfrosting/ts-log-adapter-gulplog
npm install @userfrosting/ts-log-adapter-gulplog
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
1,210 Commits
3 Watching
2 Branches
3 Contributors
Updated on 25 Nov 2024
TypeScript (100%)
Cumulative downloads
Total Downloads
Last day
0%
2
Compared to previous day
Last week
-2.9%
33
Compared to previous week
Last month
-4.3%
134
Compared to previous month
Last year
-80.6%
2,142
Compared to previous year
Branch | Status |
---|---|
master |
An adapter for the ts-log interface that pushes logging to gulplog.
Before being passed to gulplog
, the message optional arguments will be processed to ensure proper logging. The trace
log level does not map across and will be directed to GulpLog.debug
with TRACE:
prefixed to logging.
1npm i -D @userfrosting/ts-log-adapter-gulplog
1// gulpfile.mjs 2import { GulpLogLogger } from "@userfrosting/ts-log-adapter-gulplog"; 3import { src, dest } from "gulp"; 4import AssetBundler from "@userfrosting/gulp-bundle-assets"; 5import cleanCss from "gulp-clean-css"; 6import concatCss from "gulp-concat-css"; 7import concatJs from "gulp-concat-js"; 8import uglify from "gulp-uglify"; 9 10export function bundle() { 11 const config = { 12 bundle: { 13 example: { 14 scripts: [ 15 "foo.js", 16 "bar.js" 17 ], 18 styles: [ 19 "foo.css", 20 "bar.css" 21 ] 22 } 23 }, 24 logger: new GulpLogLogger(), 25 }; 26 const joiner = { 27 Scripts(bundleStream, name) { 28 return bundleStream 29 .pipe(concatJs(name + ".js"))// example.js 30 .pipe(uglify()); 31 }, 32 Styles(bundleStream, name) { 33 return bundleStream 34 .pipe(concatCss(name + ".css"))// example.css 35 .pipe(cleanCss()); 36 } 37 }; 38 39 return src("src/**") 40 .pipe(new AssetBundler(config, joiner)) 41 .pipe(dest("public/assets/")); 42}
1$ gulp bundle
See docs/api.
See CONTRIBUTING.md.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
security policy file detected
Details
Reason
1 existing vulnerabilities detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 2
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2024-11-18
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More