monocart-coverage-reports
Advanced tools
Comparing version 2.9.0 to 2.9.1
@@ -6,6 +6,4 @@ #!/usr/bin/env node | ||
const { | ||
foregroundChild, | ||
program | ||
} = require('./packages/monocart-coverage-cli.js'); | ||
const { program } = require('commander'); | ||
const { foregroundChild } = require('foreground-child'); | ||
@@ -12,0 +10,0 @@ const MCR = require('./index.js'); |
@@ -1,4 +0,4 @@ | ||
const { | ||
acorn, acornLoose, parseCss | ||
} = require('../packages/monocart-coverage-vendor.js'); | ||
const acorn = require('acorn'); | ||
const acornLoose = require('acorn-loose'); | ||
const { parseCss } = require('../packages/monocart-coverage-vendor.js'); | ||
const Util = require('../utils/util.js'); | ||
@@ -5,0 +5,0 @@ |
@@ -20,4 +20,6 @@ /** | ||
const { getSourceType, initSourceMapSourcesPath } = require('../utils/source-path.js'); | ||
const { decode, minimatch } = require('../packages/monocart-coverage-vendor.js'); | ||
const { decode } = require('@jridgewell/sourcemap-codec'); | ||
const { minimatch } = require('minimatch'); | ||
const InfoBranch = require('./info-branch.js'); | ||
@@ -24,0 +26,0 @@ const InfoFunction = require('./info-function.js'); |
@@ -1,2 +0,2 @@ | ||
const { diff } = require('../packages/monocart-coverage-vendor'); | ||
const diffSequence = require('diff-sequences').default; | ||
const Util = require('../utils/util.js'); | ||
@@ -82,3 +82,3 @@ const EC = Util.EC; | ||
const commonItems = []; | ||
diff(gl.length, ol.length, (gi, oi) => { | ||
diffSequence(gl.length, ol.length, (gi, oi) => { | ||
return gl[gi].value === ol[oi].value; | ||
@@ -85,0 +85,0 @@ }, (len, gi, oi) => { |
@@ -17,3 +17,3 @@ const fs = require('fs'); | ||
const { minimatch } = require('./packages/monocart-coverage-vendor.js'); | ||
const { minimatch } = require('minimatch'); | ||
const { getGroupedRows } = require('./utils/snapshot.js'); | ||
@@ -20,0 +20,0 @@ const generateMarkdownGrid = require('./utils/markdown.js'); |
@@ -13,6 +13,6 @@ const fs = require('fs'); | ||
const { | ||
acornWalk, findUpSync, supportsColor | ||
} = require('../packages/monocart-coverage-vendor.js'); | ||
const acornWalk = require('acorn-walk'); | ||
const { findUpSync, supportsColor } = require('../packages/monocart-coverage-vendor.js'); | ||
// https://github.com/chalk/supports-color | ||
@@ -19,0 +19,0 @@ // disabled color if Terminal stdout does not support color |
const path = require('path'); | ||
const EC = require('eight-colors'); | ||
const { minimatch } = require('minimatch'); | ||
const { mergeScriptCovs } = require('@bcoe/v8-coverage'); | ||
const Util = require('../utils/util.js'); | ||
@@ -9,3 +12,2 @@ const { getV8Summary } = require('./v8-summary.js'); | ||
} = require('../utils/source-path.js'); | ||
const { mergeScriptCovs, minimatch } = require('../packages/monocart-coverage-vendor.js'); | ||
const { collectSourceMaps } = require('../converter/collect-source-maps.js'); | ||
@@ -12,0 +14,0 @@ const version = require('../../package.json').version; |
{ | ||
"name": "monocart-coverage-reports", | ||
"version": "2.9.0", | ||
"version": "2.9.1", | ||
"description": "A code coverage tool to generate native V8 reports or Istanbul reports.", | ||
@@ -77,4 +77,12 @@ "main": "./lib/index.js", | ||
"dependencies": { | ||
"@bcoe/v8-coverage": "^0.2.3", | ||
"@jridgewell/sourcemap-codec": "^1.4.15", | ||
"acorn": "^8.12.1", | ||
"acorn-loose": "^8.4.0", | ||
"acorn-walk": "^8.3.3", | ||
"commander": "^12.1.0", | ||
"console-grid": "^2.2.2", | ||
"diff-sequences": "^29.6.3", | ||
"eight-colors": "^1.3.0", | ||
"foreground-child": "^3.2.1", | ||
"istanbul-lib-coverage": "^3.2.2", | ||
@@ -84,2 +92,3 @@ "istanbul-lib-report": "^3.0.1", | ||
"lz-utils": "^2.0.2", | ||
"minimatch": "^9.0.5", | ||
"monocart-code-viewer": "^1.1.4", | ||
@@ -91,3 +100,2 @@ "monocart-formatter": "^3.0.0", | ||
"devDependencies": { | ||
"commander": "^12.1.0", | ||
"esbuild": "^0.23.0", | ||
@@ -99,4 +107,3 @@ "eslint": "~9.6.0", | ||
"find-up": "^7.0.0", | ||
"minimatch": "^9.0.5", | ||
"starfall-cli": "^2.0.19", | ||
"starfall-cli": "^2.0.20", | ||
"stylelint": "^16.6.1", | ||
@@ -106,4 +113,4 @@ "stylelint-config-plus": "^1.1.2", | ||
"tsx": "^4.16.2", | ||
"ws": "^8.17.1" | ||
"ws": "^8.18.0" | ||
} | ||
} |
@@ -1024,4 +1024,5 @@ # Monocart Coverage Reports | ||
- name: Codecov | ||
uses: codecov/codecov-action@v3 | ||
uses: codecov/codecov-action@v4 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
files: ./coverage-reports/codecov.json | ||
@@ -1028,0 +1029,0 @@ ``` |
@@ -1028,4 +1028,5 @@ # Monocart Coverage Reports | ||
- name: Codecov | ||
uses: codecov/codecov-action@v3 | ||
uses: codecov/codecov-action@v4 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
files: ./coverage-reports/codecov.json | ||
@@ -1032,0 +1033,0 @@ ``` |
Sorry, the diff of this file is too big to display
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
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
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
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 5 instances in 1 package
High entropy strings
Supply chain riskContains high entropy strings. This could be a sign of encrypted data, leaked secrets or obfuscated code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
12
3
1110
31
10
1
693824
19
41
8785
+ Added@bcoe/v8-coverage@^0.2.3
+ Addedacorn@^8.12.1
+ Addedacorn-loose@^8.4.0
+ Addedacorn-walk@^8.3.3
+ Addedcommander@^12.1.0
+ Addeddiff-sequences@^29.6.3
+ Addedforeground-child@^3.2.1
+ Addedminimatch@^9.0.5
+ Added@bcoe/v8-coverage@0.2.3(transitive)
+ Added@jridgewell/sourcemap-codec@1.5.0(transitive)
+ Addedacorn@8.14.0(transitive)
+ Addedacorn-loose@8.4.0(transitive)
+ Addedacorn-walk@8.3.4(transitive)
+ Addedbalanced-match@1.0.2(transitive)
+ Addedbrace-expansion@2.0.1(transitive)
+ Addedcommander@12.1.0(transitive)
+ Addedcross-spawn@7.0.6(transitive)
+ Addeddiff-sequences@29.6.3(transitive)
+ Addedforeground-child@3.3.0(transitive)
+ Addedisexe@2.0.0(transitive)
+ Addedminimatch@9.0.5(transitive)
+ Addedpath-key@3.1.1(transitive)
+ Addedshebang-command@2.0.0(transitive)
+ Addedshebang-regex@3.0.0(transitive)
+ Addedsignal-exit@4.1.0(transitive)
+ Addedwhich@2.0.2(transitive)