@prantlf/jsonlint 15.0.0 → 16.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../lib/sorter.js"],
4
- "sourcesContent": ["(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports)\n : typeof define === 'function' && define.amd ? define('jsonlint-sorter', ['exports'], factory)\n : (global = global || self, factory(global.jsonlintSorter = {}))\n}(this, function (exports) {\n 'use strict'\n\n // from http://stackoverflow.com/questions/1359761/sorting-a-json-object-in-javascript\n const ownsProperty = Object.prototype.hasOwnProperty\n function sortObject (o, { ignoreCase, locale, caseFirst, numeric } = {}) {\n if (Array.isArray(o)) {\n return o.map(sortObject)\n }if (Object.prototype.toString.call(o) !== '[object Object]') {\n return o\n }\n const sorted = {}\n let key\n const a = []\n for (key in o) {\n if (ownsProperty.call(o, key)) {\n a.push(key)\n }\n }\n if (locale || caseFirst || numeric) {\n if (locale === 'default') {\n locale = undefined\n }\n const sortOptions = { caseFirst, numeric }\n if (ignoreCase) {\n sortOptions.sensitivity = 'accent'\n }\n a.sort((l, r) => l.localeCompare(r, locale, sortOptions))\n } else if (ignoreCase) {\n a.sort((l, r) => {\n l = l.toLowerCase()\n r = r.toLowerCase()\n return l < r ? -1 : l > r ? 1 : 0\n })\n } else {\n a.sort()\n }\n for (key = 0; key < a.length; key++) {\n sorted[a[key]] = sortObject(o[a[key]])\n }\n return sorted\n }\n\n exports.sortObject = sortObject\n\n Object.defineProperty(exports, '__esModule', { value: true })\n}))\n"],
5
- "mappings": "CAAC,SAAUA,EAAQC,EAAS,CAC1B,OAAO,SAAY,UAAY,OAAO,OAAW,IAAcA,EAAQ,OAAO,EAC1E,OAAO,QAAW,YAAc,OAAO,IAAM,OAAO,kBAAmB,CAAC,SAAS,EAAGA,CAAO,GACxFD,EAASA,GAAU,KAAMC,EAAQD,EAAO,eAAiB,CAAC,CAAC,EACpE,GAAE,KAAM,SAAUE,EAAS,CACzB,aAGA,MAAMC,EAAe,OAAO,UAAU,eACtC,SAASC,EAAYC,EAAG,CAAE,WAAAC,EAAY,OAAAC,EAAQ,UAAAC,EAAW,QAAAC,CAAQ,EAAI,CAAC,EAAG,CACvE,GAAI,MAAM,QAAQJ,CAAC,EACjB,OAAOA,EAAE,IAAID,CAAU,EACxB,GAAI,OAAO,UAAU,SAAS,KAAKC,CAAC,IAAM,kBACzC,OAAOA,EAET,MAAMK,EAAS,CAAC,EAChB,IAAIC,EACJ,MAAMC,EAAI,CAAC,EACX,IAAKD,KAAON,EACNF,EAAa,KAAKE,EAAGM,CAAG,GAC1BC,EAAE,KAAKD,CAAG,EAGd,GAAIJ,GAAUC,GAAaC,EAAS,CAC9BF,IAAW,YACbA,EAAS,QAEX,MAAMM,EAAc,CAAE,UAAAL,EAAW,QAAAC,CAAQ,EACrCH,IACFO,EAAY,YAAc,UAE5BD,EAAE,KAAK,CAACE,EAAGC,IAAMD,EAAE,cAAcC,EAAGR,EAAQM,CAAW,CAAC,CAC1D,MAAWP,EACTM,EAAE,KAAK,CAACE,EAAGC,KACTD,EAAIA,EAAE,YAAY,EAClBC,EAAIA,EAAE,YAAY,EACXD,EAAIC,EAAI,GAAKD,EAAIC,EAAI,EAAI,EACjC,EAEDH,EAAE,KAAK,EAET,IAAKD,EAAM,EAAGA,EAAMC,EAAE,OAAQD,IAC5BD,EAAOE,EAAED,CAAG,CAAC,EAAIP,EAAWC,EAAEO,EAAED,CAAG,CAAC,CAAC,EAEvC,OAAOD,CACT,CAEAR,EAAQ,WAAaE,EAErB,OAAO,eAAeF,EAAS,aAAc,CAAE,MAAO,EAAK,CAAC,CAC9D,CAAC",
6
- "names": ["global", "factory", "exports", "ownsProperty", "sortObject", "o", "ignoreCase", "locale", "caseFirst", "numeric", "sorted", "key", "a", "sortOptions", "l", "r"]
4
+ "sourcesContent": ["(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports)\n : typeof define === 'function' && define.amd ? define('jsonlint-sorter', ['exports'], factory)\n : (global = global || self, factory(global.jsonlintSorter = {}))\n}(this, function (exports) {\n 'use strict'\n\n // from http://stackoverflow.com/questions/1359761/sorting-a-json-object-in-javascript\n const ownsProperty = Object.hasOwn\n const formatString = Object.prototype.toString\n function sortObject (o, { ignoreCase, locale, caseFirst, numeric } = {}) {\n if (Array.isArray(o)) {\n return o.map(sortObject)\n }if (formatString.call(o) !== '[object Object]') {\n return o\n }\n const sorted = {}\n let key\n const a = []\n for (key in o) {\n if (ownsProperty(o, key)) {\n a.push(key)\n }\n }\n if (locale || caseFirst || numeric) {\n if (locale === 'default') {\n locale = undefined\n }\n const sortOptions = { caseFirst, numeric }\n if (ignoreCase) {\n sortOptions.sensitivity = 'accent'\n }\n a.sort((l, r) => l.localeCompare(r, locale, sortOptions))\n } else if (ignoreCase) {\n a.sort((l, r) => {\n l = l.toLowerCase()\n r = r.toLowerCase()\n return l < r ? -1 : l > r ? 1 : 0\n })\n } else {\n a.sort()\n }\n for (key = 0; key < a.length; key++) {\n sorted[a[key]] = sortObject(o[a[key]])\n }\n return sorted\n }\n\n exports.sortObject = sortObject\n\n Object.defineProperty(exports, '__esModule', { value: true })\n}))\n"],
5
+ "mappings": "CAAC,SAAUA,EAAQC,EAAS,CAC1B,OAAO,SAAY,UAAY,OAAO,OAAW,IAAcA,EAAQ,OAAO,EAC1E,OAAO,QAAW,YAAc,OAAO,IAAM,OAAO,kBAAmB,CAAC,SAAS,EAAGA,CAAO,GACxFD,EAASA,GAAU,KAAMC,EAAQD,EAAO,eAAiB,CAAC,CAAC,EACpE,GAAE,KAAM,SAAUE,EAAS,CACzB,aAGA,MAAMC,EAAe,OAAO,OACtBC,EAAe,OAAO,UAAU,SACtC,SAASC,EAAYC,EAAG,CAAE,WAAAC,EAAY,OAAAC,EAAQ,UAAAC,EAAW,QAAAC,CAAQ,EAAI,CAAC,EAAG,CACvE,GAAI,MAAM,QAAQJ,CAAC,EACjB,OAAOA,EAAE,IAAID,CAAU,EACxB,GAAID,EAAa,KAAKE,CAAC,IAAM,kBAC5B,OAAOA,EAET,MAAMK,EAAS,CAAC,EAChB,IAAIC,EACJ,MAAMC,EAAI,CAAC,EACX,IAAKD,KAAON,EACNH,EAAaG,EAAGM,CAAG,GACrBC,EAAE,KAAKD,CAAG,EAGd,GAAIJ,GAAUC,GAAaC,EAAS,CAC9BF,IAAW,YACbA,EAAS,QAEX,MAAMM,EAAc,CAAE,UAAAL,EAAW,QAAAC,CAAQ,EACrCH,IACFO,EAAY,YAAc,UAE5BD,EAAE,KAAK,CAACE,EAAGC,IAAMD,EAAE,cAAcC,EAAGR,EAAQM,CAAW,CAAC,CAC1D,MAAWP,EACTM,EAAE,KAAK,CAACE,EAAGC,KACTD,EAAIA,EAAE,YAAY,EAClBC,EAAIA,EAAE,YAAY,EACXD,EAAIC,EAAI,GAAKD,EAAIC,EAAI,EAAI,EACjC,EAEDH,EAAE,KAAK,EAET,IAAKD,EAAM,EAAGA,EAAMC,EAAE,OAAQD,IAC5BD,EAAOE,EAAED,CAAG,CAAC,EAAIP,EAAWC,EAAEO,EAAED,CAAG,CAAC,CAAC,EAEvC,OAAOD,CACT,CAEAT,EAAQ,WAAaG,EAErB,OAAO,eAAeH,EAAS,aAAc,CAAE,MAAO,EAAK,CAAC,CAC9D,CAAC",
6
+ "names": ["global", "factory", "exports", "ownsProperty", "formatString", "sortObject", "o", "ignoreCase", "locale", "caseFirst", "numeric", "sorted", "key", "a", "sortOptions", "l", "r"]
7
7
  }
