mutation-testing-report-schema
Advanced tools
| export * from '../src-generated/schema.js'; | ||
| type SchemaType = typeof import('./mutation-testing-report-schema.json'); | ||
| export declare const schema: SchemaType; | ||
| import schema from './mutation-testing-report-schema.json'; | ||
| export type SchemaType = typeof schema; | ||
| export { schema }; | ||
| //# sourceMappingURL=index.d.ts.map |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC;AAI3C,KAAK,UAAU,GAAG,cAAc,uCAAuC,CAAC,CAAC;AAEzE,eAAO,MAAM,MAAM,EAAE,UAAoH,CAAC"} | ||
| {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC;AAE3C,OAAO,MAAM,MAAM,uCAAuC,CAAuB;AAEjF,MAAM,MAAM,UAAU,GAAG,OAAO,MAAM,CAAC;AAEvC,OAAO,EAAE,MAAM,EAAE,CAAC"} |
| export * from '../src-generated/schema.js'; | ||
| import fs from 'fs'; | ||
| export const schema = JSON.parse(fs.readFileSync(new URL('./mutation-testing-report-schema.json', import.meta.url), 'utf-8')); | ||
| import schema from './mutation-testing-report-schema.json' with { type: 'json' }; | ||
| export { schema }; | ||
| //# sourceMappingURL=index.js.map |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC;AAC3C,OAAO,EAAE,MAAM,IAAI,CAAC;AAKpB,MAAM,CAAC,MAAM,MAAM,GAAe,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,IAAI,GAAG,CAAC,uCAAuC,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC"} | ||
| {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC;AAE3C,OAAO,MAAM,MAAM,uCAAuC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAIjF,OAAO,EAAE,MAAM,EAAE,CAAC"} |
+4
-12
| { | ||
| "name": "mutation-testing-report-schema", | ||
| "version": "3.5.1", | ||
| "version": "3.7.0", | ||
| "description": "The json schema for a mutation testing report.", | ||
| "main": "dist/src/index.js", | ||
| "type": "module", | ||
| "typings": "dist/src/index.d.ts", | ||
| "exports": { | ||
@@ -13,9 +12,2 @@ ".": "./dist/src/index.js", | ||
| }, | ||
| "typesVersions": { | ||
| "*": { | ||
| "api": [ | ||
| "dist/src-generated/schema.d.ts" | ||
| ] | ||
| } | ||
| }, | ||
| "nx": { | ||
@@ -25,3 +17,3 @@ "name": "report-schema" | ||
| "scripts": { | ||
| "test": "mocha --node-option \"enable-source-maps\" --forbid-only --forbid-pending dist/test/**/*.js", | ||
| "test": "mocha --node-option \"enable-source-maps\" --forbid-only --forbid-pending --retries 2 dist/test/**/*.js", | ||
| "postpublish": "PUBLISH_SCHEMA=true ../metrics-scala/npmProjPublish.sh", | ||
@@ -43,5 +35,5 @@ "generate": "node ../../tasks/schema2ts.mjs src/mutation-testing-report-schema.json src-generated/schema.ts", | ||
| "ajv": "8.17.1", | ||
| "eslint-config-mte": "*" | ||
| "eslint-config-mte": "3.7.0" | ||
| }, | ||
| "gitHead": "ec7d80abbde8f29147da2eccd6e4bdc1085c9c72" | ||
| "gitHead": "22a0cd186ad483c7d2aba9f065776bf78933f9dd" | ||
| } |
+4
-4
| export * from '../src-generated/schema.js'; | ||
| import fs from 'fs'; | ||
| // eslint-disable-next-line @typescript-eslint/consistent-type-imports | ||
| type SchemaType = typeof import('./mutation-testing-report-schema.json'); | ||
| import schema from './mutation-testing-report-schema.json' with { type: 'json' }; | ||
| export const schema: SchemaType = JSON.parse(fs.readFileSync(new URL('./mutation-testing-report-schema.json', import.meta.url), 'utf-8')); | ||
| export type SchemaType = typeof schema; | ||
| export { schema }; |
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
0
-100%61473
-0.64%