=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== node-schema-utils-3.0.0/README.md-176- if (error.keyword === 'type') { node-schema-utils-3.0.0/README.md:177: return `${formattedError}\nAdditional Information.`; node-schema-utils-3.0.0/README.md-178- } ############################################## node-schema-utils-3.0.0/src/ValidationError.js-184-function indent(str, prefix) { node-schema-utils-3.0.0/src/ValidationError.js:185: return str.replace(/\n(?!$)/g, `\n${prefix}`); node-schema-utils-3.0.0/src/ValidationError.js-186-} ############################################## node-schema-utils-3.0.0/src/ValidationError.js-375-function formatHints(hints) { node-schema-utils-3.0.0/src/ValidationError.js:376: return hints.length > 0 ? `(${hints.join(', ')})` : ''; node-schema-utils-3.0.0/src/ValidationError.js-377-} ############################################## node-schema-utils-3.0.0/src/ValidationError.js-442- /** @type {string} */ node-schema-utils-3.0.0/src/ValidationError.js:443: this.message = `${header}${this.formatValidationErrors(errors)}`; node-schema-utils-3.0.0/src/ValidationError.js-444- ############################################## node-schema-utils-3.0.0/src/ValidationError.js-572- node-schema-utils-3.0.0/src/ValidationError.js:573: return `${ifValue ? `if ${formatInnerSchema(ifValue)}` : ''}${ node-schema-utils-3.0.0/src/ValidationError.js:574: thenValue ? ` then ${formatInnerSchema(thenValue)}` : '' node-schema-utils-3.0.0/src/ValidationError.js:575: }${elseValue ? ` else ${formatInnerSchema(elseValue)}` : ''}`; node-schema-utils-3.0.0/src/ValidationError.js-576- } ############################################## node-schema-utils-3.0.0/src/ValidationError.js-583- const [type, ...hints] = getHints(schema, logic); node-schema-utils-3.0.0/src/ValidationError.js:584: const str = `${type}${hints.length > 0 ? ` ${formatHints(hints)}` : ''}`; node-schema-utils-3.0.0/src/ValidationError.js-585- ############################################## node-schema-utils-3.0.0/src/ValidationError.js-588- : hints.length > 0 node-schema-utils-3.0.0/src/ValidationError.js:589: ? `non-${type} | ${str}` node-schema-utils-3.0.0/src/ValidationError.js:590: : `non-${type}`; node-schema-utils-3.0.0/src/ValidationError.js-591- } ############################################## node-schema-utils-3.0.0/src/ValidationError.js-594- const [type, ...hints] = getHints(schema, logic); node-schema-utils-3.0.0/src/ValidationError.js:595: const str = `${type}${hints.length > 0 ? ` ${formatHints(hints)}` : ''}`; node-schema-utils-3.0.0/src/ValidationError.js-596- ############################################## node-schema-utils-3.0.0/src/ValidationError.js-600- ? 'non-string' node-schema-utils-3.0.0/src/ValidationError.js:601: : `non-string | ${str}`; node-schema-utils-3.0.0/src/ValidationError.js-602- } ############################################## node-schema-utils-3.0.0/src/ValidationError.js-604- if (likeBoolean(schema)) { node-schema-utils-3.0.0/src/ValidationError.js:605: return `${logic ? '' : 'non-'}boolean`; node-schema-utils-3.0.0/src/ValidationError.js-606- } ############################################## node-schema-utils-3.0.0/src/ValidationError.js-660- // "additionalItems" is ignored node-schema-utils-3.0.0/src/ValidationError.js:661: items = `${formatInnerSchema(schema.items)}`; node-schema-utils-3.0.0/src/ValidationError.js-662- } else { ############################################## node-schema-utils-3.0.0/src/ValidationError.js-679- return `[${items}${hasAdditionalItems ? ', ...' : ''}]${ node-schema-utils-3.0.0/src/ValidationError.js:680: hints.length > 0 ? ` (${hints.join(', ')})` : '' node-schema-utils-3.0.0/src/ValidationError.js-681- }`; ############################################## node-schema-utils-3.0.0/src/ValidationError.js-737- // Maybe we should output type of property (`foo: string`), but it is looks very unreadable node-schema-utils-3.0.0/src/ValidationError.js:738: return `${property}${isRequired ? '' : '?'}`; node-schema-utils-3.0.0/src/ValidationError.js-739- }) ############################################## node-schema-utils-3.0.0/src/ValidationError.js-744- isObject(schema.additionalProperties) node-schema-utils-3.0.0/src/ValidationError.js:745: ? [`<key>: ${formatInnerSchema(schema.additionalProperties)}`] node-schema-utils-3.0.0/src/ValidationError.js-746- : ['…'] ############################################## node-schema-utils-3.0.0/src/ValidationError.js-765- } ${dependency node-schema-utils-3.0.0/src/ValidationError.js:766: .map((dep) => `'${dep}'`) node-schema-utils-3.0.0/src/ValidationError.js-767- .join(', ')} when property '${dependencyName}' is present` ############################################## node-schema-utils-3.0.0/src/ValidationError.js-798- node-schema-utils-3.0.0/src/ValidationError.js:799: return `object {${objectStructure ? ` ${objectStructure} ` : ''}}${ node-schema-utils-3.0.0/src/ValidationError.js:800: hints.length > 0 ? ` (${hints.join(', ')})` : '' node-schema-utils-3.0.0/src/ValidationError.js-801- }`; ############################################## node-schema-utils-3.0.0/src/ValidationError.js-804- if (likeNull(schema)) { node-schema-utils-3.0.0/src/ValidationError.js:805: return `${logic ? '' : 'non-'}null`; node-schema-utils-3.0.0/src/ValidationError.js-806- } ############################################## node-schema-utils-3.0.0/src/ValidationError.js-809- // not logic already applied in formatValidationError node-schema-utils-3.0.0/src/ValidationError.js:810: return `${schema.type.join(' | ')}`; node-schema-utils-3.0.0/src/ValidationError.js-811- } ############################################## node-schema-utils-3.0.0/src/ValidationError.js-855- if (schemaPart.description) { node-schema-utils-3.0.0/src/ValidationError.js:856: schemaText += `\n-> ${schemaPart.description}`; node-schema-utils-3.0.0/src/ValidationError.js-857- } ############################################## node-schema-utils-3.0.0/src/ValidationError.js-876- if (schemaPart.description) { node-schema-utils-3.0.0/src/ValidationError.js:877: return `\n-> ${schemaPart.description}`; node-schema-utils-3.0.0/src/ValidationError.js-878- } ############################################## node-schema-utils-3.0.0/src/ValidationError.js-888- const { keyword, dataPath: errorDataPath } = error; node-schema-utils-3.0.0/src/ValidationError.js:889: const dataPath = `${this.baseDataPath}${errorDataPath}`; node-schema-utils-3.0.0/src/ValidationError.js-890- ############################################## node-schema-utils-3.0.0/src/ValidationError.js-998- if (hints.length === 0) { node-schema-utils-3.0.0/src/ValidationError.js:999: hints.push(`should be ${comparison} ${limit}`); node-schema-utils-3.0.0/src/ValidationError.js-1000- } ############################################## node-schema-utils-3.0.0/src/ValidationError.js-1178- */ node-schema-utils-3.0.0/src/ValidationError.js:1179: (dep) => `'${dep.trim()}'` node-schema-utils-3.0.0/src/ValidationError.js-1180- ) ############################################## node-schema-utils-3.0.0/src/ValidationError.js-1230- const postfix = likeObject(/** @type {Schema} */ (error.parentSchema)) node-schema-utils-3.0.0/src/ValidationError.js:1231: ? `\n${this.getSchemaPartText(error.parentSchema)}` node-schema-utils-3.0.0/src/ValidationError.js-1232- : ''; ############################################## node-schema-utils-3.0.0/src/ValidationError.js-1240- if (canApplyNot(error.schema)) { node-schema-utils-3.0.0/src/ValidationError.js:1241: return `${dataPath} should be any ${schemaOutput}${postfix}.`; node-schema-utils-3.0.0/src/ValidationError.js-1242- } ############################################## node-schema-utils-3.0.0/src/ValidationError.js-1251- parentSchema && likeObject(parentSchema) node-schema-utils-3.0.0/src/ValidationError.js:1252: ? `\n${this.getSchemaPartText(parentSchema)}` node-schema-utils-3.0.0/src/ValidationError.js-1253- : '' ############################################## node-schema-utils-3.0.0/src/ValidationError.js-1293- (nestedError) => node-schema-utils-3.0.0/src/ValidationError.js:1294: ` * ${indent(this.formatValidationError(nestedError), ' ')}` node-schema-utils-3.0.0/src/ValidationError.js-1295- ) ############################################## node-schema-utils-3.0.0/src/ValidationError.js-1325- node-schema-utils-3.0.0/src/ValidationError.js:1326: // For `custom`, `false schema`, `$ref` keywords node-schema-utils-3.0.0/src/ValidationError.js-1327- // Fallback for unknown keywords ############################################## node-schema-utils-3.0.0/src/ValidationError.js-1348- node-schema-utils-3.0.0/src/ValidationError.js:1349: return ` - ${indent(formattedError, ' ')}`; node-schema-utils-3.0.0/src/ValidationError.js-1350- }) ############################################## node-schema-utils-3.0.0/src/keywords/absolutePath.js-33- const message = shouldBeAbsolute node-schema-utils-3.0.0/src/keywords/absolutePath.js:34: ? `The provided value ${JSON.stringify(data)} is not an absolute path!` node-schema-utils-3.0.0/src/keywords/absolutePath.js-35- : `A relative path is expected. However, the provided value ${JSON.stringify( ############################################## node-schema-utils-3.0.0/src/util/Range.js-35- node-schema-utils-3.0.0/src/util/Range.js:36: return `should be ${Range.getOperator('right', exclusive)} ${value}`; node-schema-utils-3.0.0/src/util/Range.js-37- } ############################################## node-schema-utils-3.0.0/src/util/Range.js-49- node-schema-utils-3.0.0/src/util/Range.js:50: return `should be ${Range.getOperator('left', exclusive)} ${value}`; node-schema-utils-3.0.0/src/util/Range.js-51- } ############################################## node-schema-utils-3.0.0/src/util/Range.js-144- if (realStart === realEnd) { node-schema-utils-3.0.0/src/util/Range.js:145: return `should be ${logic ? '' : '!'}= ${realStart}`; node-schema-utils-3.0.0/src/util/Range.js-146- } ############################################## node-schema-utils-3.0.0/src/util/hints.js-33- hints.push( node-schema-utils-3.0.0/src/util/hints.js:34: `should be longer than ${length} character${length > 1 ? 's' : ''}` node-schema-utils-3.0.0/src/util/hints.js-35- ); ############################################## node-schema-utils-3.0.0/src/util/hints.js-44- hints.push( node-schema-utils-3.0.0/src/util/hints.js:45: `should be shorter than ${length} character${length > 1 ? 's' : ''}` node-schema-utils-3.0.0/src/util/hints.js-46- ); ############################################## node-schema-utils-3.0.0/src/util/hints.js-117- hints.push( node-schema-utils-3.0.0/src/util/hints.js:118: `should${logic ? '' : ' not'} be multiple of ${schema.multipleOf}` node-schema-utils-3.0.0/src/util/hints.js-119- ); ############################################## node-schema-utils-3.0.0/src/validate.js-76- // eslint-disable-next-line no-param-reassign node-schema-utils-3.0.0/src/validate.js:77: error.dataPath = `[${idx}]${error.dataPath}`; node-schema-utils-3.0.0/src/validate.js-78- ############################################## node-schema-utils-3.0.0/test/__snapshots__/index.test.js.snap-8- node-schema-utils-3.0.0/test/__snapshots__/index.test.js.snap:9:exports[`Validation should fail validation for $data #2 1`] = ` node-schema-utils-3.0.0/test/__snapshots__/index.test.js.snap-10-"Invalid configuration object. Object has been initialized using a configuration object that does not match the API schema. ############################################## node-schema-utils-3.0.0/test/__snapshots__/index.test.js.snap-13- node-schema-utils-3.0.0/test/__snapshots__/index.test.js.snap:14:exports[`Validation should fail validation for $data 1`] = ` node-schema-utils-3.0.0/test/__snapshots__/index.test.js.snap-15-"Invalid configuration object. Object has been initialized using a configuration object that does not match the API schema. ############################################## node-schema-utils-3.0.0/test/fixtures/schema.json-491- "checkWasmTypes": { node-schema-utils-3.0.0/test/fixtures/schema.json:492: "description": "Check for incompatible wasm types when importing/exporting from/to ESM", node-schema-utils-3.0.0/test/fixtures/schema.json-493- "type": "boolean" ############################################## node-schema-utils-3.0.0/test/fixtures/schema.json-511- "mangleWasmImports": { node-schema-utils-3.0.0/test/fixtures/schema.json:512: "description": "Reduce size of WASM by changing imports to shorter strings.", node-schema-utils-3.0.0/test/fixtures/schema.json-513- "type": "boolean" ############################################## node-schema-utils-3.0.0/test/index.test.js-6- function createSuccessTestCase(name, config, options = {}) { node-schema-utils-3.0.0/test/index.test.js:7: it(`should pass validation for ${name}`, () => { node-schema-utils-3.0.0/test/index.test.js-8- let error; ############################################## node-schema-utils-3.0.0/test/index.test.js-24- function createFailedTestCase(name, config, fn, configuration = {}) { node-schema-utils-3.0.0/test/index.test.js:25: it(`should fail validation for ${name}`, () => { node-schema-utils-3.0.0/test/index.test.js-26- try { ############################################## node-schema-utils-3.0.0/test/index.test.js-34- new RegExp( node-schema-utils-3.0.0/test/index.test.js:35: `^Invalid ${configuration.baseDataPath || 'configuration'} object` node-schema-utils-3.0.0/test/index.test.js-36- ) ############################################## node-schema-utils-3.0.0/test/index.test.js-385- return ( node-schema-utils-3.0.0/test/index.test.js:386: `${formattedError}\n` + node-schema-utils-3.0.0/test/index.test.js-387- "The 'debug' property was removed in webpack 2.0.0.\n" + ############################################## node-schema-utils-3.0.0/test/index.test.js-418- return ( node-schema-utils-3.0.0/test/index.test.js:419: `${formattedError}\n` + node-schema-utils-3.0.0/test/index.test.js-420- 'For typos: please correct them.\n' + ############################################## node-schema-utils-3.0.0/test/index.test.js-427- ' options: {\n' + node-schema-utils-3.0.0/test/index.test.js:428: ` ${error.params.additionalProperty}: …\n` + node-schema-utils-3.0.0/test/index.test.js-429- ' }\n' + ############################################## node-schema-utils-3.0.0/test/index.test.js-461- return ( node-schema-utils-3.0.0/test/index.test.js:462: `${formattedError}\n` + node-schema-utils-3.0.0/test/index.test.js-463- 'Please use output.path to specify absolute path and output.filename for the file name.' ############################################## node-schema-utils-3.0.0/ajv-errors/README.md-266- node-schema-utils-3.0.0/ajv-errors/README.md:267:The syntax to interpolate a value is `${<pointer>}`. node-schema-utils-3.0.0/ajv-errors/README.md-268-