@@ -1,4 +1,4 @@
1
- (function(j,f){if(typeof exports=="object"&&typeof module<"u"){const c=require("./jsonlint"),l={Ajv04:"ajv-draft-04",Ajv07:"ajv",AjvJTD:"ajv/dist/jtd",Ajv2019:"ajv/dist/2019",Ajv2020:"ajv/dist/2020",Schema06:"ajv/dist/refs/json-schema-draft-06.json"},d=h=>{const u=require(l[h]);return!u.$schema&&u.default||u};f(exports,c,d)}else if(typeof define=="function"&&define.amd)define("jsonlint-validator",["exports","jsonlint","ajv"],function(c,l,d){f(c,l,u=>{const m=d[u];return!m.$schema&&m.default||m})});else{j=j||self;const c=l=>{const d=j.ajv[l];return!d.$schema&&d.default||d};f(j.jsonlintValidator={},j.jsonlint,c)}})(this,function(j,f,c){"use strict";function l(t,o,e,a){const i=e.find(function(s){return a===f.pathToPointer(s.path)});if(i){const s=i.location.start,r=s.offset,n=s.line,g=s.column,y=f.getErrorTexts(t.reason,o,r,n,g);return t.message=y.message,t.excerpt=y.excerpt,y.pointer&&(t.pointer=y.pointer,t.location={start:{column:g,line:n,offset:r}}),!0}}function d(t,o,e){const a=t.dataPath,i=t.schemaPath,s=`${a||"/"} ${t.message}; see ${i}`,r={reason:s,dataPath:a,schemaPath:i};return l(r,o,e,a)||(r.message=s),r}function h(t,o,e,a){e||(e=JSON.stringify(o,void 0,2)),a||(a={}),Object.assign(a,{tokenLocations:!0,tokenPaths:!0});const i=f.tokenize(e,a),s=d(t[0],e,i),r=new SyntaxError(s.message);return Object.assign(r,s),r}function u(t){let o;if(!t||t==="json-schema-draft-06"||t==="draft-06"){const e=c("Ajv07");o=new e,o.addMetaSchema(c("Schema06"))}else if(t==="json-schema-draft-07"||t==="draft-07"){const e=c("Ajv07");o=new e}else if(t==="json-schema-draft-04"||t==="draft-04"){const e=c("Ajv04");o=new e}else if(t==="json-schema-draft-2019-09"||t==="draft-2019-09"){const e=c("Ajv2019");o=new e}else if(t==="json-schema-draft-2020-12"||t==="draft-2020-12"){const e=c("Ajv2020");o=new e}else if(t==="json-type-definition"||t==="jtd"||t==="rfc8927"){const e=c("AjvJTD");o=new e}else throw new RangeError(`Unsupported environment for the JSON Schema validation: "${t}".`);return o}function m(t,o,e){Array.isArray(o)||(o=[o]);const[a,...i]=o.map((s,r)=>{if(typeof s!="string")return s;try{return f.parse(s,e)}catch(n){throw n.message=`Parsing the JSON Schema #${r+1} failed.
2
- ${n.message}`,n}});try{for(const s of i)t.addSchema(s);return t.compile(a)}catch(s){const r=t.errors,n=r?h(r,parsed,o,e):s;throw n.message=`Compiling the JSON Schema failed.
3
- ${n.message}`,n}}function S(t,o){let e={};typeof o=="object"&&!(o instanceof String)&&(e=o,o=e.environment);const a=u(o),i={mode:e.mode,ignoreBOM:e.ignoreBOM,ignoreComments:e.ignoreComments,ignoreTrailingCommas:e.ignoreTrailingCommas,allowSingleQuotedStrings:e.allowSingleQuotedStrings,allowDuplicateObjectKeys:e.allowDuplicateObjectKeys,ignoreProtoKey:e.ignoreProtoKey,ignorePrototypeKeys:e.ignorePrototypeKeys},s=m(a,t,i);return function(r,n,g){if(typeof r=="string"||r instanceof String?(g=n,n=r,r=f.parse(n,g)):typeof n=="string"||n instanceof String||(g=n,n=void 0),s(r))return r;throw h(s.errors,r,n,g)}}j.compile=S,Object.defineProperty(j,"__esModule",{value:!0})});
1
+ (function(g,d){if(typeof exports=="object"&&typeof module<"u"){const o=require("./jsonlint"),h={Ajv04:"ajv-draft-04",Ajv07:"ajv",AjvJTD:"ajv/dist/jtd",Ajv2019:"ajv/dist/2019",Ajv2020:"ajv/dist/2020",Schema06:"ajv/dist/refs/json-schema-draft-06.json",Keywords:"ajv-keywords",Formats:"ajv-formats",Formats2019:"ajv-formats-draft2019"},l=y=>{const j=require(h[y]);return!j.$schema&&j.default||j};d(exports,o,l)}else if(typeof define=="function"&&define.amd)define("jsonlint-validator",["exports","jsonlint","ajv"],function(o,h,l){d(o,h,j=>{const u=l[j];return!u.$schema&&u.default||u})});else{g=g||self;const o=h=>{const l=g.ajv[h];return!l.$schema&&l.default||l};d(g.jsonlintValidator={},g.jsonlint,o)}})(this,function(g,d,o){"use strict";function h(e,r,t,s){const f=t.find(function(a){return s===d.pathToPointer(a.path)});if(f){const a=f.location.start,c=a.offset,n=a.line,i=a.column,m=d.getErrorTexts(e.reason,r,c,n,i);return e.message=m.message,e.excerpt=m.excerpt,m.pointer&&(e.pointer=m.pointer,e.location={start:{column:i,line:n,offset:c}}),!0}}function l(e,r,t){const s=e.dataPath,f=e.schemaPath,a=`${s||"/"} ${e.message}; see ${f}`,c={reason:a,dataPath:s,schemaPath:f};return h(c,r,t,s)||(c.message=a),c}function y(e,r,t,s){t||(t=JSON.stringify(r,void 0,2)),s||(s={}),Object.assign(s,{tokenLocations:!0,tokenPaths:!0});const f=d.tokenize(t,s),a=l(e[0],t,f),c=new SyntaxError(a.message);return Object.assign(c,a),c}function j(e,r){let t;if(!e||e==="json-schema-draft-06"||e==="draft-06"){const s=o("Ajv07");t=new s(r),t.addMetaSchema(o("Schema06")),o("Formats")(t),o("Keywords")(t)}else if(e==="json-schema-draft-07"||e==="draft-07"){const s=o("Ajv07");t=new s(r),o("Formats")(t),o("Formats2019")(t),o("Keywords")(t)}else if(e==="json-schema-draft-04"||e==="draft-04"){const s=o("Ajv04");t=new s(r)}else if(e==="json-schema-draft-2019-09"||e==="draft-2019-09"){const s=o("Ajv2019");t=new s(r),o("Formats")(t),o("Formats2019")(t),o("Keywords")(t)}else if(e==="json-schema-draft-2020-12"||e==="draft-2020-12"){const s=o("Ajv2020");t=new s(r),o("Formats")(t),o("Formats2019")(t),o("Keywords")(t)}else if(e==="json-type-definition"||e==="jtd"||e==="rfc8927"){const s=o("AjvJTD");t=new s(r)}else throw new RangeError(`Unsupported environment for the JSON Schema validation: "${e}".`);return t}function u(e,r,t){Array.isArray(r)||(r=[r]);const[s,...f]=r.map((a,c)=>{if(typeof a!="string")return a;try{return d.parse(a,t)}catch(n){throw n.message=`Parsing the JSON Schema #${c+1} failed.
2
+ ${n.message}`,n}});try{for(const a of f)e.addSchema(a);return e.compile(s)}catch(a){const c=e.errors,n=c?y(c,parsed,r,t):a;throw n.message=`Compiling the JSON Schema failed.
3
+ ${n.message}`,n}}function w(e,r){let t={};typeof r=="object"&&!(r instanceof String)&&(t=r,r=t.environment);const s={};t.strict===!1&&(s.strict=!1);const f=j(r,s),a={mode:t.mode,ignoreBOM:t.ignoreBOM,ignoreComments:t.ignoreComments,ignoreTrailingCommas:t.ignoreTrailingCommas,allowSingleQuotedStrings:t.allowSingleQuotedStrings,allowDuplicateObjectKeys:t.allowDuplicateObjectKeys,ignoreProtoKey:t.ignoreProtoKey,ignorePrototypeKeys:t.ignorePrototypeKeys},c=u(f,e,a);return function(n,i,m){if(typeof n=="string"||n instanceof String?(m=i,i=n,n=d.parse(i,m)):typeof i=="string"||i instanceof String||(m=i,i=void 0),c(n))return n;throw y(c.errors,n,i,m)}}g.compile=w,Object.defineProperty(g,"__esModule",{value:!0})});
4
4
  //# sourceMappingURL=validator.min.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../lib/validator.js"],
4
- "sourcesContent": ["(function (global, factory) {\n if (typeof exports === 'object' && typeof module !== 'undefined') {\n const jsonlint = require('./jsonlint')\n const ajv = {\n Ajv04: 'ajv-draft-04',\n Ajv07: 'ajv',\n AjvJTD: 'ajv/dist/jtd',\n Ajv2019: 'ajv/dist/2019',\n Ajv2020: 'ajv/dist/2020',\n Schema06: 'ajv/dist/refs/json-schema-draft-06.json'\n }\n const requireAjv = name => {\n const exported = require(ajv[name])\n return !exported.$schema && exported.default || exported\n }\n factory(exports, jsonlint, requireAjv)\n } else if (typeof define === 'function' && define.amd) {\n define('jsonlint-validator', ['exports', 'jsonlint', 'ajv'],\n function (exports, jsonlint, ajv) {\n const requireAjv = name => {\n const exported = ajv[name]\n return !exported.$schema && exported.default || exported\n }\n factory(exports, jsonlint, requireAjv)\n })\n } else {\n global = global || self\n const requireAjv = name => {\n const exported = global.ajv[name]\n return !exported.$schema && exported.default || exported\n }\n factory(global.jsonlintValidator = {}, global.jsonlint, requireAjv)\n }\n}(this, function (exports, jsonlint, requireAjv) {\n 'use strict'\n\n function addErrorLocation (problem, input, tokens, dataPath) {\n const token = tokens.find(function (token) {\n return dataPath === jsonlint.pathToPointer(token.path)\n })\n if (token) {\n const location = token.location.start\n const offset = location.offset\n const line = location.line\n const column = location.column\n const texts = jsonlint.getErrorTexts(problem.reason, input, offset, line, column)\n problem.message = texts.message\n problem.excerpt = texts.excerpt\n if (texts.pointer) {\n problem.pointer = texts.pointer\n problem.location = {\n start: {\n column,\n line,\n offset\n }\n }\n }\n return true\n }\n }\n\n function errorToProblem (error, input, tokens) {\n const dataPath = error.dataPath\n const schemaPath = error.schemaPath\n const reason = `${dataPath || '/'} ${error.message}; see ${schemaPath}`\n const problem = {\n reason,\n dataPath,\n schemaPath\n }\n if (!addErrorLocation(problem, input, tokens, dataPath)) {\n problem.message = reason\n }\n return problem\n }\n\n function createError (errors, data, input, options) {\n if (!input) {\n input = JSON.stringify(data, undefined, 2)\n }\n if (!options) {\n options = {}\n }\n Object.assign(options, {\n tokenLocations: true,\n tokenPaths: true\n })\n const tokens = jsonlint.tokenize(input, options)\n // var problems = errors.map(function (error) {\n // return errorToProblem(error, input, tokens)\n // })\n // var message = problems\n // .map(function (problem) {\n // return problem.message\n // })\n // .join('\\n')\n const problem = errorToProblem(errors[0], input, tokens)\n const error = new SyntaxError(problem.message)\n Object.assign(error, problem)\n return error\n }\n\n function createAjv (environment) {\n let ajv\n if (!environment || environment === 'json-schema-draft-06' || environment === 'draft-06') {\n const Ajv = requireAjv('Ajv07')\n ajv = new Ajv()\n ajv.addMetaSchema(requireAjv('Schema06'))\n } else if (environment === 'json-schema-draft-07' || environment === 'draft-07') {\n const Ajv = requireAjv('Ajv07')\n ajv = new Ajv()\n } else if (environment === 'json-schema-draft-04' || environment === 'draft-04') {\n const Ajv = requireAjv('Ajv04')\n ajv = new Ajv()\n } else if (environment === 'json-schema-draft-2019-09' || environment === 'draft-2019-09') {\n const Ajv = requireAjv('Ajv2019')\n ajv = new Ajv()\n } else if (environment === 'json-schema-draft-2020-12' || environment === 'draft-2020-12') {\n const Ajv = requireAjv('Ajv2020')\n ajv = new Ajv()\n } else if (environment === 'json-type-definition' || environment === 'jtd' || environment === 'rfc8927') {\n const Ajv = requireAjv('AjvJTD')\n ajv = new Ajv()\n } else {\n throw new RangeError(`Unsupported environment for the JSON Schema validation: \"${environment}\".`)\n }\n return ajv\n }\n\n function compileSchema (ajv, schema, parseOptions) {\n if (!Array.isArray(schema)) schema = [schema]\n const [main, ...others] = schema.map((schema, index) => {\n if (typeof schema !== 'string') return schema\n try {\n return jsonlint.parse(schema, parseOptions)\n } catch (error) {\n error.message = `Parsing the JSON Schema #${index + 1} failed.\\n${error.message}`\n throw error\n }\n })\n try {\n for (const schema of others) {\n ajv.addSchema(schema)\n }\n return ajv.compile(main)\n } catch (originalError) {\n const errors = ajv.errors\n const betterError = errors\n ? createError(errors, parsed, schema, parseOptions)\n : originalError\n betterError.message = `Compiling the JSON Schema failed.\\n${betterError.message}`\n throw betterError\n }\n }\n\n function compile (schema, environment) {\n let options = {}\n if (typeof environment === 'object' && !(environment instanceof String)) {\n options = environment\n environment = options.environment\n }\n const ajv = createAjv(environment)\n const parseOptions = {\n mode: options.mode,\n ignoreBOM: options.ignoreBOM,\n ignoreComments: options.ignoreComments,\n ignoreTrailingCommas: options.ignoreTrailingCommas,\n allowSingleQuotedStrings: options.allowSingleQuotedStrings,\n allowDuplicateObjectKeys: options.allowDuplicateObjectKeys,\n ignoreProtoKey: options.ignoreProtoKey,\n ignorePrototypeKeys: options.ignorePrototypeKeys\n }\n const validate = compileSchema(ajv, schema, parseOptions)\n return function (data, input, options) {\n if (typeof data === 'string' || data instanceof String) {\n options = input\n input = data\n data = jsonlint.parse(input, options)\n } else if (!(typeof input === 'string' || input instanceof String)) {\n options = input\n input = undefined\n }\n if (validate(data)) {\n return data\n }\n throw createError(validate.errors, data, input, options)\n }\n }\n\n exports.compile = compile\n\n Object.defineProperty(exports, '__esModule', { value: true })\n}))\n"],
5
- "mappings": "CAAC,SAAUA,EAAQC,EAAS,CAC1B,GAAI,OAAO,SAAY,UAAY,OAAO,OAAW,IAAa,CAChE,MAAMC,EAAW,QAAQ,YAAY,EAC/BC,EAAM,CACV,MAAO,eACP,MAAO,MACP,OAAQ,eACR,QAAS,gBACT,QA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,EAAWT,EAAc3B,EAAK4B,EAAQC,CAAY,EACxD,OAAO,SAAUP,EAAMf,EAAOgB,EAAS,CASrC,GARI,OAAOD,GAAS,UAAYA,aAAgB,QAC9CC,EAAUhB,EACVA,EAAQe,EACRA,EAAOvB,EAAS,MAAMQ,EAAOgB,CAAO,GACzB,OAAOhB,GAAU,UAAYA,aAAiB,SACzDgB,EAAUhB,EACVA,EAAQ,QAEN6B,EAASd,CAAI,EACf,OAAOA,EAET,MAAMF,EAAYgB,EAAS,OAAQd,EAAMf,EAAOgB,CAAO,CACzD,CACF,CAEAnB,EAAQ,QAAU+B,EAElB,OAAO,eAAe/B,EAAS,aAAc,CAAE,MAAO,EAAK,CAAC,CAC9D,CAAC",
6
- "names": ["global", "factory", "jsonlint", "ajv", "requireAjv", "name", "exported", "exports", "addErrorLocation", "problem", "input", "tokens", "dataPath", "token", "location", "offset", "line", "column", "texts", "errorToProblem", "error", "schemaPath", "reason", "createError", "errors", "data", "options", "createAjv", "environment", "Ajv", "compileSchema", "schema", "parseOptions", "main", "others", "index", "originalError", "betterError", "compile", "validate"]
4
+ "sourcesContent": ["(function (global, factory) {\n if (typeof exports === 'object' && typeof module !== 'undefined') {\n const jsonlint = require('./jsonlint')\n const ajv = {\n Ajv04: 'ajv-draft-04',\n Ajv07: 'ajv',\n AjvJTD: 'ajv/dist/jtd',\n Ajv2019: 'ajv/dist/2019',\n Ajv2020: 'ajv/dist/2020',\n Schema06: 'ajv/dist/refs/json-schema-draft-06.json',\n Keywords: 'ajv-keywords',\n Formats: 'ajv-formats',\n Formats2019: 'ajv-formats-draft2019'\n }\n const requireAjv = name => {\n const exported = require(ajv[name])\n return !exported.$schema && exported.default || exported\n }\n factory(exports, jsonlint, requireAjv)\n } else if (typeof define === 'function' && define.amd) {\n define('jsonlint-validator', ['exports', 'jsonlint', 'ajv'],\n function (exports, jsonlint, ajv) {\n const requireAjv = name => {\n const exported = ajv[name]\n return !exported.$schema && exported.default || exported\n }\n factory(exports, jsonlint, requireAjv)\n })\n } else {\n global = global || self\n const requireAjv = name => {\n const exported = global.ajv[name]\n return !exported.$schema && exported.default || exported\n }\n factory(global.jsonlintValidator = {}, global.jsonlint, requireAjv)\n }\n}(this, function (exports, jsonlint, requireAjv) {\n 'use strict'\n\n function addErrorLocation (problem, input, tokens, dataPath) {\n const token = tokens.find(function (token) {\n return dataPath === jsonlint.pathToPointer(token.path)\n })\n if (token) {\n const location = token.location.start\n const offset = location.offset\n const line = location.line\n const column = location.column\n const texts = jsonlint.getErrorTexts(problem.reason, input, offset, line, column)\n problem.message = texts.message\n problem.excerpt = texts.excerpt\n if (texts.pointer) {\n problem.pointer = texts.pointer\n problem.location = {\n start: {\n column,\n line,\n offset\n }\n }\n }\n return true\n }\n }\n\n function errorToProblem (error, input, tokens) {\n const dataPath = error.dataPath\n const schemaPath = error.schemaPath\n const reason = `${dataPath || '/'} ${error.message}; see ${schemaPath}`\n const problem = {\n reason,\n dataPath,\n schemaPath\n }\n if (!addErrorLocation(problem, input, tokens, dataPath)) {\n problem.message = reason\n }\n return problem\n }\n\n function createError (errors, data, input, options) {\n if (!input) {\n input = JSON.stringify(data, undefined, 2)\n }\n if (!options) {\n options = {}\n }\n Object.assign(options, {\n tokenLocations: true,\n tokenPaths: true\n })\n const tokens = jsonlint.tokenize(input, options)\n // var problems = errors.map(function (error) {\n // return errorToProblem(error, input, tokens)\n // })\n // var message = problems\n // .map(function (problem) {\n // return problem.message\n // })\n // .join('\\n')\n const problem = errorToProblem(errors[0], input, tokens)\n const error = new SyntaxError(problem.message)\n Object.assign(error, problem)\n return error\n }\n\n function createAjv (environment, ajvOptions) {\n let ajv\n if (!environment || environment === 'json-schema-draft-06' || environment === 'draft-06') {\n const Ajv = requireAjv('Ajv07')\n ajv = new Ajv(ajvOptions)\n ajv.addMetaSchema(requireAjv('Schema06'))\n requireAjv('Formats')(ajv)\n requireAjv('Keywords')(ajv)\n } else if (environment === 'json-schema-draft-07' || environment === 'draft-07') {\n const Ajv = requireAjv('Ajv07')\n ajv = new Ajv(ajvOptions)\n requireAjv('Formats')(ajv)\n requireAjv('Formats2019')(ajv)\n requireAjv('Keywords')(ajv)\n } else if (environment === 'json-schema-draft-04' || environment === 'draft-04') {\n const Ajv = requireAjv('Ajv04')\n ajv = new Ajv(ajvOptions)\n } else if (environment === 'json-schema-draft-2019-09' || environment === 'draft-2019-09') {\n const Ajv = requireAjv('Ajv2019')\n ajv = new Ajv(ajvOptions)\n requireAjv('Formats')(ajv)\n requireAjv('Formats2019')(ajv)\n requireAjv('Keywords')(ajv)\n } else if (environment === 'json-schema-draft-2020-12' || environment === 'draft-2020-12') {\n const Ajv = requireAjv('Ajv2020')\n ajv = new Ajv(ajvOptions)\n requireAjv('Formats')(ajv)\n requireAjv('Formats2019')(ajv)\n requireAjv('Keywords')(ajv)\n } else if (environment === 'json-type-definition' || environment === 'jtd' || environment === 'rfc8927') {\n const Ajv = requireAjv('AjvJTD')\n ajv = new Ajv(ajvOptions)\n } else {\n throw new RangeError(`Unsupported environment for the JSON Schema validation: \"${environment}\".`)\n }\n return ajv\n }\n\n function compileSchema (ajv, schema, parseOptions) {\n if (!Array.isArray(schema)) schema = [schema]\n const [main, ...others] = schema.map((schema, index) => {\n if (typeof schema !== 'string') return schema\n try {\n return jsonlint.parse(schema, parseOptions)\n } catch (error) {\n error.message = `Parsing the JSON Schema #${index + 1} failed.\\n${error.message}`\n throw error\n }\n })\n try {\n for (const schema of others) {\n ajv.addSchema(schema)\n }\n return ajv.compile(main)\n } catch (originalError) {\n const errors = ajv.errors\n const betterError = errors\n ? createError(errors, parsed, schema, parseOptions)\n : originalError\n betterError.message = `Compiling the JSON Schema failed.\\n${betterError.message}`\n throw betterError\n }\n }\n\n function compile (schema, environment) {\n let options = {}\n if (typeof environment === 'object' && !(environment instanceof String)) {\n options = environment\n environment = options.environment\n }\n const ajvOptions = {}\n if (options.strict === false) {\n ajvOptions.strict = false\n }\n const ajv = createAjv(environment, ajvOptions)\n const parseOptions = {\n mode: options.mode,\n ignoreBOM: options.ignoreBOM,\n ignoreComments: options.ignoreComments,\n ignoreTrailingCommas: options.ignoreTrailingCommas,\n allowSingleQuotedStrings: options.allowSingleQuotedStrings,\n allowDuplicateObjectKeys: options.allowDuplicateObjectKeys,\n ignoreProtoKey: options.ignoreProtoKey,\n ignorePrototypeKeys: options.ignorePrototypeKeys\n }\n const validate = compileSchema(ajv, schema, parseOptions)\n return function (data, input, options) {\n if (typeof data === 'string' || data instanceof String) {\n options = input\n input = data\n data = jsonlint.parse(input, options)\n } else if (!(typeof input === 'string' || input instanceof String)) {\n options = input\n input = undefined\n }\n if (validate(data)) {\n return data\n }\n throw createError(validate.errors, data, input, options)\n }\n }\n\n exports.compile = compile\n\n Object.defineProperty(exports, '__esModule', { value: true })\n}))\n"],
5
+ "mappings": "CAAC,SAAUA,EAAQC,EAAS,CAC1B,GAAI,OAAO,SAAY,UAAY,OAAO,OAAW,IAAa,CAChE,MAAMC,EAAW,QAAQ,YAAY,EAC/BC,EAAM,CACV,MAAO,eACP,MAAO,MACP,OAAQ,eACR,QAAS,gBACT,QAAS,gBACT,SAAU,0CACV,SAAU,eACV,QAAS,cACT,YAAa,uBACf,EACMC,EAAaC,GAAQ,CACzB,MAAMC,EAAW,QAAQH,EAAIE,CAAI,CAAC,EAClC,MAAO,CAACC,EAAS,SAAWA,EAAS,SAAWA,CAClD,EACAL,EAAQ,QAASC,EAAUE,CAAU,CACvC,SAAW,OAAO,QAAW,YAAc,OAAO,IAChD,OAAO,qBAAsB,CAAC,UAAW,WAAY,KAAK,EACxD,SAAUG,EAASL,EAAUC,EAAK,CAKhCF,EAAQM,EAASL,EAJEG,GAAQ,CACzB,MAAMC,EAAWH,EAAIE,CAAI,EACzB,MAAO,CAACC,EAAS,SAAWA,EAAS,SAAWA,CAClD,CACqC,CACvC,CAAC,MACE,CACLN,EAASA,GAAU,KACnB,MAAMI,EAAaC,GAAQ,CACzB,MAAMC,EAAWN,EAAO,IAAIK,CAAI,EAChC,MAAO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EAAK6B,EAAQC,CAAY,EACxD,OAAO,SAAUR,EAAMf,EAAOgB,EAAS,CASrC,GARI,OAAOD,GAAS,UAAYA,aAAgB,QAC9CC,EAAUhB,EACVA,EAAQe,EACRA,EAAOvB,EAAS,MAAMQ,EAAOgB,CAAO,GACzB,OAAOhB,GAAU,UAAYA,aAAiB,SACzDgB,EAAUhB,EACVA,EAAQ,QAEN8B,EAASf,CAAI,EACf,OAAOA,EAET,MAAMF,EAAYiB,EAAS,OAAQf,EAAMf,EAAOgB,CAAO,CACzD,CACF,CAEAnB,EAAQ,QAAUgC,EAElB,OAAO,eAAehC,EAAS,aAAc,CAAE,MAAO,EAAK,CAAC,CAC9D,CAAC",
6
+ "names": ["global", "factory", "jsonlint", "ajv", "requireAjv", "name", "exported", "exports", "addErrorLocation", "problem", "input", "tokens", "dataPath", "token", "location", "offset", "line", "column", "texts", "errorToProblem", "error", "schemaPath", "reason", "createError", "errors", "data", "options", "createAjv", "environment", "ajvOptions", "Ajv", "compileSchema", "schema", "parseOptions", "main", "others", "index", "originalError", "betterError", "compile", "validate"]
7
7
  }