diff --git a/kotlin-js-store/yarn.lock b/kotlin-js-store/yarn.lock index 96c65450..d35bb185 100644 --- a/kotlin-js-store/yarn.lock +++ b/kotlin-js-store/yarn.lock @@ -2,258 +2,16 @@ # yarn lockfile v1 -"@discoveryjs/json-ext@^0.5.0": - version "0.5.7" - resolved "https://registry.yarnpkg.com/@discoveryjs/json-ext/-/json-ext-0.5.7.tgz#1d572bfbbe14b7704e0ba0f39b74815b84870d70" - integrity sha512-dBVuXR082gk3jsFp7Rd/JI4kytwGHecnCoTtXFb7DB6CNHp4rg5k1bhg0nWdLGLnOV71lmDzGQaLMy8iPLY0pw== - "@js-joda/core@3.2.0": version "3.2.0" resolved "https://registry.yarnpkg.com/@js-joda/core/-/core-3.2.0.tgz#3e61e21b7b2b8a6be746df1335cf91d70db2a273" integrity sha512-PMqgJ0sw5B7FKb2d5bWYIoxjri+QlW/Pys7+Rw82jSH0QN3rB05jZ/VrrsUdh1w4+i2kw9JOejXGq/KhDOX7Kg== -"@types/component-emitter@^1.2.10": - version "1.2.11" - resolved "https://registry.yarnpkg.com/@types/component-emitter/-/component-emitter-1.2.11.tgz#50d47d42b347253817a39709fef03ce66a108506" - integrity sha512-SRXjM+tfsSlA9VuG8hGO2nft2p8zjXCK1VcC6N4NXbBbYbSia9kzCChYQajIjzIqOOOuh5Ock6MmV2oux4jDZQ== - -"@types/cookie@^0.4.0": - version "0.4.1" - resolved "https://registry.yarnpkg.com/@types/cookie/-/cookie-0.4.1.tgz#bfd02c1f2224567676c1545199f87c3a861d878d" - integrity sha512-XW/Aa8APYr6jSVVA1y/DEIZX0/GMKLEVekNG727R8cs56ahETkRAy/3DR7+fJyh7oUgGwNQaRfXCun0+KbWY7Q== - -"@types/cors@^2.8.8": - version "2.8.12" - resolved "https://registry.yarnpkg.com/@types/cors/-/cors-2.8.12.tgz#6b2c510a7ad7039e98e7b8d3d6598f4359e5c080" - integrity sha512-vt+kDhq/M2ayberEtJcIN/hxXy1Pk+59g2FV/ZQceeaTyCtCucjL2Q7FXlFjtWn4n15KCr1NE2lNNFhp0lEThw== - -"@types/eslint-scope@^3.7.0": - version "3.7.3" - resolved "https://registry.yarnpkg.com/@types/eslint-scope/-/eslint-scope-3.7.3.tgz#125b88504b61e3c8bc6f870882003253005c3224" - integrity sha512-PB3ldyrcnAicT35TWPs5IcwKD8S333HMaa2VVv4+wdvebJkjWuW/xESoB8IwRcog8HYVYamb1g/R31Qv5Bx03g== - dependencies: - "@types/eslint" "*" - "@types/estree" "*" - -"@types/eslint@*": - version "8.4.2" - resolved "https://registry.yarnpkg.com/@types/eslint/-/eslint-8.4.2.tgz#48f2ac58ab9c631cb68845c3d956b28f79fad575" - integrity sha512-Z1nseZON+GEnFjJc04sv4NSALGjhFwy6K0HXt7qsn5ArfAKtb63dXNJHf+1YW6IpOIYRBGUbu3GwJdj8DGnCjA== - dependencies: - "@types/estree" "*" - "@types/json-schema" "*" - -"@types/estree@*": - version "0.0.51" - resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.51.tgz#cfd70924a25a3fd32b218e5e420e6897e1ac4f40" - integrity sha512-CuPgU6f3eT/XgKKPqKd/gLZV1Xmvf1a2R5POBOGQa6uv82xpls89HU5zKeVoyR8XzHd1RGNOlQlvUe3CFkjWNQ== - -"@types/estree@^0.0.50": - version "0.0.50" - resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.50.tgz#1e0caa9364d3fccd2931c3ed96fdbeaa5d4cca83" - integrity sha512-C6N5s2ZFtuZRj54k2/zyRhNDjJwwcViAM3Nbm8zjBpbqAdZ00mr0CFxvSKeO8Y/e03WVFLpQMdHYVfUd6SB+Hw== - -"@types/json-schema@*", "@types/json-schema@^7.0.8": - version "7.0.11" - resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.11.tgz#d421b6c527a3037f7c84433fd2c4229e016863d3" - integrity sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ== - -"@types/node@*", "@types/node@>=10.0.0": - version "17.0.31" - resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.31.tgz#a5bb84ecfa27eec5e1c802c6bbf8139bdb163a5d" - integrity sha512-AR0x5HbXGqkEx9CadRH3EBYx/VkiUgZIhP4wvPn/+5KIsgpNoyFaRlVe0Zlx9gRtg8fA06a9tskE2MSN7TcG4Q== - "@ungap/promise-all-settled@1.1.2": version "1.1.2" resolved "https://registry.yarnpkg.com/@ungap/promise-all-settled/-/promise-all-settled-1.1.2.tgz#aa58042711d6e3275dd37dc597e5d31e8c290a44" integrity sha512-sL/cEvJWAnClXw0wHk85/2L0G6Sj8UB0Ctc1TEMbKSsmpRosqhwj9gWgFRZSrBr2f9tiXISwNhCPmlfqUqyb9Q== -"@webassemblyjs/ast@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.11.1.tgz#2bfd767eae1a6996f432ff7e8d7fc75679c0b6a7" - integrity sha512-ukBh14qFLjxTQNTXocdyksN5QdM28S1CxHt2rdskFyL+xFV7VremuBLVbmCePj+URalXBENx/9Lm7lnhihtCSw== - dependencies: - "@webassemblyjs/helper-numbers" "1.11.1" - "@webassemblyjs/helper-wasm-bytecode" "1.11.1" - -"@webassemblyjs/floating-point-hex-parser@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.1.tgz#f6c61a705f0fd7a6aecaa4e8198f23d9dc179e4f" - integrity sha512-iGRfyc5Bq+NnNuX8b5hwBrRjzf0ocrJPI6GWFodBFzmFnyvrQ83SHKhmilCU/8Jv67i4GJZBMhEzltxzcNagtQ== - -"@webassemblyjs/helper-api-error@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.1.tgz#1a63192d8788e5c012800ba6a7a46c705288fd16" - integrity sha512-RlhS8CBCXfRUR/cwo2ho9bkheSXG0+NwooXcc3PAILALf2QLdFyj7KGsKRbVc95hZnhnERon4kW/D3SZpp6Tcg== - -"@webassemblyjs/helper-buffer@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-buffer/-/helper-buffer-1.11.1.tgz#832a900eb444884cde9a7cad467f81500f5e5ab5" - integrity sha512-gwikF65aDNeeXa8JxXa2BAk+REjSyhrNC9ZwdT0f8jc4dQQeDQ7G4m0f2QCLPJiMTTO6wfDmRmj/pW0PsUvIcA== - -"@webassemblyjs/helper-numbers@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.1.tgz#64d81da219fbbba1e3bd1bfc74f6e8c4e10a62ae" - integrity sha512-vDkbxiB8zfnPdNK9Rajcey5C0w+QJugEglN0of+kmO8l7lDb77AnlKYQF7aarZuCrv+l0UvqL+68gSDr3k9LPQ== - dependencies: - "@webassemblyjs/floating-point-hex-parser" "1.11.1" - "@webassemblyjs/helper-api-error" "1.11.1" - "@xtuc/long" "4.2.2" - -"@webassemblyjs/helper-wasm-bytecode@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.1.tgz#f328241e41e7b199d0b20c18e88429c4433295e1" - integrity sha512-PvpoOGiJwXeTrSf/qfudJhwlvDQxFgelbMqtq52WWiXC6Xgg1IREdngmPN3bs4RoO83PnL/nFrxucXj1+BX62Q== - -"@webassemblyjs/helper-wasm-section@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.11.1.tgz#21ee065a7b635f319e738f0dd73bfbda281c097a" - integrity sha512-10P9No29rYX1j7F3EVPX3JvGPQPae+AomuSTPiF9eBQeChHI6iqjMIwR9JmOJXwpnn/oVGDk7I5IlskuMwU/pg== - dependencies: - "@webassemblyjs/ast" "1.11.1" - "@webassemblyjs/helper-buffer" "1.11.1" - "@webassemblyjs/helper-wasm-bytecode" "1.11.1" - "@webassemblyjs/wasm-gen" "1.11.1" - -"@webassemblyjs/ieee754@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/ieee754/-/ieee754-1.11.1.tgz#963929e9bbd05709e7e12243a099180812992614" - integrity sha512-hJ87QIPtAMKbFq6CGTkZYJivEwZDbQUgYd3qKSadTNOhVY7p+gfP6Sr0lLRVTaG1JjFj+r3YchoqRYxNH3M0GQ== - dependencies: - "@xtuc/ieee754" "^1.2.0" - -"@webassemblyjs/leb128@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/leb128/-/leb128-1.11.1.tgz#ce814b45574e93d76bae1fb2644ab9cdd9527aa5" - integrity sha512-BJ2P0hNZ0u+Th1YZXJpzW6miwqQUGcIHT1G/sf72gLVD9DZ5AdYTqPNbHZh6K1M5VmKvFXwGSWZADz+qBWxeRw== - dependencies: - "@xtuc/long" "4.2.2" - -"@webassemblyjs/utf8@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/utf8/-/utf8-1.11.1.tgz#d1f8b764369e7c6e6bae350e854dec9a59f0a3ff" - integrity sha512-9kqcxAEdMhiwQkHpkNiorZzqpGrodQQ2IGrHHxCy+Ozng0ofyMA0lTqiLkVs1uzTRejX+/O0EOT7KxqVPuXosQ== - -"@webassemblyjs/wasm-edit@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-edit/-/wasm-edit-1.11.1.tgz#ad206ebf4bf95a058ce9880a8c092c5dec8193d6" - integrity sha512-g+RsupUC1aTHfR8CDgnsVRVZFJqdkFHpsHMfJuWQzWU3tvnLC07UqHICfP+4XyL2tnr1amvl1Sdp06TnYCmVkA== - dependencies: - "@webassemblyjs/ast" "1.11.1" - "@webassemblyjs/helper-buffer" "1.11.1" - "@webassemblyjs/helper-wasm-bytecode" "1.11.1" - "@webassemblyjs/helper-wasm-section" "1.11.1" - "@webassemblyjs/wasm-gen" "1.11.1" - "@webassemblyjs/wasm-opt" "1.11.1" - "@webassemblyjs/wasm-parser" "1.11.1" - "@webassemblyjs/wast-printer" "1.11.1" - -"@webassemblyjs/wasm-gen@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-gen/-/wasm-gen-1.11.1.tgz#86c5ea304849759b7d88c47a32f4f039ae3c8f76" - integrity sha512-F7QqKXwwNlMmsulj6+O7r4mmtAlCWfO/0HdgOxSklZfQcDu0TpLiD1mRt/zF25Bk59FIjEuGAIyn5ei4yMfLhA== - dependencies: - "@webassemblyjs/ast" "1.11.1" - "@webassemblyjs/helper-wasm-bytecode" "1.11.1" - "@webassemblyjs/ieee754" "1.11.1" - "@webassemblyjs/leb128" "1.11.1" - "@webassemblyjs/utf8" "1.11.1" - -"@webassemblyjs/wasm-opt@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-opt/-/wasm-opt-1.11.1.tgz#657b4c2202f4cf3b345f8a4c6461c8c2418985f2" - integrity sha512-VqnkNqnZlU5EB64pp1l7hdm3hmQw7Vgqa0KF/KCNO9sIpI6Fk6brDEiX+iCOYrvMuBWDws0NkTOxYEb85XQHHw== - dependencies: - "@webassemblyjs/ast" "1.11.1" - "@webassemblyjs/helper-buffer" "1.11.1" - "@webassemblyjs/wasm-gen" "1.11.1" - "@webassemblyjs/wasm-parser" "1.11.1" - -"@webassemblyjs/wasm-parser@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-parser/-/wasm-parser-1.11.1.tgz#86ca734534f417e9bd3c67c7a1c75d8be41fb199" - integrity sha512-rrBujw+dJu32gYB7/Lup6UhdkPx9S9SnobZzRVL7VcBH9Bt9bCBLEuX/YXOOtBsOZ4NQrRykKhffRWHvigQvOA== - dependencies: - "@webassemblyjs/ast" "1.11.1" - "@webassemblyjs/helper-api-error" "1.11.1" - "@webassemblyjs/helper-wasm-bytecode" "1.11.1" - "@webassemblyjs/ieee754" "1.11.1" - "@webassemblyjs/leb128" "1.11.1" - "@webassemblyjs/utf8" "1.11.1" - -"@webassemblyjs/wast-printer@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-printer/-/wast-printer-1.11.1.tgz#d0c73beda8eec5426f10ae8ef55cee5e7084c2f0" - integrity sha512-IQboUWM4eKzWW+N/jij2sRatKMh99QEelo3Eb2q0qXkvPRISAj8Qxtmw5itwqK+TTkBuUIE45AxYPToqPtL5gg== - dependencies: - "@webassemblyjs/ast" "1.11.1" - "@xtuc/long" "4.2.2" - -"@webpack-cli/configtest@^1.1.0": - version "1.1.1" - resolved "https://registry.yarnpkg.com/@webpack-cli/configtest/-/configtest-1.1.1.tgz#9f53b1b7946a6efc2a749095a4f450e2932e8356" - integrity sha512-1FBc1f9G4P/AxMqIgfZgeOTuRnwZMten8E7zap5zgpPInnCrP8D4Q81+4CWIch8i/Nf7nXjP0v6CjjbHOrXhKg== - -"@webpack-cli/info@^1.4.0": - version "1.4.1" - resolved "https://registry.yarnpkg.com/@webpack-cli/info/-/info-1.4.1.tgz#2360ea1710cbbb97ff156a3f0f24556e0fc1ebea" - integrity sha512-PKVGmazEq3oAo46Q63tpMr4HipI3OPfP7LiNOEJg963RMgT0rqheag28NCML0o3GIzA3DmxP1ZIAv9oTX1CUIA== - dependencies: - envinfo "^7.7.3" - -"@webpack-cli/serve@^1.6.0": - version "1.6.1" - resolved "https://registry.yarnpkg.com/@webpack-cli/serve/-/serve-1.6.1.tgz#0de2875ac31b46b6c5bb1ae0a7d7f0ba5678dffe" - integrity sha512-gNGTiTrjEVQ0OcVnzsRSqTxaBSr+dmTfm+qJsCDluky8uhdLWep7Gcr62QsAKHTMxjCS/8nEITsmFAhfIx+QSw== - -"@xtuc/ieee754@^1.2.0": - version "1.2.0" - resolved "https://registry.yarnpkg.com/@xtuc/ieee754/-/ieee754-1.2.0.tgz#eef014a3145ae477a1cbc00cd1e552336dceb790" - integrity sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA== - -"@xtuc/long@4.2.2": - version "4.2.2" - resolved "https://registry.yarnpkg.com/@xtuc/long/-/long-4.2.2.tgz#d291c6a4e97989b5c61d9acf396ae4fe133a718d" - integrity sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ== - -abab@^2.0.5: - version "2.0.6" - resolved "https://registry.yarnpkg.com/abab/-/abab-2.0.6.tgz#41b80f2c871d19686216b82309231cfd3cb3d291" - integrity sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA== - -accepts@~1.3.4: - version "1.3.8" - resolved "https://registry.yarnpkg.com/accepts/-/accepts-1.3.8.tgz#0bf0be125b67014adcb0b0921e62db7bffe16b2e" - integrity sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw== - dependencies: - mime-types "~2.1.34" - negotiator "0.6.3" - -acorn-import-assertions@^1.7.6: - version "1.8.0" - resolved "https://registry.yarnpkg.com/acorn-import-assertions/-/acorn-import-assertions-1.8.0.tgz#ba2b5939ce62c238db6d93d81c9b111b29b855e9" - integrity sha512-m7VZ3jwz4eK6A4Vtt8Ew1/mNbP24u0FhdyfA7fSvnJR6LMdfOYnmuIrrJAgrYfYJ10F/otaHTtrtrtmHdMNzEw== - -acorn@^8.4.1, acorn@^8.5.0: - version "8.7.1" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.7.1.tgz#0197122c843d1bf6d0a5e83220a788f278f63c30" - integrity sha512-Xx54uLJQZ19lKygFXOWsscKUbsBZW0CPykPhVQdhIeIwrbPmJzqeASDInc8nKBnp/JT6igTs82qPXz069H8I/A== - -ajv-keywords@^3.5.2: - version "3.5.2" - resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-3.5.2.tgz#31f29da5ab6e00d1c2d329acf7b5929614d5014d" - integrity sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ== - -ajv@^6.12.5: - version "6.12.6" - resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4" - integrity sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g== - dependencies: - fast-deep-equal "^3.1.1" - fast-json-stable-stringify "^2.0.0" - json-schema-traverse "^0.4.1" - uri-js "^4.2.2" - ansi-colors@4.1.1: version "4.1.1" resolved "https://registry.yarnpkg.com/ansi-colors/-/ansi-colors-4.1.1.tgz#cbb9ae256bf750af1eab344f229aa27fe94ba348" @@ -289,39 +47,11 @@ balanced-match@^1.0.0: resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== -base64-arraybuffer@0.1.4: - version "0.1.4" - resolved "https://registry.yarnpkg.com/base64-arraybuffer/-/base64-arraybuffer-0.1.4.tgz#9818c79e059b1355f97e0428a017c838e90ba812" - integrity sha1-mBjHngWbE1X5fgQooBfIOOkLqBI= - -base64id@2.0.0, base64id@~2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/base64id/-/base64id-2.0.0.tgz#2770ac6bc47d312af97a8bf9a634342e0cd25cb6" - integrity sha512-lGe34o6EHj9y3Kts9R4ZYs/Gr+6N7MCaMlIFA3F1R2O5/m7K06AxfSeO5530PEERE6/WyEg3lsuyw4GHlPZHog== - binary-extensions@^2.0.0: version "2.2.0" resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.2.0.tgz#75f502eeaf9ffde42fc98829645be4ea76bd9e2d" integrity sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA== -body-parser@^1.19.0: - version "1.20.0" - resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.20.0.tgz#3de69bd89011c11573d7bfee6a64f11b6bd27cc5" - integrity sha512-DfJ+q6EPcGKZD1QWUjSpqp+Q7bDQTsQIF4zfUAtZ6qk+H/3/QRhg9CEp39ss+/T2vw0+HaidC0ecJj/DRLIaKg== - dependencies: - bytes "3.1.2" - content-type "~1.0.4" - debug "2.6.9" - depd "2.0.0" - destroy "1.2.0" - http-errors "2.0.0" - iconv-lite "0.4.24" - on-finished "2.4.1" - qs "6.10.3" - raw-body "2.5.1" - type-is "~1.6.18" - unpipe "1.0.0" - brace-expansion@^1.1.7: version "1.1.11" resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" @@ -330,7 +60,7 @@ brace-expansion@^1.1.7: balanced-match "^1.0.0" concat-map "0.0.1" -braces@^3.0.2, braces@~3.0.2: +braces@~3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.2.tgz#3454e1a462ee8d599e236df336cd9ea4f8afe107" integrity sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A== @@ -342,45 +72,16 @@ browser-stdout@1.3.1: resolved "https://registry.yarnpkg.com/browser-stdout/-/browser-stdout-1.3.1.tgz#baa559ee14ced73452229bad7326467c61fabd60" integrity sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw== -browserslist@^4.14.5: - version "4.20.3" - resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.20.3.tgz#eb7572f49ec430e054f56d52ff0ebe9be915f8bf" - integrity sha512-NBhymBQl1zM0Y5dQT/O+xiLP9/rzOIQdKM/eMJBAq7yBgaB6krIYLGejrwVYnSHZdqjscB1SPuAjHwxjvN6Wdg== - dependencies: - caniuse-lite "^1.0.30001332" - electron-to-chromium "^1.4.118" - escalade "^3.1.1" - node-releases "^2.0.3" - picocolors "^1.0.0" - buffer-from@^1.0.0: version "1.1.2" resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5" integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ== -bytes@3.1.2: - version "3.1.2" - resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.1.2.tgz#8b0beeb98605adf1b128fa4386403c009e0221a5" - integrity sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg== - -call-bind@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.2.tgz#b1d4e89e688119c3c9a903ad30abb2f6a919be3c" - integrity sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA== - dependencies: - function-bind "^1.1.1" - get-intrinsic "^1.0.2" - camelcase@^6.0.0: version "6.3.0" resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.3.0.tgz#5685b95eb209ac9c0c177467778c9c84df58ba9a" integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA== -caniuse-lite@^1.0.30001332: - version "1.0.30001335" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001335.tgz#899254a0b70579e5a957c32dced79f0727c61f2a" - integrity sha512-ddP1Tgm7z2iIxu6QTtbZUv6HJxSaV/PZeSrWFZtbY4JZ69tOeNhBCl3HyRQgeNZKE5AOn1kpV7fhljigy0Ty3w== - chalk@^4.1.0: version "4.1.2" resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01" @@ -404,26 +105,6 @@ chokidar@3.5.2: optionalDependencies: fsevents "~2.3.2" -chokidar@^3.5.1: - version "3.5.3" - resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.5.3.tgz#1cf37c8707b932bd1af1ae22c0432e2acd1903bd" - integrity sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw== - dependencies: - anymatch "~3.1.2" - braces "~3.0.2" - glob-parent "~5.1.2" - is-binary-path "~2.1.0" - is-glob "~4.0.1" - normalize-path "~3.0.0" - readdirp "~3.6.0" - optionalDependencies: - fsevents "~2.3.2" - -chrome-trace-event@^1.0.2: - version "1.0.3" - resolved "https://registry.yarnpkg.com/chrome-trace-event/-/chrome-trace-event-1.0.3.tgz#1015eced4741e15d06664a957dbbf50d041e26ac" - integrity sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg== - cliui@^7.0.2: version "7.0.4" resolved "https://registry.yarnpkg.com/cliui/-/cliui-7.0.4.tgz#a0265ee655476fc807aea9df3df8df7783808b4f" @@ -433,15 +114,6 @@ cliui@^7.0.2: strip-ansi "^6.0.0" wrap-ansi "^7.0.0" -clone-deep@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/clone-deep/-/clone-deep-4.0.1.tgz#c19fd9bdbbf85942b4fd979c84dcf7d5f07c2387" - integrity sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ== - dependencies: - is-plain-object "^2.0.4" - kind-of "^6.0.2" - shallow-clone "^3.0.0" - color-convert@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3" @@ -454,90 +126,11 @@ color-name@~1.1.4: resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== -colorette@^2.0.14: - version "2.0.16" - resolved "https://registry.yarnpkg.com/colorette/-/colorette-2.0.16.tgz#713b9af84fdb000139f04546bd4a93f62a5085da" - integrity sha512-hUewv7oMjCp+wkBv5Rm0v87eJhq4woh5rSR+42YSQJKecCqgIqNkZ6lAlQms/BwHPJA5NKMRlpxPRv0n8HQW6g== - -colors@^1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/colors/-/colors-1.4.0.tgz#c50491479d4c1bdaed2c9ced32cf7c7dc2360f78" - integrity sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA== - -commander@^2.20.0: - version "2.20.3" - resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" - integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ== - -commander@^7.0.0: - version "7.2.0" - resolved "https://registry.yarnpkg.com/commander/-/commander-7.2.0.tgz#a36cb57d0b501ce108e4d20559a150a391d97ab7" - integrity sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw== - -component-emitter@~1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/component-emitter/-/component-emitter-1.3.0.tgz#16e4070fba8ae29b679f2215853ee181ab2eabc0" - integrity sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg== - concat-map@0.0.1: version "0.0.1" resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" integrity sha1-2Klr13/Wjfd5OnMDajug1UBdR3s= -connect@^3.7.0: - version "3.7.0" - resolved "https://registry.yarnpkg.com/connect/-/connect-3.7.0.tgz#5d49348910caa5e07a01800b030d0c35f20484f8" - integrity sha512-ZqRXc+tZukToSNmh5C2iWMSoV3X1YUcPbqEM4DkEG5tNQXrQUZCNVGGv3IuicnkMtPfGf3Xtp8WCXs295iQ1pQ== - dependencies: - debug "2.6.9" - finalhandler "1.1.2" - parseurl "~1.3.3" - utils-merge "1.0.1" - -content-type@~1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.4.tgz#e138cc75e040c727b1966fe5e5f8c9aee256fe3b" - integrity sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA== - -cookie@~0.4.1: - version "0.4.2" - resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.4.2.tgz#0e41f24de5ecf317947c82fc789e06a884824432" - integrity sha512-aSWTXFzaKWkvHO1Ny/s+ePFpvKsPnjc551iI41v3ny/ow6tBG5Vd+FuqGNhh1LxOmVzOlGUriIlOaokOvhaStA== - -cors@~2.8.5: - version "2.8.5" - resolved "https://registry.yarnpkg.com/cors/-/cors-2.8.5.tgz#eac11da51592dd86b9f06f6e7ac293b3df875d29" - integrity sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g== - dependencies: - object-assign "^4" - vary "^1" - -cross-spawn@^7.0.3: - version "7.0.3" - resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" - integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w== - dependencies: - path-key "^3.1.0" - shebang-command "^2.0.0" - which "^2.0.1" - -custom-event@~1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/custom-event/-/custom-event-1.0.1.tgz#5d02a46850adf1b4a317946a3928fccb5bfd0425" - integrity sha1-XQKkaFCt8bSjF5RqOSj8y1v9BCU= - -date-format@^4.0.9: - version "4.0.9" - resolved "https://registry.yarnpkg.com/date-format/-/date-format-4.0.9.tgz#4788015ac56dedebe83b03bc361f00c1ddcf1923" - integrity sha512-+8J+BOUpSrlKLQLeF8xJJVTxS8QfRSuJgwxSVvslzgO3E6khbI0F5mMEPf5mTYhCCm4h99knYP6H3W9n3BQFrg== - -debug@2.6.9: - version "2.6.9" - resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" - integrity sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA== - dependencies: - ms "2.0.0" - debug@4.3.2: version "4.3.2" resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.2.tgz#f0a49c18ac8779e31d4a0c6029dfb76873c7428b" @@ -545,196 +138,31 @@ debug@4.3.2: dependencies: ms "2.1.2" -debug@^4.3.4, debug@~4.3.1: - version "4.3.4" - resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865" - integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== - dependencies: - ms "2.1.2" - decamelize@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-4.0.0.tgz#aa472d7bf660eb15f3494efd531cab7f2a709837" integrity sha512-9iE1PgSik9HeIIw2JO94IidnE3eBoQrFJ3w7sFuzSX4DpmZ3v5sZpUiV5Swcf6mQEF+Y0ru8Neo+p+nyh2J+hQ== -depd@2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/depd/-/depd-2.0.0.tgz#b696163cc757560d09cf22cc8fad1571b79e76df" - integrity sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw== - -destroy@1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/destroy/-/destroy-1.2.0.tgz#4803735509ad8be552934c67df614f94e66fa015" - integrity sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg== - -di@^0.0.1: - version "0.0.1" - resolved "https://registry.yarnpkg.com/di/-/di-0.0.1.tgz#806649326ceaa7caa3306d75d985ea2748ba913c" - integrity sha1-gGZJMmzqp8qjMG112YXqJ0i6kTw= - diff@5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/diff/-/diff-5.0.0.tgz#7ed6ad76d859d030787ec35855f5b1daf31d852b" integrity sha512-/VTCrvm5Z0JGty/BWHljh+BAiw3IK+2j87NGMu8Nwc/f48WoDAC395uomO9ZD117ZOBaHmkX1oyLvkVM/aIT3w== -dom-serialize@^2.2.1: - version "2.2.1" - resolved "https://registry.yarnpkg.com/dom-serialize/-/dom-serialize-2.2.1.tgz#562ae8999f44be5ea3076f5419dcd59eb43ac95b" - integrity sha1-ViromZ9Evl6jB29UGdzVnrQ6yVs= - dependencies: - custom-event "~1.0.0" - ent "~2.2.0" - extend "^3.0.0" - void-elements "^2.0.0" - -ee-first@1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d" - integrity sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0= - -electron-to-chromium@^1.4.118: - version "1.4.132" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.132.tgz#b64599eb018221e52e2e4129de103b03a413c55d" - integrity sha512-JYdZUw/1068NWN+SwXQ7w6Ue0bWYGihvSUNNQwurvcDV/SM7vSiGZ3NuFvFgoEiCs4kB8xs3cX2an3wB7d4TBw== - emoji-regex@^8.0.0: version "8.0.0" resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== -encodeurl@~1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/encodeurl/-/encodeurl-1.0.2.tgz#ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59" - integrity sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k= - -engine.io-parser@~4.0.0: - version "4.0.3" - resolved "https://registry.yarnpkg.com/engine.io-parser/-/engine.io-parser-4.0.3.tgz#83d3a17acfd4226f19e721bb22a1ee8f7662d2f6" - integrity sha512-xEAAY0msNnESNPc00e19y5heTPX4y/TJ36gr8t1voOaNmTojP9b3oK3BbJLFufW2XFPQaaijpFewm2g2Um3uqA== - dependencies: - base64-arraybuffer "0.1.4" - -engine.io@~4.1.0: - version "4.1.2" - resolved "https://registry.yarnpkg.com/engine.io/-/engine.io-4.1.2.tgz#f96ceb56d4b39cc7ca5bd29a20e9c99c1ad1a765" - integrity sha512-t5z6zjXuVLhXDMiFJPYsPOWEER8B0tIsD3ETgw19S1yg9zryvUfY3Vhtk3Gf4sihw/bQGIqQ//gjvVlu+Ca0bQ== - dependencies: - accepts "~1.3.4" - base64id "2.0.0" - cookie "~0.4.1" - cors "~2.8.5" - debug "~4.3.1" - engine.io-parser "~4.0.0" - ws "~7.4.2" - -enhanced-resolve@^5.8.3: - version "5.9.3" - resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.9.3.tgz#44a342c012cbc473254af5cc6ae20ebd0aae5d88" - integrity sha512-Bq9VSor+kjvW3f9/MiiR4eE3XYgOl7/rS8lnSxbRbF3kS0B2r+Y9w5krBWxZgDxASVZbdYrn5wT4j/Wb0J9qow== - dependencies: - graceful-fs "^4.2.4" - tapable "^2.2.0" - -ent@~2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/ent/-/ent-2.2.0.tgz#e964219325a21d05f44466a2f686ed6ce5f5dd1d" - integrity sha1-6WQhkyWiHQX0RGai9obtbOX13R0= - -envinfo@^7.7.3: - version "7.8.1" - resolved "https://registry.yarnpkg.com/envinfo/-/envinfo-7.8.1.tgz#06377e3e5f4d379fea7ac592d5ad8927e0c4d475" - integrity sha512-/o+BXHmB7ocbHEAs6F2EnG0ogybVVUdkRunTT2glZU9XAaGmhqskrvKwqXuDfNjEO0LZKWdejEEpnq8aM0tOaw== - -es-module-lexer@^0.9.0: - version "0.9.3" - resolved "https://registry.yarnpkg.com/es-module-lexer/-/es-module-lexer-0.9.3.tgz#6f13db00cc38417137daf74366f535c8eb438f19" - integrity sha512-1HQ2M2sPtxwnvOvT1ZClHyQDiggdNjURWpY2we6aMKCQiUVxTmVs2UYPLIrD84sS+kMdUwfBSylbJPwNnBrnHQ== - escalade@^3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40" integrity sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw== -escape-html@~1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/escape-html/-/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988" - integrity sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg= - escape-string-regexp@4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34" integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA== -eslint-scope@5.1.1: - version "5.1.1" - resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-5.1.1.tgz#e786e59a66cb92b3f6c1fb0d508aab174848f48c" - integrity sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw== - dependencies: - esrecurse "^4.3.0" - estraverse "^4.1.1" - -esrecurse@^4.3.0: - version "4.3.0" - resolved "https://registry.yarnpkg.com/esrecurse/-/esrecurse-4.3.0.tgz#7ad7964d679abb28bee72cec63758b1c5d2c9921" - integrity sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag== - dependencies: - estraverse "^5.2.0" - -estraverse@^4.1.1: - version "4.3.0" - resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-4.3.0.tgz#398ad3f3c5a24948be7725e83d11a7de28cdbd1d" - integrity sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw== - -estraverse@^5.2.0: - version "5.3.0" - resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-5.3.0.tgz#2eea5290702f26ab8fe5370370ff86c965d21123" - integrity sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA== - -eventemitter3@^4.0.0: - version "4.0.7" - resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f" - integrity sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw== - -events@^3.2.0: - version "3.3.0" - resolved "https://registry.yarnpkg.com/events/-/events-3.3.0.tgz#31a95ad0a924e2d2c419a813aeb2c4e878ea7400" - integrity sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q== - -execa@^5.0.0: - version "5.1.1" - resolved "https://registry.yarnpkg.com/execa/-/execa-5.1.1.tgz#f80ad9cbf4298f7bd1d4c9555c21e93741c411dd" - integrity sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg== - dependencies: - cross-spawn "^7.0.3" - get-stream "^6.0.0" - human-signals "^2.1.0" - is-stream "^2.0.0" - merge-stream "^2.0.0" - npm-run-path "^4.0.1" - onetime "^5.1.2" - signal-exit "^3.0.3" - strip-final-newline "^2.0.0" - -extend@^3.0.0: - version "3.0.2" - resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.2.tgz#f8b1136b4071fbd8eb140aff858b1019ec2915fa" - integrity sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g== - -fast-deep-equal@^3.1.1: - version "3.1.3" - resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525" - integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== - -fast-json-stable-stringify@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633" - integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw== - -fastest-levenshtein@^1.0.12: - version "1.0.12" - resolved "https://registry.yarnpkg.com/fastest-levenshtein/-/fastest-levenshtein-1.0.12.tgz#9990f7d3a88cc5a9ffd1f1745745251700d497e2" - integrity sha512-On2N+BpYJ15xIC974QNVuYGMOlEVt4s0EOI3wwMqOmK1fdDY+FN/zltPV8vosq4ad4c/gJ1KHScUn/6AWIgiow== - fill-range@^7.0.1: version "7.0.1" resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.0.1.tgz#1919a6a7c75fe38b2c7c77e5198535da9acdda40" @@ -742,19 +170,6 @@ fill-range@^7.0.1: dependencies: to-regex-range "^5.0.1" -finalhandler@1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/finalhandler/-/finalhandler-1.1.2.tgz#b7e7d000ffd11938d0fdb053506f6ebabe9f587d" - integrity sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA== - dependencies: - debug "2.6.9" - encodeurl "~1.0.2" - escape-html "~1.0.3" - on-finished "~2.3.0" - parseurl "~1.3.3" - statuses "~1.5.0" - unpipe "~1.0.0" - find-up@5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/find-up/-/find-up-5.0.0.tgz#4c92819ecb7083561e4f4a240a86be5198f536fc" @@ -763,43 +178,16 @@ find-up@5.0.0: locate-path "^6.0.0" path-exists "^4.0.0" -find-up@^4.0.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/find-up/-/find-up-4.1.0.tgz#97afe7d6cdc0bc5928584b7c8d7b16e8a9aa5d19" - integrity sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw== - dependencies: - locate-path "^5.0.0" - path-exists "^4.0.0" - flat@^5.0.2: version "5.0.2" resolved "https://registry.yarnpkg.com/flat/-/flat-5.0.2.tgz#8ca6fe332069ffa9d324c327198c598259ceb241" integrity sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ== -flatted@^3.2.5: - version "3.2.5" - resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.2.5.tgz#76c8584f4fc843db64702a6bd04ab7a8bd666da3" - integrity sha512-WIWGi2L3DyTUvUrwRKgGi9TwxQMUEqPOPQBVi71R96jZXJdFskXEmf54BoZaS1kknGODoIGASGEzBUYdyMCBJg== - -follow-redirects@^1.0.0: - version "1.15.0" - resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.0.tgz#06441868281c86d0dda4ad8bdaead2d02dca89d4" - integrity sha512-aExlJShTV4qOUOL7yF1U5tvLCB0xQuudbf6toyYA0E/acBNw71mvjFTnLaRp50aQaYocMR0a/RMMBIHeZnGyjQ== - format-util@1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/format-util/-/format-util-1.0.5.tgz#1ffb450c8a03e7bccffe40643180918cc297d271" integrity sha512-varLbTj0e0yVyRpqQhuWV+8hlePAgaoFRhNFj50BNjEIrw1/DphHSObtqwskVCPWNgzwPoQrZAbfa/SBiicNeg== -fs-extra@^10.1.0: - version "10.1.0" - resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-10.1.0.tgz#02873cfbc4084dde127eaa5f9905eef2325d1abf" - integrity sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ== - dependencies: - graceful-fs "^4.2.0" - jsonfile "^6.0.1" - universalify "^2.0.0" - fs.realpath@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" @@ -810,30 +198,11 @@ fsevents@~2.3.2: resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a" integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA== -function-bind@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" - integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== - get-caller-file@^2.0.5: version "2.0.5" resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== -get-intrinsic@^1.0.2: - version "1.1.1" - resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.1.1.tgz#15f59f376f855c446963948f0d24cd3637b4abc6" - integrity sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q== - dependencies: - function-bind "^1.1.1" - has "^1.0.3" - has-symbols "^1.0.1" - -get-stream@^6.0.0: - version "6.0.1" - resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-6.0.1.tgz#a262d8eef67aced57c2852ad6167526a43cbf7b7" - integrity sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg== - glob-parent@~5.1.2: version "5.1.2" resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4" @@ -841,11 +210,6 @@ glob-parent@~5.1.2: dependencies: is-glob "^4.0.1" -glob-to-regexp@^0.4.1: - version "0.4.1" - resolved "https://registry.yarnpkg.com/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz#c75297087c851b9a578bd217dd59a92f59fe546e" - integrity sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw== - glob@7.1.7: version "7.1.7" resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.7.tgz#3b193e9233f01d42d0b3f78294bbeeb418f94a90" @@ -858,23 +222,6 @@ glob@7.1.7: once "^1.3.0" path-is-absolute "^1.0.0" -glob@^7.1.3, glob@^7.1.7: - version "7.2.0" - resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.0.tgz#d15535af7732e02e948f4c41628bd910293f6023" - integrity sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q== - dependencies: - fs.realpath "^1.0.0" - inflight "^1.0.4" - inherits "2" - minimatch "^3.0.4" - once "^1.3.0" - path-is-absolute "^1.0.0" - -graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.4, graceful-fs@^4.2.6: - version "4.2.10" - resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.10.tgz#147d3a006da4ca3ce14728c7aefc287c367d7a6c" - integrity sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA== - growl@1.10.5: version "1.10.5" resolved "https://registry.yarnpkg.com/growl/-/growl-1.10.5.tgz#f2735dc2283674fa67478b10181059355c369e5e" @@ -885,70 +232,11 @@ has-flag@^4.0.0: resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b" integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ== -has-symbols@^1.0.1: - version "1.0.3" - resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.3.tgz#bb7b2c4349251dce87b125f7bdf874aa7c8b39f8" - integrity sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A== - -has@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796" - integrity sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw== - dependencies: - function-bind "^1.1.1" - he@1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/he/-/he-1.2.0.tgz#84ae65fa7eafb165fddb61566ae14baf05664f0f" integrity sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw== -http-errors@2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-2.0.0.tgz#b7774a1486ef73cf7667ac9ae0858c012c57b9d3" - integrity sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ== - dependencies: - depd "2.0.0" - inherits "2.0.4" - setprototypeof "1.2.0" - statuses "2.0.1" - toidentifier "1.0.1" - -http-proxy@^1.18.1: - version "1.18.1" - resolved "https://registry.yarnpkg.com/http-proxy/-/http-proxy-1.18.1.tgz#401541f0534884bbf95260334e72f88ee3976549" - integrity sha512-7mz/721AbnJwIVbnaSv1Cz3Am0ZLT/UBwkC92VlxhXv/k/BBQfM2fXElQNC27BVGr0uwUpplYPQM9LnaBMR5NQ== - dependencies: - eventemitter3 "^4.0.0" - follow-redirects "^1.0.0" - requires-port "^1.0.0" - -human-signals@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0" - integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw== - -iconv-lite@0.4.24: - version "0.4.24" - resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b" - integrity sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA== - dependencies: - safer-buffer ">= 2.1.2 < 3" - -iconv-lite@^0.6.2: - version "0.6.3" - resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.6.3.tgz#a52f80bf38da1952eb5c681790719871a1a72501" - integrity sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw== - dependencies: - safer-buffer ">= 2.1.2 < 3.0.0" - -import-local@^3.0.2: - version "3.1.0" - resolved "https://registry.yarnpkg.com/import-local/-/import-local-3.1.0.tgz#b4479df8a5fd44f6cdce24070675676063c95cb4" - integrity sha512-ASB07uLtnDs1o6EHjKpX34BKYDSqnFerfTOJL2HvMqF70LnxpjkzDB8J44oT9pu4AMPkQwf8jl6szgvNd2tRIg== - dependencies: - pkg-dir "^4.2.0" - resolve-cwd "^3.0.0" - inflight@^1.0.4: version "1.0.6" resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" @@ -957,16 +245,11 @@ inflight@^1.0.4: once "^1.3.0" wrappy "1" -inherits@2, inherits@2.0.4: +inherits@2: version "2.0.4" resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== -interpret@^2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/interpret/-/interpret-2.2.0.tgz#1a78a0b5965c40a5416d007ad6f50ad27c417df9" - integrity sha512-Ju0Bz/cEia55xDwUWEa8+olFpCiQoypjnQySseKtmjNrnps3P+xfpUmGr90T7yjlVJmOtybRvPXhKMbHr+fWnw== - is-binary-path@~2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-2.1.0.tgz#ea1f7f3b80f064236e83470f86c09c254fb45b09" @@ -974,13 +257,6 @@ is-binary-path@~2.1.0: dependencies: binary-extensions "^2.0.0" -is-core-module@^2.8.1: - version "2.9.0" - resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.9.0.tgz#e1c34429cd51c6dd9e09e0799e396e27b19a9c69" - integrity sha512-+5FPy5PnwmO3lvfMb0AsoPaBG+5KHUI0wYFXOtYPnVVVspTFUuMZNfNaNVRt3FZadstu2c8x23vykRW/NBoU6A== - dependencies: - has "^1.0.3" - is-extglob@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" @@ -1008,47 +284,16 @@ is-plain-obj@^2.1.0: resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-2.1.0.tgz#45e42e37fccf1f40da8e5f76ee21515840c09287" integrity sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA== -is-plain-object@^2.0.4: - version "2.0.4" - resolved "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-2.0.4.tgz#2c163b3fafb1b606d9d17928f05c2a1c38e07677" - integrity sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og== - dependencies: - isobject "^3.0.1" - -is-stream@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-2.0.1.tgz#fac1e3d53b97ad5a9d0ae9cef2389f5810a5c077" - integrity sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg== - is-unicode-supported@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz#3f26c76a809593b52bfa2ecb5710ed2779b522a7" integrity sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw== -isbinaryfile@^4.0.8: - version "4.0.10" - resolved "https://registry.yarnpkg.com/isbinaryfile/-/isbinaryfile-4.0.10.tgz#0c5b5e30c2557a2f06febd37b7322946aaee42b3" - integrity sha512-iHrqe5shvBUcFbmZq9zOQHBoeOhZJu6RQGrDpBgenUm/Am+F3JM2MgQj+rK3Z601fzrL5gLZWtAPH2OBaSVcyw== - isexe@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" integrity sha1-6PvzdNxVb/iUehDcsFctYz8s+hA= -isobject@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/isobject/-/isobject-3.0.1.tgz#4e431e92b11a9731636aa1f9c8d1ccbcfdab78df" - integrity sha1-TkMekrEalzFjaqH5yNHMvP2reN8= - -jest-worker@^27.4.5: - version "27.5.1" - resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-27.5.1.tgz#8d146f0900e8973b106b6f73cc1e9a8cb86f8db0" - integrity sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg== - dependencies: - "@types/node" "*" - merge-stream "^2.0.0" - supports-color "^8.0.0" - js-yaml@4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.1.0.tgz#c1fb65f8f5017901cdd2c951864ba18458a10602" @@ -1056,101 +301,6 @@ js-yaml@4.1.0: dependencies: argparse "^2.0.1" -json-parse-better-errors@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz#bb867cfb3450e69107c131d1c514bab3dc8bcaa9" - integrity sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw== - -json-schema-traverse@^0.4.1: - version "0.4.1" - resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660" - integrity sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg== - -jsonfile@^6.0.1: - version "6.1.0" - resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-6.1.0.tgz#bc55b2634793c679ec6403094eb13698a6ec0aae" - integrity sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ== - dependencies: - universalify "^2.0.0" - optionalDependencies: - graceful-fs "^4.1.6" - -karma-chrome-launcher@3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/karma-chrome-launcher/-/karma-chrome-launcher-3.1.0.tgz#805a586799a4d05f4e54f72a204979f3f3066738" - integrity sha512-3dPs/n7vgz1rxxtynpzZTvb9y/GIaW8xjAwcIGttLbycqoFtI7yo1NGnQi6oFTherRE+GIhCAHZC4vEqWGhNvg== - dependencies: - which "^1.2.1" - -karma-mocha@2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/karma-mocha/-/karma-mocha-2.0.1.tgz#4b0254a18dfee71bdbe6188d9a6861bf86b0cd7d" - integrity sha512-Tzd5HBjm8his2OA4bouAsATYEpZrp9vC7z5E5j4C5Of5Rrs1jY67RAwXNcVmd/Bnk1wgvQRou0zGVLey44G4tQ== - dependencies: - minimist "^1.2.3" - -karma-sourcemap-loader@0.3.8: - version "0.3.8" - resolved "https://registry.yarnpkg.com/karma-sourcemap-loader/-/karma-sourcemap-loader-0.3.8.tgz#d4bae72fb7a8397328a62b75013d2df937bdcf9c" - integrity sha512-zorxyAakYZuBcHRJE+vbrK2o2JXLFWK8VVjiT/6P+ltLBUGUvqTEkUiQ119MGdOrK7mrmxXHZF1/pfT6GgIZ6g== - dependencies: - graceful-fs "^4.1.2" - -karma-webpack@5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/karma-webpack/-/karma-webpack-5.0.0.tgz#2a2c7b80163fe7ffd1010f83f5507f95ef39f840" - integrity sha512-+54i/cd3/piZuP3dr54+NcFeKOPnys5QeM1IY+0SPASwrtHsliXUiCL50iW+K9WWA7RvamC4macvvQ86l3KtaA== - dependencies: - glob "^7.1.3" - minimatch "^3.0.4" - webpack-merge "^4.1.5" - -karma@6.3.4: - version "6.3.4" - resolved "https://registry.yarnpkg.com/karma/-/karma-6.3.4.tgz#359899d3aab3d6b918ea0f57046fd2a6b68565e6" - integrity sha512-hbhRogUYIulfkBTZT7xoPrCYhRBnBoqbbL4fszWD0ReFGUxU+LYBr3dwKdAluaDQ/ynT9/7C+Lf7pPNW4gSx4Q== - dependencies: - body-parser "^1.19.0" - braces "^3.0.2" - chokidar "^3.5.1" - colors "^1.4.0" - connect "^3.7.0" - di "^0.0.1" - dom-serialize "^2.2.1" - glob "^7.1.7" - graceful-fs "^4.2.6" - http-proxy "^1.18.1" - isbinaryfile "^4.0.8" - lodash "^4.17.21" - log4js "^6.3.0" - mime "^2.5.2" - minimatch "^3.0.4" - qjobs "^1.2.0" - range-parser "^1.2.1" - rimraf "^3.0.2" - socket.io "^3.1.0" - source-map "^0.6.1" - tmp "^0.2.1" - ua-parser-js "^0.7.28" - yargs "^16.1.1" - -kind-of@^6.0.2: - version "6.0.3" - resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-6.0.3.tgz#07c05034a6c349fa06e24fa35aa76db4580ce4dd" - integrity sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw== - -loader-runner@^4.2.0: - version "4.3.0" - resolved "https://registry.yarnpkg.com/loader-runner/-/loader-runner-4.3.0.tgz#c1b4a163b99f614830353b16755e7149ac2314e1" - integrity sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg== - -locate-path@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-5.0.0.tgz#1afba396afd676a6d42504d0a67a3a7eb9f62aa0" - integrity sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g== - dependencies: - p-locate "^4.1.0" - locate-path@^6.0.0: version "6.0.0" resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-6.0.0.tgz#55321eb309febbc59c4801d931a72452a681d286" @@ -1158,16 +308,6 @@ locate-path@^6.0.0: dependencies: p-locate "^5.0.0" -lodash.sortby@^4.7.0: - version "4.7.0" - resolved "https://registry.yarnpkg.com/lodash.sortby/-/lodash.sortby-4.7.0.tgz#edd14c824e2cc9c1e0b0a1b42bb5210516a42438" - integrity sha1-7dFMgk4sycHgsKG0K7UhBRakJDg= - -lodash@^4.17.15, lodash@^4.17.21: - version "4.17.21" - resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" - integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== - log-symbols@4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-4.1.0.tgz#3fbdbb95b4683ac9fc785111e792e558d4abd503" @@ -1176,49 +316,6 @@ log-symbols@4.1.0: chalk "^4.1.0" is-unicode-supported "^0.1.0" -log4js@^6.3.0: - version "6.4.6" - resolved "https://registry.yarnpkg.com/log4js/-/log4js-6.4.6.tgz#1878aa3f09973298ecb441345fe9dd714e355c15" - integrity sha512-1XMtRBZszmVZqPAOOWczH+Q94AI42mtNWjvjA5RduKTSWjEc56uOBbyM1CJnfN4Ym0wSd8cQ43zOojlSHgRDAw== - dependencies: - date-format "^4.0.9" - debug "^4.3.4" - flatted "^3.2.5" - rfdc "^1.3.0" - streamroller "^3.0.8" - -media-typer@0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/media-typer/-/media-typer-0.3.0.tgz#8710d7af0aa626f8fffa1ce00168545263255748" - integrity sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g= - -merge-stream@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60" - integrity sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w== - -mime-db@1.52.0: - version "1.52.0" - resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70" - integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg== - -mime-types@^2.1.27, mime-types@~2.1.24, mime-types@~2.1.34: - version "2.1.35" - resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.35.tgz#381a871b62a734450660ae3deee44813f70d959a" - integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw== - dependencies: - mime-db "1.52.0" - -mime@^2.5.2: - version "2.6.0" - resolved "https://registry.yarnpkg.com/mime/-/mime-2.6.0.tgz#a2a682a95cd4d0cb1d6257e28f83da7e35800367" - integrity sha512-USPkMeET31rOMiarsBNIHZKLGgvKc/LrjofAnBlOttf5ajRvqiRA8QsenbcooctK6d6Ts6aqZXBA+XbkKthiQg== - -mimic-fn@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b" - integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg== - minimatch@3.0.4: version "3.0.4" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" @@ -1233,11 +330,6 @@ minimatch@^3.0.4: dependencies: brace-expansion "^1.1.7" -minimist@^1.2.3: - version "1.2.6" - resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.6.tgz#8637a5b759ea0d6e98702cfb3a9283323c93af44" - integrity sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q== - mocha@9.1.2: version "9.1.2" resolved "https://registry.yarnpkg.com/mocha/-/mocha-9.1.2.tgz#93f53175b0f0dc4014bd2d612218fccfcf3534d3" @@ -1268,11 +360,6 @@ mocha@9.1.2: yargs-parser "20.2.4" yargs-unparser "2.0.0" -ms@2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" - integrity sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g= - ms@2.1.2: version "2.1.2" resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" @@ -1288,57 +375,11 @@ nanoid@3.1.25: resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.1.25.tgz#09ca32747c0e543f0e1814b7d3793477f9c8e152" integrity sha512-rdwtIXaXCLFAQbnfqDRnI6jaRHp9fTcYBjtFKE8eezcZ7LuLjhUaQGNeMXf1HmRoCH32CLz6XwX0TtxEOS/A3Q== -negotiator@0.6.3: - version "0.6.3" - resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.3.tgz#58e323a72fedc0d6f9cd4d31fe49f51479590ccd" - integrity sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg== - -neo-async@^2.6.2: - version "2.6.2" - resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.2.tgz#b4aafb93e3aeb2d8174ca53cf163ab7d7308305f" - integrity sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw== - -node-releases@^2.0.3: - version "2.0.4" - resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.4.tgz#f38252370c43854dc48aa431c766c6c398f40476" - integrity sha512-gbMzqQtTtDz/00jQzZ21PQzdI9PyLYqUSvD0p3naOhX4odFji0ZxYdnVwPTxmSwkmxhcFImpozceidSG+AgoPQ== - normalize-path@^3.0.0, normalize-path@~3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65" integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== -npm-run-path@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-4.0.1.tgz#b7ecd1e5ed53da8e37a55e1c2269e0b97ed748ea" - integrity sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw== - dependencies: - path-key "^3.0.0" - -object-assign@^4: - version "4.1.1" - resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" - integrity sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM= - -object-inspect@^1.9.0: - version "1.12.0" - resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.12.0.tgz#6e2c120e868fd1fd18cb4f18c31741d0d6e776f0" - integrity sha512-Ho2z80bVIvJloH+YzRmpZVQe87+qASmBUKZDWgx9cu+KDrX2ZDH/3tMy+gXbZETVGs2M8YdxObOh7XAtim9Y0g== - -on-finished@2.4.1: - version "2.4.1" - resolved "https://registry.yarnpkg.com/on-finished/-/on-finished-2.4.1.tgz#58c8c44116e54845ad57f14ab10b03533184ac3f" - integrity sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg== - dependencies: - ee-first "1.1.1" - -on-finished@~2.3.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/on-finished/-/on-finished-2.3.0.tgz#20f1336481b083cd75337992a16971aa2d906947" - integrity sha1-IPEzZIGwg811M3mSoWlxqi2QaUc= - dependencies: - ee-first "1.1.1" - once@^1.3.0: version "1.4.0" resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" @@ -1346,20 +387,6 @@ once@^1.3.0: dependencies: wrappy "1" -onetime@^5.1.2: - version "5.1.2" - resolved "https://registry.yarnpkg.com/onetime/-/onetime-5.1.2.tgz#d0e96ebb56b07476df1dd9c4806e5237985ca45e" - integrity sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg== - dependencies: - mimic-fn "^2.1.0" - -p-limit@^2.2.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-2.3.0.tgz#3dd33c647a214fdfffd835933eb086da0dc21db1" - integrity sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w== - dependencies: - p-try "^2.0.0" - p-limit@^3.0.2: version "3.1.0" resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-3.1.0.tgz#e1daccbe78d0d1388ca18c64fea38e3e57e3706b" @@ -1367,13 +394,6 @@ p-limit@^3.0.2: dependencies: yocto-queue "^0.1.0" -p-locate@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-4.1.0.tgz#a3428bb7088b3a60292f66919278b7c297ad4f07" - integrity sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A== - dependencies: - p-limit "^2.2.0" - p-locate@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-5.0.0.tgz#83c8315c6785005e3bd021839411c9e110e6d834" @@ -1381,16 +401,6 @@ p-locate@^5.0.0: dependencies: p-limit "^3.0.2" -p-try@^2.0.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/p-try/-/p-try-2.2.0.tgz#cb2868540e313d61de58fafbe35ce9004d5540e6" - integrity sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ== - -parseurl@~1.3.3: - version "1.3.3" - resolved "https://registry.yarnpkg.com/parseurl/-/parseurl-1.3.3.tgz#9da19e7bee8d12dff0513ed5b76957793bc2e8d4" - integrity sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ== - path-exists@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-4.0.0.tgz#513bdbe2d3b95d7762e8c1137efa195c6c61b5b3" @@ -1401,50 +411,11 @@ path-is-absolute@^1.0.0: resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" integrity sha1-F0uSaHNVNP+8es5r9TpanhtcX18= -path-key@^3.0.0, path-key@^3.1.0: - version "3.1.1" - resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375" - integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q== - -path-parse@^1.0.7: - version "1.0.7" - resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" - integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== - -picocolors@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.0.0.tgz#cb5bdc74ff3f51892236eaf79d68bc44564ab81c" - integrity sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ== - picomatch@^2.0.4, picomatch@^2.2.1: version "2.3.1" resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42" integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== -pkg-dir@^4.2.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-4.2.0.tgz#f099133df7ede422e81d1d8448270eeb3e4261f3" - integrity sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ== - dependencies: - find-up "^4.0.0" - -punycode@^2.1.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec" - integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A== - -qjobs@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/qjobs/-/qjobs-1.2.0.tgz#c45e9c61800bd087ef88d7e256423bdd49e5d071" - integrity sha512-8YOJEHtxpySA3fFDyCRxA+UUV+fA+rTWnuWvylOK/NCjhY+b4ocCtmu8TtsWb+mYeU+GCHf/S66KZF/AsteKHg== - -qs@6.10.3: - version "6.10.3" - resolved "https://registry.yarnpkg.com/qs/-/qs-6.10.3.tgz#d6cde1b2ffca87b5aa57889816c5f81535e22e8e" - integrity sha512-wr7M2E0OFRfIfJZjKGieI8lBKb7fRCH4Fv5KNPEs7gJ8jadvotdsS08PzOKR7opXhZ/Xkjtt3WF9g38drmyRqQ== - dependencies: - side-channel "^1.0.4" - randombytes@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a" @@ -1452,21 +423,6 @@ randombytes@^2.1.0: dependencies: safe-buffer "^5.1.0" -range-parser@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/range-parser/-/range-parser-1.2.1.tgz#3cf37023d199e1c24d1a55b84800c2f3e6468031" - integrity sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg== - -raw-body@2.5.1: - version "2.5.1" - resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-2.5.1.tgz#fe1b1628b181b700215e5fd42389f98b71392857" - integrity sha512-qqJBtEyVgS0ZmPGdCFPWJ3FreoqvG4MVQln/kCgF7Olq95IbOp0/BWyMwbdtn4VTvkM8Y7khCQ2Xgk/tcrCXig== - dependencies: - bytes "3.1.2" - http-errors "2.0.0" - iconv-lite "0.4.24" - unpipe "1.0.0" - readdirp@~3.6.0: version "3.6.0" resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-3.6.0.tgz#74a370bd857116e245b29cc97340cd431a02a6c7" @@ -1474,163 +430,23 @@ readdirp@~3.6.0: dependencies: picomatch "^2.2.1" -rechoir@^0.7.0: - version "0.7.1" - resolved "https://registry.yarnpkg.com/rechoir/-/rechoir-0.7.1.tgz#9478a96a1ca135b5e88fc027f03ee92d6c645686" - integrity sha512-/njmZ8s1wVeR6pjTZ+0nCnv8SpZNRMT2D1RLOJQESlYFDBvwpTA4KWJpZ+sBJ4+vhjILRcK7JIFdGCdxEAAitg== - dependencies: - resolve "^1.9.0" - require-directory@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" integrity sha1-jGStX9MNqxyXbiNE/+f3kqam30I= -requires-port@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/requires-port/-/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff" - integrity sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8= - -resolve-cwd@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/resolve-cwd/-/resolve-cwd-3.0.0.tgz#0f0075f1bb2544766cf73ba6a6e2adfebcb13f2d" - integrity sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg== - dependencies: - resolve-from "^5.0.0" - -resolve-from@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-5.0.0.tgz#c35225843df8f776df21c57557bc087e9dfdfc69" - integrity sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw== - -resolve@^1.9.0: - version "1.22.0" - resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.0.tgz#5e0b8c67c15df57a89bdbabe603a002f21731198" - integrity sha512-Hhtrw0nLeSrFQ7phPp4OOcVjLPIeMnRlr5mcnVuMe7M/7eBn98A3hmFRLoFo3DLZkivSYwhRUJTyPyWAk56WLw== - dependencies: - is-core-module "^2.8.1" - path-parse "^1.0.7" - supports-preserve-symlinks-flag "^1.0.0" - -rfdc@^1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/rfdc/-/rfdc-1.3.0.tgz#d0b7c441ab2720d05dc4cf26e01c89631d9da08b" - integrity sha512-V2hovdzFbOi77/WajaSMXk2OLm+xNIeQdMMuB7icj7bk6zi2F8GGAxigcnDFpJHbNyNcgyJDiP+8nOrY5cZGrA== - -rimraf@^3.0.0, rimraf@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a" - integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA== - dependencies: - glob "^7.1.3" - safe-buffer@^5.1.0: version "5.2.1" resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== -"safer-buffer@>= 2.1.2 < 3", "safer-buffer@>= 2.1.2 < 3.0.0": - version "2.1.2" - resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" - integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== - -schema-utils@^3.1.0, schema-utils@^3.1.1: - version "3.1.1" - resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-3.1.1.tgz#bc74c4b6b6995c1d88f76a8b77bea7219e0c8281" - integrity sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw== - dependencies: - "@types/json-schema" "^7.0.8" - ajv "^6.12.5" - ajv-keywords "^3.5.2" - -serialize-javascript@6.0.0, serialize-javascript@^6.0.0: +serialize-javascript@6.0.0: version "6.0.0" resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-6.0.0.tgz#efae5d88f45d7924141da8b5c3a7a7e663fefeb8" integrity sha512-Qr3TosvguFt8ePWqsvRfrKyQXIiW+nGbYpy8XK24NQHE83caxWt+mIymTT19DGFbNWNLfEwsrkSmN64lVWB9ag== dependencies: randombytes "^2.1.0" -setprototypeof@1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.2.0.tgz#66c9a24a73f9fc28cbe66b09fed3d33dcaf1b424" - integrity sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw== - -shallow-clone@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/shallow-clone/-/shallow-clone-3.0.1.tgz#8f2981ad92531f55035b01fb230769a40e02efa3" - integrity sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA== - dependencies: - kind-of "^6.0.2" - -shebang-command@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea" - integrity sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA== - dependencies: - shebang-regex "^3.0.0" - -shebang-regex@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172" - integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== - -side-channel@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/side-channel/-/side-channel-1.0.4.tgz#efce5c8fdc104ee751b25c58d4290011fa5ea2cf" - integrity sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw== - dependencies: - call-bind "^1.0.0" - get-intrinsic "^1.0.2" - object-inspect "^1.9.0" - -signal-exit@^3.0.3: - version "3.0.7" - resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9" - integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ== - -socket.io-adapter@~2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/socket.io-adapter/-/socket.io-adapter-2.1.0.tgz#edc5dc36602f2985918d631c1399215e97a1b527" - integrity sha512-+vDov/aTsLjViYTwS9fPy5pEtTkrbEKsw2M+oVSoFGw6OD1IpvlV1VPhUzNbofCQ8oyMbdYJqDtGdmHQK6TdPg== - -socket.io-parser@~4.0.3: - version "4.0.4" - resolved "https://registry.yarnpkg.com/socket.io-parser/-/socket.io-parser-4.0.4.tgz#9ea21b0d61508d18196ef04a2c6b9ab630f4c2b0" - integrity sha512-t+b0SS+IxG7Rxzda2EVvyBZbvFPBCjJoyHuE0P//7OAsN23GItzDRdWa6ALxZI/8R5ygK7jAR6t028/z+7295g== - dependencies: - "@types/component-emitter" "^1.2.10" - component-emitter "~1.3.0" - debug "~4.3.1" - -socket.io@^3.1.0: - version "3.1.2" - resolved "https://registry.yarnpkg.com/socket.io/-/socket.io-3.1.2.tgz#06e27caa1c4fc9617547acfbb5da9bc1747da39a" - integrity sha512-JubKZnTQ4Z8G4IZWtaAZSiRP3I/inpy8c/Bsx2jrwGrTbKeVU5xd6qkKMHpChYeM3dWZSO0QACiGK+obhBNwYw== - dependencies: - "@types/cookie" "^0.4.0" - "@types/cors" "^2.8.8" - "@types/node" ">=10.0.0" - accepts "~1.3.4" - base64id "~2.0.0" - debug "~4.3.1" - engine.io "~4.1.0" - socket.io-adapter "~2.1.0" - socket.io-parser "~4.0.3" - -source-map-js@^0.6.2: - version "0.6.2" - resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-0.6.2.tgz#0bb5de631b41cfbda6cfba8bd05a80efdfd2385e" - integrity sha512-/3GptzWzu0+0MBQFrDKzw/DvvMTUORvgY6k6jd/VS6iCR4RDTKWH6v6WPwQoUO8667uQEf9Oe38DxAYWY5F/Ug== - -source-map-loader@3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/source-map-loader/-/source-map-loader-3.0.0.tgz#f2a04ee2808ad01c774dea6b7d2639839f3b3049" - integrity sha512-GKGWqWvYr04M7tn8dryIWvb0s8YM41z82iQv01yBtIylgxax0CwvSy6gc2Y02iuXwEfGWRlMicH0nvms9UZphw== - dependencies: - abab "^2.0.5" - iconv-lite "^0.6.2" - source-map-js "^0.6.2" - source-map-support@0.5.20: version "0.5.20" resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.20.tgz#12166089f8f5e5e8c56926b377633392dd2cb6c9" @@ -1639,45 +455,11 @@ source-map-support@0.5.20: buffer-from "^1.0.0" source-map "^0.6.0" -source-map-support@~0.5.20: - version "0.5.21" - resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.21.tgz#04fe7c7f9e1ed2d662233c28cb2b35b9f63f6e4f" - integrity sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w== - dependencies: - buffer-from "^1.0.0" - source-map "^0.6.0" - -source-map@^0.6.0, source-map@^0.6.1: +source-map@^0.6.0: version "0.6.1" resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== -source-map@~0.8.0-beta.0: - version "0.8.0-beta.0" - resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.8.0-beta.0.tgz#d4c1bb42c3f7ee925f005927ba10709e0d1d1f11" - integrity sha512-2ymg6oRBpebeZi9UUNsgQ89bhx01TcTkmNTGnNO88imTmbSgy4nfujrgVEFKWpMTEGA11EDkTt7mqObTPdigIA== - dependencies: - whatwg-url "^7.0.0" - -statuses@2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/statuses/-/statuses-2.0.1.tgz#55cb000ccf1d48728bd23c685a063998cf1a1b63" - integrity sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ== - -statuses@~1.5.0: - version "1.5.0" - resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c" - integrity sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow= - -streamroller@^3.0.8: - version "3.0.8" - resolved "https://registry.yarnpkg.com/streamroller/-/streamroller-3.0.8.tgz#84b190e4080ee311ca1ebe0444e30ac8eedd028d" - integrity sha512-VI+ni3czbFZrd1MrlybxykWZ8sMDCMtTU7YJyhgb9M5X6d1DDxLdJr+gSnmRpXPMnIWxWKMaAE8K0WumBp3lDg== - dependencies: - date-format "^4.0.9" - debug "^4.3.4" - fs-extra "^10.1.0" - string-width@^4.1.0, string-width@^4.2.0: version "4.2.3" resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" @@ -1694,17 +476,12 @@ strip-ansi@^6.0.0, strip-ansi@^6.0.1: dependencies: ansi-regex "^5.0.1" -strip-final-newline@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/strip-final-newline/-/strip-final-newline-2.0.0.tgz#89b852fb2fcbe936f6f4b3187afb0a12c1ab58ad" - integrity sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA== - strip-json-comments@3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006" integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig== -supports-color@8.1.1, supports-color@^8.0.0: +supports-color@8.1.1: version "8.1.1" resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-8.1.1.tgz#cd6fc17e28500cff56c1b86c0a7fd4a54a73005c" integrity sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q== @@ -1718,44 +495,6 @@ supports-color@^7.1.0: dependencies: has-flag "^4.0.0" -supports-preserve-symlinks-flag@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" - integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w== - -tapable@^2.1.1, tapable@^2.2.0: - version "2.2.1" - resolved "https://registry.yarnpkg.com/tapable/-/tapable-2.2.1.tgz#1967a73ef4060a82f12ab96af86d52fdb76eeca0" - integrity sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ== - -terser-webpack-plugin@^5.1.3: - version "5.3.1" - resolved "https://registry.yarnpkg.com/terser-webpack-plugin/-/terser-webpack-plugin-5.3.1.tgz#0320dcc270ad5372c1e8993fabbd927929773e54" - integrity sha512-GvlZdT6wPQKbDNW/GDQzZFg/j4vKU96yl2q6mcUkzKOgW4gwf1Z8cZToUCrz31XHlPWH8MVb1r2tFtdDtTGJ7g== - dependencies: - jest-worker "^27.4.5" - schema-utils "^3.1.1" - serialize-javascript "^6.0.0" - source-map "^0.6.1" - terser "^5.7.2" - -terser@^5.7.2: - version "5.13.1" - resolved "https://registry.yarnpkg.com/terser/-/terser-5.13.1.tgz#66332cdc5a01b04a224c9fad449fc1a18eaa1799" - integrity sha512-hn4WKOfwnwbYfe48NgrQjqNOH9jzLqRcIfbYytOXCOv46LBfWr9bDS17MQqOi+BWGD0sJK3Sj5NC/gJjiojaoA== - dependencies: - acorn "^8.5.0" - commander "^2.20.0" - source-map "~0.8.0-beta.0" - source-map-support "~0.5.20" - -tmp@^0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.2.1.tgz#8457fc3037dcf4719c251367a1af6500ee1ccf14" - integrity sha512-76SUhtfqR2Ijn+xllcI5P1oyannHNHByD80W1q447gU3mp9G9PSpGdWmjUOHRDPiHYacIk66W7ubDTuPF3BEtQ== - dependencies: - rimraf "^3.0.0" - to-regex-range@^5.0.1: version "5.0.1" resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-5.0.1.tgz#1648c44aae7c8d988a326018ed72f5b4dd0392e4" @@ -1763,178 +502,13 @@ to-regex-range@^5.0.1: dependencies: is-number "^7.0.0" -toidentifier@1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/toidentifier/-/toidentifier-1.0.1.tgz#3be34321a88a820ed1bd80dfaa33e479fbb8dd35" - integrity sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA== - -tr46@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/tr46/-/tr46-1.0.1.tgz#a8b13fd6bfd2489519674ccde55ba3693b706d09" - integrity sha1-qLE/1r/SSJUZZ0zN5VujaTtwbQk= - dependencies: - punycode "^2.1.0" - -type-is@~1.6.18: - version "1.6.18" - resolved "https://registry.yarnpkg.com/type-is/-/type-is-1.6.18.tgz#4e552cd05df09467dcbc4ef739de89f2cf37c131" - integrity sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g== - dependencies: - media-typer "0.3.0" - mime-types "~2.1.24" - -ua-parser-js@^0.7.28: - version "0.7.31" - resolved "https://registry.yarnpkg.com/ua-parser-js/-/ua-parser-js-0.7.31.tgz#649a656b191dffab4f21d5e053e27ca17cbff5c6" - integrity sha512-qLK/Xe9E2uzmYI3qLeOmI0tEOt+TBBQyUIAh4aAgU05FVYzeZrKUdkAZfBNVGRaHVgV0TDkdEngJSw/SyQchkQ== - -universalify@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/universalify/-/universalify-2.0.0.tgz#75a4984efedc4b08975c5aeb73f530d02df25717" - integrity sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ== - -unpipe@1.0.0, unpipe@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec" - integrity sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw= - -uri-js@^4.2.2: - version "4.4.1" - resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-4.4.1.tgz#9b1a52595225859e55f669d928f88c6c57f2a77e" - integrity sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg== - dependencies: - punycode "^2.1.0" - -utils-merge@1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/utils-merge/-/utils-merge-1.0.1.tgz#9f95710f50a267947b2ccc124741c1028427e713" - integrity sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM= - -v8-compile-cache@^2.2.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz#2de19618c66dc247dcfb6f99338035d8245a2cee" - integrity sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA== - -vary@^1: - version "1.1.2" - resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc" - integrity sha1-IpnwLG3tMNSllhsLn3RSShj2NPw= - -void-elements@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/void-elements/-/void-elements-2.0.1.tgz#c066afb582bb1cb4128d60ea92392e94d5e9dbec" - integrity sha1-wGavtYK7HLQSjWDqkjkulNXp2+w= - -watchpack@^2.2.0: - version "2.3.1" - resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-2.3.1.tgz#4200d9447b401156eeca7767ee610f8809bc9d25" - integrity sha512-x0t0JuydIo8qCNctdDrn1OzH/qDzk2+rdCOC3YzumZ42fiMqmQ7T3xQurykYMhYfHaPHTp4ZxAx2NfUo1K6QaA== - dependencies: - glob-to-regexp "^0.4.1" - graceful-fs "^4.1.2" - -webidl-conversions@^4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-4.0.2.tgz#a855980b1f0b6b359ba1d5d9fb39ae941faa63ad" - integrity sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg== - -webpack-cli@4.9.0: - version "4.9.0" - resolved "https://registry.yarnpkg.com/webpack-cli/-/webpack-cli-4.9.0.tgz#dc43e6e0f80dd52e89cbf73d5294bcd7ad6eb343" - integrity sha512-n/jZZBMzVEl4PYIBs+auy2WI0WTQ74EnJDiyD98O2JZY6IVIHJNitkYp/uTXOviIOMfgzrNvC9foKv/8o8KSZw== - dependencies: - "@discoveryjs/json-ext" "^0.5.0" - "@webpack-cli/configtest" "^1.1.0" - "@webpack-cli/info" "^1.4.0" - "@webpack-cli/serve" "^1.6.0" - colorette "^2.0.14" - commander "^7.0.0" - execa "^5.0.0" - fastest-levenshtein "^1.0.12" - import-local "^3.0.2" - interpret "^2.2.0" - rechoir "^0.7.0" - v8-compile-cache "^2.2.0" - webpack-merge "^5.7.3" - -webpack-merge@^4.1.5: - version "4.2.2" - resolved "https://registry.yarnpkg.com/webpack-merge/-/webpack-merge-4.2.2.tgz#a27c52ea783d1398afd2087f547d7b9d2f43634d" - integrity sha512-TUE1UGoTX2Cd42j3krGYqObZbOD+xF7u28WB7tfUordytSjbWTIjK/8V0amkBfTYN4/pB/GIDlJZZ657BGG19g== - dependencies: - lodash "^4.17.15" - -webpack-merge@^5.7.3: - version "5.8.0" - resolved "https://registry.yarnpkg.com/webpack-merge/-/webpack-merge-5.8.0.tgz#2b39dbf22af87776ad744c390223731d30a68f61" - integrity sha512-/SaI7xY0831XwP6kzuwhKWVKDP9t1QY1h65lAFLbZqMPIuYcD9QAW4u9STIbU9kaJbPBB/geU/gLr1wDjOhQ+Q== - dependencies: - clone-deep "^4.0.1" - wildcard "^2.0.0" - -webpack-sources@^3.2.0: - version "3.2.3" - resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-3.2.3.tgz#2d4daab8451fd4b240cc27055ff6a0c2ccea0cde" - integrity sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w== - -webpack@5.57.1: - version "5.57.1" - resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.57.1.tgz#ead5ace2c17ecef2ae8126f143bfeaa7f55eab44" - integrity sha512-kHszukYjTPVfCOEyrUthA3jqJwduY/P3eO8I0gMNOZGIQWKAwZftxmp5hq6paophvwo9NoUrcZOecs9ulOyyTg== - dependencies: - "@types/eslint-scope" "^3.7.0" - "@types/estree" "^0.0.50" - "@webassemblyjs/ast" "1.11.1" - "@webassemblyjs/wasm-edit" "1.11.1" - "@webassemblyjs/wasm-parser" "1.11.1" - acorn "^8.4.1" - acorn-import-assertions "^1.7.6" - browserslist "^4.14.5" - chrome-trace-event "^1.0.2" - enhanced-resolve "^5.8.3" - es-module-lexer "^0.9.0" - eslint-scope "5.1.1" - events "^3.2.0" - glob-to-regexp "^0.4.1" - graceful-fs "^4.2.4" - json-parse-better-errors "^1.0.2" - loader-runner "^4.2.0" - mime-types "^2.1.27" - neo-async "^2.6.2" - schema-utils "^3.1.0" - tapable "^2.1.1" - terser-webpack-plugin "^5.1.3" - watchpack "^2.2.0" - webpack-sources "^3.2.0" - -whatwg-url@^7.0.0: - version "7.1.0" - resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-7.1.0.tgz#c2c492f1eca612988efd3d2266be1b9fc6170d06" - integrity sha512-WUu7Rg1DroM7oQvGWfOiAK21n74Gg+T4elXEQYkOhtyLeWiJFoOGLXPKI/9gzIie9CtwVLm8wtw6YJdKyxSjeg== - dependencies: - lodash.sortby "^4.7.0" - tr46 "^1.0.1" - webidl-conversions "^4.0.2" - -which@2.0.2, which@^2.0.1: +which@2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/which/-/which-2.0.2.tgz#7c6a8dd0a636a0327e10b59c9286eee93f3f51b1" integrity sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA== dependencies: isexe "^2.0.0" -which@^1.2.1: - version "1.3.1" - resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a" - integrity sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ== - dependencies: - isexe "^2.0.0" - -wildcard@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/wildcard/-/wildcard-2.0.0.tgz#a77d20e5200c6faaac979e4b3aadc7b3dd7f8fec" - integrity sha512-JcKqAHLPxcdb9KM49dufGXn2x3ssnfjbcaQdLlfZsL9rH9wgDQjUtDxbo8NE0F6SFvydeu1VhZe7hZuHsB2/pw== - workerpool@6.1.5: version "6.1.5" resolved "https://registry.yarnpkg.com/workerpool/-/workerpool-6.1.5.tgz#0f7cf076b6215fd7e1da903ff6f22ddd1886b581" @@ -1954,11 +528,6 @@ wrappy@1: resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" integrity sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8= -ws@~7.4.2: - version "7.4.6" - resolved "https://registry.yarnpkg.com/ws/-/ws-7.4.6.tgz#5654ca8ecdeee47c33a9a4bf6d28e2be2980377c" - integrity sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A== - y18n@^5.0.5: version "5.0.8" resolved "https://registry.yarnpkg.com/y18n/-/y18n-5.0.8.tgz#7f4934d0f7ca8c56f95314939ddcd2dd91ce1d55" @@ -1984,7 +553,7 @@ yargs-unparser@2.0.0: flat "^5.0.2" is-plain-obj "^2.1.0" -yargs@16.2.0, yargs@^16.1.1: +yargs@16.2.0: version "16.2.0" resolved "https://registry.yarnpkg.com/yargs/-/yargs-16.2.0.tgz#1c82bf0f6b6a66eafce7ef30e376f49a12477f66" integrity sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw== diff --git a/ktoml-core/build.gradle.kts b/ktoml-core/build.gradle.kts index f5a53a68..d9dc4aba 100644 --- a/ktoml-core/build.gradle.kts +++ b/ktoml-core/build.gradle.kts @@ -12,7 +12,6 @@ kotlin { explicitApi() js(IR) { - browser() nodejs() } diff --git a/ktoml-core/src/commonMain/kotlin/com/akuleshov7/ktoml/decoders/TomlAbstractDecoder.kt b/ktoml-core/src/commonMain/kotlin/com/akuleshov7/ktoml/decoders/TomlAbstractDecoder.kt index 12a638f2..11866792 100644 --- a/ktoml-core/src/commonMain/kotlin/com/akuleshov7/ktoml/decoders/TomlAbstractDecoder.kt +++ b/ktoml-core/src/commonMain/kotlin/com/akuleshov7/ktoml/decoders/TomlAbstractDecoder.kt @@ -23,7 +23,7 @@ public abstract class TomlAbstractDecoder : AbstractDecoder() { // Invalid Toml primitive types, we will simply throw an error for them override fun decodeByte(): Byte = invalidType("Byte", "Long") override fun decodeShort(): Short = invalidType("Short", "Long") - override fun decodeInt(): Int = invalidType("Int", "Long") + override fun decodeInt(): Int = decodePrimitiveType() override fun decodeFloat(): Float = invalidType("Float", "Double") override fun decodeChar(): Char = invalidType("Char", "String") diff --git a/ktoml-core/src/commonTest/kotlin/com/akuleshov7/ktoml/decoders/ReadMeExampleTest.kt b/ktoml-core/src/commonTest/kotlin/com/akuleshov7/ktoml/decoders/ReadMeExampleTest.kt index f91e010a..4c3e589c 100644 --- a/ktoml-core/src/commonTest/kotlin/com/akuleshov7/ktoml/decoders/ReadMeExampleTest.kt +++ b/ktoml-core/src/commonTest/kotlin/com/akuleshov7/ktoml/decoders/ReadMeExampleTest.kt @@ -1,7 +1,6 @@ package com.akuleshov7.ktoml.decoders import com.akuleshov7.ktoml.Toml -import com.akuleshov7.ktoml.tree.TomlInlineTable import kotlinx.serialization.decodeFromString import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable diff --git a/ktoml-file/build.gradle.kts b/ktoml-file/build.gradle.kts index 2a93d6e3..a18bdbd4 100644 --- a/ktoml-file/build.gradle.kts +++ b/ktoml-file/build.gradle.kts @@ -66,6 +66,7 @@ kotlin { dependencies { implementation(kotlin("test-common")) implementation(kotlin("test-annotations-common")) + implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:${Versions.SERIALIZATION}") } } diff --git a/ktoml-file/src/commonTest/kotlin/com.akuleshov7.certification/CertificationTest.kt b/ktoml-file/src/commonTest/kotlin/com.akuleshov7.certification/CertificationTest.kt new file mode 100644 index 00000000..46d571a4 --- /dev/null +++ b/ktoml-file/src/commonTest/kotlin/com.akuleshov7.certification/CertificationTest.kt @@ -0,0 +1,35 @@ +package com.akuleshov7.certification + +import com.akuleshov7.certification.schemas.* +import com.akuleshov7.ktoml.Toml +import com.akuleshov7.ktoml.file.getOsSpecificFileSystem +import kotlinx.serialization.decodeFromString +import kotlinx.serialization.json.Json +import okio.Path.Companion.toPath +import kotlin.test.Test + +class CertificationTest { + @Test + fun `VALID parse TOML files and compare it with JSON result`() { + val jsonPath = "src/commonTest/resources/toml_certification/valid/array/array.json".toPath() + val tomlPath = "src/commonTest/resources/toml_certification/valid/array/array.toml".toPath() + + val toml = getOsSpecificFileSystem().read(tomlPath) { + generateSequence { readUtf8Line() }.toList() + } + + val json = getOsSpecificFileSystem().read(jsonPath) { + generateSequence { readUtf8Line() }.toList() + } + + println( + Json.decodeFromString(json.joinToString("\n")) + == Toml.decodeFromString(toml.joinToString("\n")) + ) + } + + @Test + fun `INVALID fail during parsing of TOML`() { + + } +} diff --git a/ktoml-file/src/commonTest/kotlin/com.akuleshov7.certification/schemas/Schemas.kt b/ktoml-file/src/commonTest/kotlin/com.akuleshov7.certification/schemas/Schemas.kt new file mode 100644 index 00000000..7696b6cc --- /dev/null +++ b/ktoml-file/src/commonTest/kotlin/com.akuleshov7.certification/schemas/Schemas.kt @@ -0,0 +1,13 @@ +package com.akuleshov7.certification.schemas + +import kotlinx.datetime.LocalDateTime +import kotlinx.serialization.Serializable + +@Serializable +data class ArrayCertification( + val ints: List, + val floats: List, + val dates: List, + val comments: List, + val strings: List +) \ No newline at end of file diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/array/missing-separator.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/array/missing-separator.toml new file mode 100644 index 00000000..ab3791af --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/array/missing-separator.toml @@ -0,0 +1 @@ +wrong = [ 1 2 3 ] diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/array/no-close-2.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/array/no-close-2.toml new file mode 100644 index 00000000..2f46123f --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/array/no-close-2.toml @@ -0,0 +1 @@ +x = [42 # diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/array/no-close-table-2.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/array/no-close-table-2.toml new file mode 100644 index 00000000..827c1284 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/array/no-close-table-2.toml @@ -0,0 +1 @@ +x = [{ key = 42 # diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/array/no-close-table.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/array/no-close-table.toml new file mode 100644 index 00000000..7b077beb --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/array/no-close-table.toml @@ -0,0 +1 @@ +x = [{ key = 42 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/array/no-close.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/array/no-close.toml new file mode 100644 index 00000000..032ebcc2 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/array/no-close.toml @@ -0,0 +1 @@ +long_array = [ 1, 2, 3 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/array/tables-1.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/array/tables-1.toml new file mode 100644 index 00000000..01d4d138 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/array/tables-1.toml @@ -0,0 +1,4 @@ +# INVALID TOML DOC +fruit = [] + +[[fruit]] # Not allowed diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/array/tables-2.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/array/tables-2.toml new file mode 100644 index 00000000..a77b0e4d --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/array/tables-2.toml @@ -0,0 +1,10 @@ +# INVALID TOML DOC +[[fruit]] + name = "apple" + + [[fruit.variety]] + name = "red delicious" + + # This table conflicts with the previous table + [fruit.variety] + name = "granny smith" diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/array/text-after-array-entries.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/array/text-after-array-entries.toml new file mode 100644 index 00000000..1a728907 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/array/text-after-array-entries.toml @@ -0,0 +1,4 @@ +array = [ + "Is there life after an array separator?", No + "Entry" +] diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/array/text-before-array-separator.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/array/text-before-array-separator.toml new file mode 100644 index 00000000..9b06a392 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/array/text-before-array-separator.toml @@ -0,0 +1,4 @@ +array = [ + "Is there life before an array separator?" No, + "Entry" +] diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/array/text-in-array.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/array/text-in-array.toml new file mode 100644 index 00000000..a6a6c420 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/array/text-in-array.toml @@ -0,0 +1,5 @@ +array = [ + "Entry 1", + I don't belong, + "Entry 2", +] diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/bool/almost-false-with-extra.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/bool/almost-false-with-extra.toml new file mode 100644 index 00000000..047911e1 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/bool/almost-false-with-extra.toml @@ -0,0 +1 @@ +a = falsify diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/bool/almost-false.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/bool/almost-false.toml new file mode 100644 index 00000000..90d612dd --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/bool/almost-false.toml @@ -0,0 +1 @@ +a = fals diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/bool/almost-true-with-extra.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/bool/almost-true-with-extra.toml new file mode 100644 index 00000000..b8946f32 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/bool/almost-true-with-extra.toml @@ -0,0 +1 @@ +a = truthy diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/bool/almost-true.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/bool/almost-true.toml new file mode 100644 index 00000000..e9a61459 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/bool/almost-true.toml @@ -0,0 +1 @@ +a = tru diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/bool/just-f.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/bool/just-f.toml new file mode 100644 index 00000000..b7dfb900 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/bool/just-f.toml @@ -0,0 +1 @@ +a = f diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/bool/just-t.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/bool/just-t.toml new file mode 100644 index 00000000..26e457a9 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/bool/just-t.toml @@ -0,0 +1 @@ +a = t diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/bool/mixed-case.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/bool/mixed-case.toml new file mode 100644 index 00000000..41d995a2 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/bool/mixed-case.toml @@ -0,0 +1 @@ +valid = False diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/bool/starting-same-false.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/bool/starting-same-false.toml new file mode 100644 index 00000000..19dfb8d0 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/bool/starting-same-false.toml @@ -0,0 +1 @@ +a = falsey diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/bool/starting-same-true.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/bool/starting-same-true.toml new file mode 100644 index 00000000..bf2f7842 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/bool/starting-same-true.toml @@ -0,0 +1 @@ +a = truer diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/bool/wrong-case-false.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/bool/wrong-case-false.toml new file mode 100644 index 00000000..39822209 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/bool/wrong-case-false.toml @@ -0,0 +1 @@ +b = FALSE diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/bool/wrong-case-true.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/bool/wrong-case-true.toml new file mode 100644 index 00000000..85e34c5e --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/bool/wrong-case-true.toml @@ -0,0 +1 @@ +a = TRUE diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/bare-cr.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/bare-cr.toml new file mode 100644 index 00000000..37f4ce4c --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/bare-cr.toml @@ -0,0 +1,2 @@ +# The following line contains a single carriage return control character + \ No newline at end of file diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/bare-formfeed.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/bare-formfeed.toml new file mode 100644 index 00000000..508a6508 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/bare-formfeed.toml @@ -0,0 +1 @@ +bare-formfeed = diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/bare-null.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/bare-null.toml new file mode 100644 index 00000000..cf15002a Binary files /dev/null and b/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/bare-null.toml differ diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/bare-vertical-tab.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/bare-vertical-tab.toml new file mode 100644 index 00000000..abacefd2 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/bare-vertical-tab.toml @@ -0,0 +1 @@ +bare-vertical-tab = diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/comment-cr.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/comment-cr.toml new file mode 100644 index 00000000..3ce1cb45 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/comment-cr.toml @@ -0,0 +1 @@ +comment-cr = "Carriage return in comment" # a=1 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/comment-del.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/comment-del.toml new file mode 100644 index 00000000..fb904007 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/comment-del.toml @@ -0,0 +1 @@ +comment-del = "0x7f" #  diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/comment-lf.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/comment-lf.toml new file mode 100644 index 00000000..f6e963e0 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/comment-lf.toml @@ -0,0 +1 @@ +comment-lf = "ctrl-P" #  diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/comment-null.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/comment-null.toml new file mode 100644 index 00000000..2c903729 Binary files /dev/null and b/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/comment-null.toml differ diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/comment-us.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/comment-us.toml new file mode 100644 index 00000000..c685b798 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/comment-us.toml @@ -0,0 +1 @@ +comment-us = "ctrl-_" #  diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/control.multi b/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/control.multi new file mode 100644 index 00000000..d23b6a64 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/control.multi @@ -0,0 +1,33 @@ +# "\x.." sequences are replaced with literal control characters. + +comment-null = "null" # \x00 +comment-lf = "ctrl-P" # \x10 +comment-us = "ctrl-_" # \x1f +comment-del = "0x7f" # \x7f +comment-cr = "Carriage return in comment" # \x0da=1 + +string-null = "null\x00" +string-lf = "null\x10" +string-us = "null\x1f" +string-del = "null\x7f" + +rawstring-null = 'null\x00' +rawstring-lf = 'null\x10' +rawstring-us = 'null\x1f' +rawstring-del = 'null\x7f' + +multi-null = """null\x00""" +multi-lf = """null\x10""" +multi-us = """null\x1f""" +multi-del = """null\x7f""" + +rawmulti-null = '''null\x00''' +rawmulti-lf = '''null\x10''' +rawmulti-us = '''null\x1f''' +rawmulti-del = '''null\x7f''' + +string-bs = "backspace\x08" + +bare-null = "some value" \x00 +bare-formfeed = \x0c +bare-vertical-tab = \x0b diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/multi-del.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/multi-del.toml new file mode 100644 index 00000000..6629ae3b --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/multi-del.toml @@ -0,0 +1 @@ +multi-del = """null""" diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/multi-lf.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/multi-lf.toml new file mode 100644 index 00000000..f207d33f --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/multi-lf.toml @@ -0,0 +1 @@ +multi-lf = """null""" diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/multi-null.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/multi-null.toml new file mode 100644 index 00000000..ac6cb46c Binary files /dev/null and b/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/multi-null.toml differ diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/multi-us.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/multi-us.toml new file mode 100644 index 00000000..b923ca9e --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/multi-us.toml @@ -0,0 +1 @@ +multi-us = """null""" diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/rawmulti-del.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/rawmulti-del.toml new file mode 100644 index 00000000..17cde077 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/rawmulti-del.toml @@ -0,0 +1 @@ +rawmulti-del = '''null''' diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/rawmulti-lf.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/rawmulti-lf.toml new file mode 100644 index 00000000..360d4898 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/rawmulti-lf.toml @@ -0,0 +1 @@ +rawmulti-lf = '''null''' diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/rawmulti-null.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/rawmulti-null.toml new file mode 100644 index 00000000..1b5bd092 Binary files /dev/null and b/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/rawmulti-null.toml differ diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/rawmulti-us.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/rawmulti-us.toml new file mode 100644 index 00000000..02514207 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/rawmulti-us.toml @@ -0,0 +1 @@ +rawmulti-us = '''null''' diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/rawstring-del.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/rawstring-del.toml new file mode 100644 index 00000000..8d83ba8e --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/rawstring-del.toml @@ -0,0 +1 @@ +rawstring-del = 'null' diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/rawstring-lf.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/rawstring-lf.toml new file mode 100644 index 00000000..237470ae --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/rawstring-lf.toml @@ -0,0 +1 @@ +rawstring-lf = 'null' diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/rawstring-null.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/rawstring-null.toml new file mode 100644 index 00000000..2d8d0b4c Binary files /dev/null and b/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/rawstring-null.toml differ diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/rawstring-us.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/rawstring-us.toml new file mode 100644 index 00000000..76cb08c0 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/rawstring-us.toml @@ -0,0 +1 @@ +rawstring-us = 'null' diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/string-bs.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/string-bs.toml new file mode 100644 index 00000000..0061c485 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/string-bs.toml @@ -0,0 +1 @@ +string-bs = "backspace" diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/string-del.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/string-del.toml new file mode 100644 index 00000000..bc0ec7fb --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/string-del.toml @@ -0,0 +1 @@ +string-del = "null" diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/string-lf.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/string-lf.toml new file mode 100644 index 00000000..0cf9218d --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/string-lf.toml @@ -0,0 +1 @@ +string-lf = "null" diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/string-null.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/string-null.toml new file mode 100644 index 00000000..821c72c3 Binary files /dev/null and b/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/string-null.toml differ diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/string-us.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/string-us.toml new file mode 100644 index 00000000..af31f57b --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/control/string-us.toml @@ -0,0 +1 @@ +string-us = "null" diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/datetime/hour-over.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/datetime/hour-over.toml new file mode 100644 index 00000000..d4b89b6a --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/datetime/hour-over.toml @@ -0,0 +1,2 @@ +# time-hour = 2DIGIT ; 00-23 +d = 2006-01-01T24:00:00-00:00 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/datetime/mday-over.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/datetime/mday-over.toml new file mode 100644 index 00000000..600a4095 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/datetime/mday-over.toml @@ -0,0 +1,3 @@ +# date-mday = 2DIGIT ; 01-28, 01-29, 01-30, 01-31 based on +# ; month/year +d = 2006-01-32T00:00:00-00:00 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/datetime/mday-under.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/datetime/mday-under.toml new file mode 100644 index 00000000..689fc98f --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/datetime/mday-under.toml @@ -0,0 +1,3 @@ +# date-mday = 2DIGIT ; 01-28, 01-29, 01-30, 01-31 based on +# ; month/year +d = 2006-01-00T00:00:00-00:00 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/datetime/minute-over.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/datetime/minute-over.toml new file mode 100644 index 00000000..1532d79a --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/datetime/minute-over.toml @@ -0,0 +1,2 @@ +# time-minute = 2DIGIT ; 00-59 +d = 2006-01-01T00:60:00-00:00 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/datetime/month-over.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/datetime/month-over.toml new file mode 100644 index 00000000..c7d40c92 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/datetime/month-over.toml @@ -0,0 +1,2 @@ +# date-month = 2DIGIT ; 01-12 +d = 2006-13-01T00:00:00-00:00 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/datetime/month-under.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/datetime/month-under.toml new file mode 100644 index 00000000..503f60a1 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/datetime/month-under.toml @@ -0,0 +1,2 @@ +# date-month = 2DIGIT ; 01-12 +d = 2007-00-01T00:00:00-00:00 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/datetime/no-leads-with-milli.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/datetime/no-leads-with-milli.toml new file mode 100644 index 00000000..6e3d2e3b --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/datetime/no-leads-with-milli.toml @@ -0,0 +1,2 @@ +# Day "5" instead of "05"; the leading zero is required. +with-milli = 1987-07-5T17:45:00.12Z diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/datetime/no-leads.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/datetime/no-leads.toml new file mode 100644 index 00000000..6700d1cd --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/datetime/no-leads.toml @@ -0,0 +1,2 @@ +# Month "7" instead of "07"; the leading zero is required. +no-leads = 1987-7-05T17:45:00Z diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/datetime/no-secs.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/datetime/no-secs.toml new file mode 100644 index 00000000..bbd196af --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/datetime/no-secs.toml @@ -0,0 +1,2 @@ +# No seconds in time. +no-secs = 1987-07-05T17:45Z diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/datetime/no-t.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/datetime/no-t.toml new file mode 100644 index 00000000..8d872601 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/datetime/no-t.toml @@ -0,0 +1,2 @@ +# No "t" or "T" between the date and time. +no-t = 1987-07-0517:45:00Z diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/datetime/second-over.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/datetime/second-over.toml new file mode 100644 index 00000000..49217048 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/datetime/second-over.toml @@ -0,0 +1,3 @@ +# time-second = 2DIGIT ; 00-58, 00-59, 00-60 based on leap second +# ; rules +d = 2006-01-01T00:00:61-00:00 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/datetime/time-no-leads-2.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/datetime/time-no-leads-2.toml new file mode 100644 index 00000000..d7b84594 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/datetime/time-no-leads-2.toml @@ -0,0 +1,2 @@ +# Leading 0 is always required. +d = 01:32:0 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/datetime/time-no-leads.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/datetime/time-no-leads.toml new file mode 100644 index 00000000..8ad722ab --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/datetime/time-no-leads.toml @@ -0,0 +1,2 @@ +# Leading 0 is always required. +d = 1:32:00 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/datetime/trailing-t.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/datetime/trailing-t.toml new file mode 100644 index 00000000..38ee1dbf --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/datetime/trailing-t.toml @@ -0,0 +1,2 @@ +# Date cannot end with trailing T +d = 2006-01-30T diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/encoding/bad-utf8-at-end.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/encoding/bad-utf8-at-end.toml new file mode 100644 index 00000000..df5f0b06 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/encoding/bad-utf8-at-end.toml @@ -0,0 +1,5 @@ +# There is a 0xda at after the quotes, and no EOL at the end of the file. +# +# This is a bit of an edge case: This indicates there should be two bytes +# (0b1101_1010) but there is no byte to follow because it's the end of the file. +x = """"""Ú \ No newline at end of file diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/encoding/bad-utf8-in-comment.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/encoding/bad-utf8-in-comment.toml new file mode 100644 index 00000000..816fa469 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/encoding/bad-utf8-in-comment.toml @@ -0,0 +1 @@ +# à diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/encoding/bad-utf8-in-string.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/encoding/bad-utf8-in-string.toml new file mode 100644 index 00000000..6d376fb1 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/encoding/bad-utf8-in-string.toml @@ -0,0 +1,2 @@ +# The following line contains an invalid UTF-8 sequence. +bad = "Ã" diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/encoding/bom-not-at-start-1.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/encoding/bom-not-at-start-1.toml new file mode 100644 index 00000000..effe1f23 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/encoding/bom-not-at-start-1.toml @@ -0,0 +1 @@ +bom-not-at-start ÿý diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/encoding/bom-not-at-start-2.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/encoding/bom-not-at-start-2.toml new file mode 100644 index 00000000..71e52b41 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/encoding/bom-not-at-start-2.toml @@ -0,0 +1 @@ +bom-not-at-start= ÿý diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/encoding/utf16-bom.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/encoding/utf16-bom.toml new file mode 100644 index 00000000..95b5f960 Binary files /dev/null and b/ktoml-file/src/commonTest/resources/toml_certification/invalid/encoding/utf16-bom.toml differ diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/encoding/utf16.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/encoding/utf16.toml new file mode 100644 index 00000000..de3cbb2c Binary files /dev/null and b/ktoml-file/src/commonTest/resources/toml_certification/invalid/encoding/utf16.toml differ diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/double-point-1.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/double-point-1.toml new file mode 100644 index 00000000..2105fa9b --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/double-point-1.toml @@ -0,0 +1 @@ +double-point-1 = 0..1 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/double-point-2.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/double-point-2.toml new file mode 100644 index 00000000..1ef3d0b7 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/double-point-2.toml @@ -0,0 +1 @@ +double-point-2 = 0.1.2 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/exp-double-e-1.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/exp-double-e-1.toml new file mode 100644 index 00000000..ee568ce8 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/exp-double-e-1.toml @@ -0,0 +1 @@ +exp-double-e-1 = 1ee2 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/exp-double-e-2.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/exp-double-e-2.toml new file mode 100644 index 00000000..8fb01585 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/exp-double-e-2.toml @@ -0,0 +1 @@ +exp-double-e-2 = 1e2e3 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/exp-double-us.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/exp-double-us.toml new file mode 100644 index 00000000..63f94e6c --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/exp-double-us.toml @@ -0,0 +1 @@ +exp-double-us = 1e__23 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/exp-leading-us.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/exp-leading-us.toml new file mode 100644 index 00000000..1426f36a --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/exp-leading-us.toml @@ -0,0 +1 @@ +exp-leading-us = 1e_23 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/exp-point-1.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/exp-point-1.toml new file mode 100644 index 00000000..569590bb --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/exp-point-1.toml @@ -0,0 +1 @@ +exp-point-1 = 1e2.3 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/exp-point-2.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/exp-point-2.toml new file mode 100644 index 00000000..4a5e1d4d --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/exp-point-2.toml @@ -0,0 +1 @@ +exp-point-2 = 1.e2 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/exp-trailing-us.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/exp-trailing-us.toml new file mode 100644 index 00000000..07c06413 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/exp-trailing-us.toml @@ -0,0 +1 @@ +exp-trailing-us = 1e_23_ diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/float.multi b/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/float.multi new file mode 100644 index 00000000..07081954 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/float.multi @@ -0,0 +1,40 @@ +leading-zero = 03.14 +leading-zero-neg = -03.14 +leading-zero-plus = +03.14 + +leading-point = .12345 +leading-point-neg = -.12345 +leading-point-plus = +.12345 + +trailing-point = 1. +trailing-point-min = -1. +trailing-point-plus = +1. + +trailing-us = 1.2_ +leading-us = _1.2 +us-before-point = 1_.2 +us-after-point = 1._2 + +double-point-1 = 0..1 +double-point-2 = 0.1.2 + +exp-point-1 = 1e2.3 +exp-point-2 = 1.e2 + +exp-double-e-1 = 1ee2 +exp-double-e-2 = 1e2e3 + +exp-leading-us = 1e_23 +exp-trailing-us = 1e_23_ +exp-double-us = 1e__23 + +inf-incomplete-1 = in +inf-incomplete-2 = +in +inf-incomplete-3 = -in + +nan-incomplete-1 = na +nan-incomplete-2 = +na +nan-incomplete-3 = -na + +nan_underscore = na_n +inf_underscore = in_f diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/inf-incomplete-1.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/inf-incomplete-1.toml new file mode 100644 index 00000000..2c9ef598 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/inf-incomplete-1.toml @@ -0,0 +1 @@ +inf-incomplete-1 = in diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/inf-incomplete-2.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/inf-incomplete-2.toml new file mode 100644 index 00000000..afda7123 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/inf-incomplete-2.toml @@ -0,0 +1 @@ +inf-incomplete-2 = +in diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/inf-incomplete-3.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/inf-incomplete-3.toml new file mode 100644 index 00000000..bd827386 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/inf-incomplete-3.toml @@ -0,0 +1 @@ +inf-incomplete-3 = -in diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/inf_underscore.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/inf_underscore.toml new file mode 100644 index 00000000..8e6ab170 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/inf_underscore.toml @@ -0,0 +1 @@ +inf_underscore = in_f diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/leading-point-neg.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/leading-point-neg.toml new file mode 100644 index 00000000..74c526fc --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/leading-point-neg.toml @@ -0,0 +1 @@ +leading-point-neg = -.12345 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/leading-point-plus.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/leading-point-plus.toml new file mode 100644 index 00000000..85e23a28 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/leading-point-plus.toml @@ -0,0 +1 @@ +leading-point-plus = +.12345 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/leading-point.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/leading-point.toml new file mode 100644 index 00000000..a3c29b97 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/leading-point.toml @@ -0,0 +1 @@ +leading-point = .12345 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/leading-us.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/leading-us.toml new file mode 100644 index 00000000..fa94fd0f --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/leading-us.toml @@ -0,0 +1 @@ +leading-us = _1.2 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/leading-zero-neg.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/leading-zero-neg.toml new file mode 100644 index 00000000..94a4e70a --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/leading-zero-neg.toml @@ -0,0 +1 @@ +leading-zero-neg = -03.14 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/leading-zero-plus.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/leading-zero-plus.toml new file mode 100644 index 00000000..12bfd600 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/leading-zero-plus.toml @@ -0,0 +1 @@ +leading-zero-plus = +03.14 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/leading-zero.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/leading-zero.toml new file mode 100644 index 00000000..551fb255 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/leading-zero.toml @@ -0,0 +1 @@ +leading-zero = 03.14 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/nan-incomplete-1.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/nan-incomplete-1.toml new file mode 100644 index 00000000..df2e2613 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/nan-incomplete-1.toml @@ -0,0 +1 @@ +nan-incomplete-1 = na diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/nan-incomplete-2.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/nan-incomplete-2.toml new file mode 100644 index 00000000..6d2e8fb7 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/nan-incomplete-2.toml @@ -0,0 +1 @@ +nan-incomplete-2 = +na diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/nan-incomplete-3.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/nan-incomplete-3.toml new file mode 100644 index 00000000..9d365acf --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/nan-incomplete-3.toml @@ -0,0 +1 @@ +nan-incomplete-3 = -na diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/nan_underscore.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/nan_underscore.toml new file mode 100644 index 00000000..44c8bf16 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/nan_underscore.toml @@ -0,0 +1 @@ +nan_underscore = na_n diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/trailing-point-min.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/trailing-point-min.toml new file mode 100644 index 00000000..48741e3b --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/trailing-point-min.toml @@ -0,0 +1 @@ +trailing-point-min = -1. diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/trailing-point-plus.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/trailing-point-plus.toml new file mode 100644 index 00000000..99260390 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/trailing-point-plus.toml @@ -0,0 +1 @@ +trailing-point-plus = +1. diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/trailing-point.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/trailing-point.toml new file mode 100644 index 00000000..76c95d91 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/trailing-point.toml @@ -0,0 +1 @@ +trailing-point = 1. diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/trailing-us-exp.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/trailing-us-exp.toml new file mode 100644 index 00000000..7bba9715 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/trailing-us-exp.toml @@ -0,0 +1,4 @@ +# trailing underscore in integer part is not allowed +trailing-us-exp = 1_e2 +# trailing underscore in float part is not allowed +trailing-us-exp2 = 1.2_e2 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/trailing-us.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/trailing-us.toml new file mode 100644 index 00000000..ddfb7ba0 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/trailing-us.toml @@ -0,0 +1 @@ +trailing-us = 1.2_ diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/us-after-point.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/us-after-point.toml new file mode 100644 index 00000000..7f15f570 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/us-after-point.toml @@ -0,0 +1 @@ +us-after-point = 1._2 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/us-before-point.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/us-before-point.toml new file mode 100644 index 00000000..c8edcbf0 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/float/us-before-point.toml @@ -0,0 +1 @@ +us-before-point = 1_.2 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/inline-table/add.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/inline-table/add.toml new file mode 100644 index 00000000..bb8b3e8c --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/inline-table/add.toml @@ -0,0 +1,3 @@ +a={} +# Inline tables are immutable and can't be extended +[a.b] diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/inline-table/double-comma.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/inline-table/double-comma.toml new file mode 100644 index 00000000..2d2913a3 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/inline-table/double-comma.toml @@ -0,0 +1 @@ +t = {x=3,,y=4} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/inline-table/duplicate-key.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/inline-table/duplicate-key.toml new file mode 100644 index 00000000..0789e146 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/inline-table/duplicate-key.toml @@ -0,0 +1,2 @@ +# Duplicate keys within an inline table are invalid +a={b=1, b=2} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/inline-table/empty.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/inline-table/empty.toml new file mode 100644 index 00000000..ebbb0666 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/inline-table/empty.toml @@ -0,0 +1 @@ +t = {,} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/inline-table/linebreak-1.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/inline-table/linebreak-1.toml new file mode 100644 index 00000000..0ae44b63 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/inline-table/linebreak-1.toml @@ -0,0 +1,4 @@ +# No newlines are allowed between the curly braces unless they are valid within +# a value. +simple = { a = 1 +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/inline-table/linebreak-2.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/inline-table/linebreak-2.toml new file mode 100644 index 00000000..5ea4eaf5 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/inline-table/linebreak-2.toml @@ -0,0 +1,2 @@ +t = {a=1, +b=2} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/inline-table/linebreak-3.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/inline-table/linebreak-3.toml new file mode 100644 index 00000000..7f6e8924 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/inline-table/linebreak-3.toml @@ -0,0 +1,2 @@ +t = {a=1 +,b=2} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/inline-table/linebreak-4.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/inline-table/linebreak-4.toml new file mode 100644 index 00000000..3f34e15c --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/inline-table/linebreak-4.toml @@ -0,0 +1,4 @@ +json_like = { + first = "Tom", + last = "Preston-Werner" +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/inline-table/no-comma.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/inline-table/no-comma.toml new file mode 100644 index 00000000..0a4083de --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/inline-table/no-comma.toml @@ -0,0 +1 @@ +t = {x = 3 y = 4} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/inline-table/overwrite.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/inline-table/overwrite.toml new file mode 100644 index 00000000..4da0a858 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/inline-table/overwrite.toml @@ -0,0 +1,3 @@ +a.b=0 +# Since table "a" is already defined, it can't be replaced by an inline table. +a={} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/inline-table/trailing-comma.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/inline-table/trailing-comma.toml new file mode 100644 index 00000000..6b67e020 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/inline-table/trailing-comma.toml @@ -0,0 +1,3 @@ +# A terminating comma (also called trailing comma) is not permitted after the +# last key/value pair in an inline table +abc = { abc = 123, } diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/capital-bin.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/capital-bin.toml new file mode 100644 index 00000000..bea4e5e2 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/capital-bin.toml @@ -0,0 +1 @@ +capital-bin = 0B0 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/capital-hex.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/capital-hex.toml new file mode 100644 index 00000000..bc064bb6 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/capital-hex.toml @@ -0,0 +1 @@ +capital-hex = 0X1 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/capital-oct.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/capital-oct.toml new file mode 100644 index 00000000..ea08a4da --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/capital-oct.toml @@ -0,0 +1 @@ +capital-oct = 0O0 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/double-sign-nex.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/double-sign-nex.toml new file mode 100644 index 00000000..ff014cf0 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/double-sign-nex.toml @@ -0,0 +1 @@ +double-sign-nex = --99 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/double-sign-plus.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/double-sign-plus.toml new file mode 100644 index 00000000..845ebb59 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/double-sign-plus.toml @@ -0,0 +1 @@ +double-sign-plus = ++99 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/double-us.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/double-us.toml new file mode 100644 index 00000000..cd00561f --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/double-us.toml @@ -0,0 +1 @@ +double-us = 1__23 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/incomplete-bin.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/incomplete-bin.toml new file mode 100644 index 00000000..2d80143d --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/incomplete-bin.toml @@ -0,0 +1 @@ +incomplete-bin = 0b diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/incomplete-hex.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/incomplete-hex.toml new file mode 100644 index 00000000..691b09c7 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/incomplete-hex.toml @@ -0,0 +1 @@ +incomplete-hex = 0x diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/incomplete-oct.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/incomplete-oct.toml new file mode 100644 index 00000000..a248b718 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/incomplete-oct.toml @@ -0,0 +1 @@ +incomplete-oct = 0o diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/integer.multi b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/integer.multi new file mode 100644 index 00000000..40ac4093 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/integer.multi @@ -0,0 +1,41 @@ +leading-zero-1 = 01 +leading-zero-2 = 00 +leading-zero-3 = 0_0 +leading-zero-sign-1 = -01 +leading-zero-sign-2 = +01 +leading-zero-sign-3 = +0_1 + +double-sign-plus = ++99 +double-sign-nex = --99 + +negative-hex = -0xff +negative-bin = -0b11010110 +negative-oct = -0o99 + +positive-hex = +0xff +positive-bin = +0b11010110 +positive-oct = +0o99 + +trailing-us = 123_ +leading-us = _123 +double-us = 1__23 + +us-after-hex = 0x_1 +us-after-oct = 0o_1 +us-after-bin = 0b_1 + +trailing-us-hex = 0x1_ +trailing-us-oct = 0o1_ +trailing-us-bin = 0b1_ + +leading-us-hex = _0o1 +leading-us-oct = _0o1 +leading-us-bin = _0o1 + +invalid-hex = 0xaafz +invalid-oct = 0o778 +invalid-bin = 0b0012 + +capital-hex = 0X1 +capital-oct = 0O0 +capital-bin = 0B0 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/invalid-bin.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/invalid-bin.toml new file mode 100644 index 00000000..d0182581 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/invalid-bin.toml @@ -0,0 +1 @@ +invalid-bin = 0b0012 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/invalid-hex.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/invalid-hex.toml new file mode 100644 index 00000000..7cc0e855 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/invalid-hex.toml @@ -0,0 +1 @@ +invalid-hex = 0xaafz diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/invalid-oct.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/invalid-oct.toml new file mode 100644 index 00000000..03181b1a --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/invalid-oct.toml @@ -0,0 +1 @@ +invalid-oct = 0o778 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/leading-us-bin.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/leading-us-bin.toml new file mode 100644 index 00000000..8885c031 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/leading-us-bin.toml @@ -0,0 +1 @@ +leading-us-bin = _0o1 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/leading-us-hex.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/leading-us-hex.toml new file mode 100644 index 00000000..9f193f80 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/leading-us-hex.toml @@ -0,0 +1 @@ +leading-us-hex = _0o1 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/leading-us-oct.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/leading-us-oct.toml new file mode 100644 index 00000000..a717f1c8 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/leading-us-oct.toml @@ -0,0 +1 @@ +leading-us-oct = _0o1 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/leading-us.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/leading-us.toml new file mode 100644 index 00000000..d059f50a --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/leading-us.toml @@ -0,0 +1 @@ +leading-us = _123 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/leading-zero-1.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/leading-zero-1.toml new file mode 100644 index 00000000..eba6bda3 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/leading-zero-1.toml @@ -0,0 +1 @@ +leading-zero-1 = 01 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/leading-zero-2.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/leading-zero-2.toml new file mode 100644 index 00000000..436af565 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/leading-zero-2.toml @@ -0,0 +1 @@ +leading-zero-2 = 00 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/leading-zero-3.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/leading-zero-3.toml new file mode 100644 index 00000000..5404fc8a --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/leading-zero-3.toml @@ -0,0 +1 @@ +leading-zero-3 = 0_0 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/leading-zero-sign-1.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/leading-zero-sign-1.toml new file mode 100644 index 00000000..1f15a9da --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/leading-zero-sign-1.toml @@ -0,0 +1 @@ +leading-zero-sign-1 = -01 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/leading-zero-sign-2.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/leading-zero-sign-2.toml new file mode 100644 index 00000000..fa259c3c --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/leading-zero-sign-2.toml @@ -0,0 +1 @@ +leading-zero-sign-2 = +01 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/leading-zero-sign-3.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/leading-zero-sign-3.toml new file mode 100644 index 00000000..3ac64a5c --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/leading-zero-sign-3.toml @@ -0,0 +1 @@ +leading-zero-sign-3 = +0_1 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/negative-bin.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/negative-bin.toml new file mode 100644 index 00000000..948b2367 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/negative-bin.toml @@ -0,0 +1 @@ +negative-bin = -0b11010110 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/negative-hex.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/negative-hex.toml new file mode 100644 index 00000000..67c31ea4 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/negative-hex.toml @@ -0,0 +1 @@ +negative-hex = -0xff diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/negative-oct.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/negative-oct.toml new file mode 100644 index 00000000..b0c5ab0d --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/negative-oct.toml @@ -0,0 +1 @@ +negative-oct = -0o99 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/positive-bin.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/positive-bin.toml new file mode 100644 index 00000000..7d6de651 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/positive-bin.toml @@ -0,0 +1 @@ +positive-bin = +0b11010110 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/positive-hex.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/positive-hex.toml new file mode 100644 index 00000000..bd503aad --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/positive-hex.toml @@ -0,0 +1 @@ +positive-hex = +0xff diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/positive-oct.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/positive-oct.toml new file mode 100644 index 00000000..d77aa521 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/positive-oct.toml @@ -0,0 +1 @@ +positive-oct = +0o99 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/text-after-integer.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/text-after-integer.toml new file mode 100644 index 00000000..42de7aff --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/text-after-integer.toml @@ -0,0 +1 @@ +answer = 42 the ultimate answer? diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/trailing-us-bin.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/trailing-us-bin.toml new file mode 100644 index 00000000..9a0b5741 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/trailing-us-bin.toml @@ -0,0 +1 @@ +trailing-us-bin = 0b1_ diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/trailing-us-hex.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/trailing-us-hex.toml new file mode 100644 index 00000000..2a964550 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/trailing-us-hex.toml @@ -0,0 +1 @@ +trailing-us-hex = 0x1_ diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/trailing-us-oct.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/trailing-us-oct.toml new file mode 100644 index 00000000..d28e8bca --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/trailing-us-oct.toml @@ -0,0 +1 @@ +trailing-us-oct = 0o1_ diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/trailing-us.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/trailing-us.toml new file mode 100644 index 00000000..e11e8ff6 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/trailing-us.toml @@ -0,0 +1 @@ +trailing-us = 123_ diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/us-after-bin.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/us-after-bin.toml new file mode 100644 index 00000000..61dd895d --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/us-after-bin.toml @@ -0,0 +1 @@ +us-after-bin = 0b_1 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/us-after-hex.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/us-after-hex.toml new file mode 100644 index 00000000..200220ad --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/us-after-hex.toml @@ -0,0 +1 @@ +us-after-hex = 0x_1 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/us-after-oct.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/us-after-oct.toml new file mode 100644 index 00000000..23f53003 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/integer/us-after-oct.toml @@ -0,0 +1 @@ +us-after-oct = 0o_1 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/after-array.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/after-array.toml new file mode 100644 index 00000000..5c1a1b0a --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/after-array.toml @@ -0,0 +1 @@ +[[agencies]] owner = "S Cjelli" diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/after-table.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/after-table.toml new file mode 100644 index 00000000..68867842 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/after-table.toml @@ -0,0 +1 @@ +[error] this = "should not be here" diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/after-value.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/after-value.toml new file mode 100644 index 00000000..e05c47c2 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/after-value.toml @@ -0,0 +1 @@ +first = "Tom" last = "Preston-Werner" # INVALID diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/bare-invalid-character.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/bare-invalid-character.toml new file mode 100644 index 00000000..e50dbe38 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/bare-invalid-character.toml @@ -0,0 +1 @@ +bare!key = 123 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/dotted-redefine-table.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/dotted-redefine-table.toml new file mode 100644 index 00000000..55e25ac0 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/dotted-redefine-table.toml @@ -0,0 +1,4 @@ +# Defined a.b as int +a.b = 1 +# Tries to access it as table: error +a.b.c = 2 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/duplicate-keys.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/duplicate-keys.toml new file mode 100644 index 00000000..9b5aee0e --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/duplicate-keys.toml @@ -0,0 +1,2 @@ +dupe = false +dupe = true diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/duplicate.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/duplicate.toml new file mode 100644 index 00000000..7847bd40 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/duplicate.toml @@ -0,0 +1,3 @@ +# DO NOT DO THIS +name = "Tom" +name = "Pradyun" diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/empty.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/empty.toml new file mode 100644 index 00000000..09f998f4 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/empty.toml @@ -0,0 +1 @@ + = 1 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/escape.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/escape.toml new file mode 100644 index 00000000..cdb8f4d6 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/escape.toml @@ -0,0 +1 @@ +\u00c0 = "latin capital letter A with grave" diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/hash.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/hash.toml new file mode 100644 index 00000000..e321b1fb --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/hash.toml @@ -0,0 +1 @@ +a# = 1 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/multiline.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/multiline.toml new file mode 100644 index 00000000..31ff67e4 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/multiline.toml @@ -0,0 +1,2 @@ +"""long +key""" = 1 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/newline.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/newline.toml new file mode 100644 index 00000000..24acaa1b --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/newline.toml @@ -0,0 +1,2 @@ +barekey + = 123 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/no-eol.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/no-eol.toml new file mode 100644 index 00000000..3c58eee1 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/no-eol.toml @@ -0,0 +1 @@ +a = 1 b = 2 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/open-bracket.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/open-bracket.toml new file mode 100644 index 00000000..f0aeb16e --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/open-bracket.toml @@ -0,0 +1 @@ +[abc = 1 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/partial-quoted.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/partial-quoted.toml new file mode 100644 index 00000000..e491a2f1 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/partial-quoted.toml @@ -0,0 +1 @@ +partial"quoted" = 5 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/single-open-bracket.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/single-open-bracket.toml new file mode 100644 index 00000000..558ed37d --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/single-open-bracket.toml @@ -0,0 +1 @@ +[ diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/space.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/space.toml new file mode 100644 index 00000000..7c22703e --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/space.toml @@ -0,0 +1 @@ +a b = 1 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/special-character.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/special-character.toml new file mode 100644 index 00000000..bc181a5c --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/special-character.toml @@ -0,0 +1 @@ +μ = "greek small letter mu" diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/start-bracket.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/start-bracket.toml new file mode 100644 index 00000000..e0597ae1 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/start-bracket.toml @@ -0,0 +1,3 @@ +[a] +[xyz = 5 +[b] diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/two-equals.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/two-equals.toml new file mode 100644 index 00000000..25a03789 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/two-equals.toml @@ -0,0 +1 @@ +key= = 1 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/two-equals2.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/two-equals2.toml new file mode 100644 index 00000000..c5f2de8b --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/two-equals2.toml @@ -0,0 +1 @@ +a==1 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/two-equals3.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/two-equals3.toml new file mode 100644 index 00000000..eb203729 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/two-equals3.toml @@ -0,0 +1 @@ +a=b=1 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/without-value-1.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/without-value-1.toml new file mode 100644 index 00000000..06bfde49 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/without-value-1.toml @@ -0,0 +1 @@ +key diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/without-value-2.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/without-value-2.toml new file mode 100644 index 00000000..ca6d7eba --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/key/without-value-2.toml @@ -0,0 +1 @@ +key = diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/bad-byte-escape.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/bad-byte-escape.toml new file mode 100644 index 00000000..4c7be59f --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/bad-byte-escape.toml @@ -0,0 +1 @@ +naughty = "\xAg" diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/bad-codepoint.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/bad-codepoint.toml new file mode 100644 index 00000000..592db75b --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/bad-codepoint.toml @@ -0,0 +1 @@ +invalid-codepoint = "This string contains a non scalar unicode codepoint \uD801" diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/bad-concat.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/bad-concat.toml new file mode 100644 index 00000000..fc6d3c9c --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/bad-concat.toml @@ -0,0 +1 @@ +no_concat = "first" "second" diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/bad-escape-1.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/bad-escape-1.toml new file mode 100644 index 00000000..60acb0cc --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/bad-escape-1.toml @@ -0,0 +1 @@ +invalid-escape = "This string has a bad \a escape character." diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/bad-escape-2.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/bad-escape-2.toml new file mode 100644 index 00000000..2a20d8c9 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/bad-escape-2.toml @@ -0,0 +1,2 @@ +invalid-escape = "This string has a bad \ escape character." + diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/bad-multiline.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/bad-multiline.toml new file mode 100644 index 00000000..786046b5 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/bad-multiline.toml @@ -0,0 +1,2 @@ +multi = "first line +second line" diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/bad-slash-escape.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/bad-slash-escape.toml new file mode 100644 index 00000000..154abadd --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/bad-slash-escape.toml @@ -0,0 +1 @@ +invalid-escape = "This string has a bad \/ escape character." diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/bad-uni-esc.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/bad-uni-esc.toml new file mode 100644 index 00000000..9eae4ab9 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/bad-uni-esc.toml @@ -0,0 +1 @@ +str = "val\ue" diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/basic-byte-escapes.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/basic-byte-escapes.toml new file mode 100644 index 00000000..e94452a8 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/basic-byte-escapes.toml @@ -0,0 +1 @@ +answer = "\x33" diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/basic-multiline-out-of-range-unicode-escape-1.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/basic-multiline-out-of-range-unicode-escape-1.toml new file mode 100644 index 00000000..b27e203c --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/basic-multiline-out-of-range-unicode-escape-1.toml @@ -0,0 +1 @@ +a = """\UFFFFFFFF""" diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/basic-multiline-out-of-range-unicode-escape-2.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/basic-multiline-out-of-range-unicode-escape-2.toml new file mode 100644 index 00000000..17a9361b --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/basic-multiline-out-of-range-unicode-escape-2.toml @@ -0,0 +1 @@ +a = """\U00D80000""" diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/basic-multiline-quotes.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/basic-multiline-quotes.toml new file mode 100644 index 00000000..02ebf13a --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/basic-multiline-quotes.toml @@ -0,0 +1 @@ +str5 = """Here are three quotation marks: """.""" diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/basic-multiline-unknown-escape.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/basic-multiline-unknown-escape.toml new file mode 100644 index 00000000..35c5cc5e --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/basic-multiline-unknown-escape.toml @@ -0,0 +1 @@ +a = """\@""" diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/basic-out-of-range-unicode-escape-1.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/basic-out-of-range-unicode-escape-1.toml new file mode 100644 index 00000000..ada1f557 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/basic-out-of-range-unicode-escape-1.toml @@ -0,0 +1 @@ +a = "\UFFFFFFFF" diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/basic-out-of-range-unicode-escape-2.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/basic-out-of-range-unicode-escape-2.toml new file mode 100644 index 00000000..d4833b3d --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/basic-out-of-range-unicode-escape-2.toml @@ -0,0 +1 @@ +a = "\U00D80000" diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/basic-unknown-escape.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/basic-unknown-escape.toml new file mode 100644 index 00000000..381dd858 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/basic-unknown-escape.toml @@ -0,0 +1 @@ +a = "\@" diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/literal-multiline-quotes-1.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/literal-multiline-quotes-1.toml new file mode 100644 index 00000000..9cfb7635 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/literal-multiline-quotes-1.toml @@ -0,0 +1,2 @@ +a = '''6 apostrophes: '''''' + diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/literal-multiline-quotes-2.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/literal-multiline-quotes-2.toml new file mode 100644 index 00000000..9924236e --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/literal-multiline-quotes-2.toml @@ -0,0 +1 @@ +a = '''15 apostrophes: '''''''''''''''''' diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/missing-quotes.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/missing-quotes.toml new file mode 100644 index 00000000..22927931 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/missing-quotes.toml @@ -0,0 +1 @@ +name = value diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/multiline-bad-escape-1.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/multiline-bad-escape-1.toml new file mode 100644 index 00000000..5de9e15b --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/multiline-bad-escape-1.toml @@ -0,0 +1,2 @@ +k = """t\a""" + diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/multiline-bad-escape-2.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/multiline-bad-escape-2.toml new file mode 100644 index 00000000..3d1ac103 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/multiline-bad-escape-2.toml @@ -0,0 +1,2 @@ +# \ is not a valid escape. +k = """t\ t""" diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/multiline-bad-escape-3.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/multiline-bad-escape-3.toml new file mode 100644 index 00000000..95621eb5 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/multiline-bad-escape-3.toml @@ -0,0 +1,3 @@ +# \ is not a valid escape. +k = """t\ """ + diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/multiline-escape-space.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/multiline-escape-space.toml new file mode 100644 index 00000000..13570d3b --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/multiline-escape-space.toml @@ -0,0 +1,3 @@ +a = """ + foo \ \n + bar""" diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/multiline-no-close-2.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/multiline-no-close-2.toml new file mode 100644 index 00000000..f4694020 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/multiline-no-close-2.toml @@ -0,0 +1 @@ +x=""" diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/multiline-no-close.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/multiline-no-close.toml new file mode 100644 index 00000000..4ca95971 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/multiline-no-close.toml @@ -0,0 +1,2 @@ +invalid = """ + this will fail diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/multiline-quotes-1.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/multiline-quotes-1.toml new file mode 100644 index 00000000..9f7a42b7 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/multiline-quotes-1.toml @@ -0,0 +1 @@ +a = """6 quotes: """""" diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/no-close.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/no-close.toml new file mode 100644 index 00000000..0c292fca --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/no-close.toml @@ -0,0 +1 @@ +no-ending-quote = "One time, at band camp diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/text-after-string.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/text-after-string.toml new file mode 100644 index 00000000..c92a6f11 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/text-after-string.toml @@ -0,0 +1 @@ +string = "Is there life after strings?" No. diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/wrong-close.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/wrong-close.toml new file mode 100644 index 00000000..0f5c8011 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/string/wrong-close.toml @@ -0,0 +1 @@ +bad-ending-quote = "double and single' diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/append-with-dotted-keys-1.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/append-with-dotted-keys-1.toml new file mode 100644 index 00000000..0b5b4bbf --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/append-with-dotted-keys-1.toml @@ -0,0 +1,17 @@ +# First a.b.c defines a table: a.b.c = {z=9} +# +# Then we define a.b.c.t = "str" to add a str to the above table, making it: +# +# a.b.c = {z=9, t="..."} +# +# While this makes sense, logically, it was decided this is not valid TOML as +# it's too confusing/convoluted. +# +# See: https://github.com/toml-lang/toml/issues/846 +# https://github.com/toml-lang/toml/pull/859 + +[a.b.c] + z = 9 + +[a] + b.c.t = "Using dotted keys to add to [a.b.c] after explicitly defining it above is not allowed" diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/append-with-dotted-keys-2.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/append-with-dotted-keys-2.toml new file mode 100644 index 00000000..3f0a011f --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/append-with-dotted-keys-2.toml @@ -0,0 +1,8 @@ +# This is the same issue as in injection-1.toml, except that nests one level +# deeper. See that file for a more complete description. + +[a.b.c.d] + z = 9 + +[a] + b.c.d.k.t = "Using dotted keys to add to [a.b.c.d] after explicitly defining it above is not allowed" diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/array-empty.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/array-empty.toml new file mode 100644 index 00000000..a470ca33 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/array-empty.toml @@ -0,0 +1,2 @@ +[[]] +name = "Born to Run" diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/array-implicit.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/array-implicit.toml new file mode 100644 index 00000000..05f2507e --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/array-implicit.toml @@ -0,0 +1,14 @@ +# This test is a bit tricky. It should fail because the first use of +# `[[albums.songs]]` without first declaring `albums` implies that `albums` +# must be a table. The alternative would be quite weird. Namely, it wouldn't +# comply with the TOML spec: "Each double-bracketed sub-table will belong to +# the most *recently* defined table element *above* it." +# +# This is in contrast to the *valid* test, table-array-implicit where +# `[[albums.songs]]` works by itself, so long as `[[albums]]` isn't declared +# later. (Although, `[albums]` could be.) +[[albums.songs]] +name = "Glory Days" + +[[albums]] +name = "Born in the USA" diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/array-missing-bracket.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/array-missing-bracket.toml new file mode 100644 index 00000000..39c73b05 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/array-missing-bracket.toml @@ -0,0 +1,2 @@ +[[albums] +name = "Born to Run" diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/duplicate-key-dotted-table.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/duplicate-key-dotted-table.toml new file mode 100644 index 00000000..ade637bf --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/duplicate-key-dotted-table.toml @@ -0,0 +1,4 @@ +[fruit] +apple.color = "red" + +[fruit.apple] # INVALID diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/duplicate-key-dotted-table2.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/duplicate-key-dotted-table2.toml new file mode 100644 index 00000000..609b660f --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/duplicate-key-dotted-table2.toml @@ -0,0 +1,4 @@ +[fruit] +apple.taste.sweet = true + +[fruit.apple.taste] # INVALID diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/duplicate-key-table.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/duplicate-key-table.toml new file mode 100644 index 00000000..cedf05fc --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/duplicate-key-table.toml @@ -0,0 +1,5 @@ +[fruit] +type = "apple" + +[fruit.type] +apple = "yes" diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/duplicate-table-array.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/duplicate-table-array.toml new file mode 100644 index 00000000..a1d87059 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/duplicate-table-array.toml @@ -0,0 +1,2 @@ +[tbl] +[[tbl]] diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/duplicate-table-array2.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/duplicate-table-array2.toml new file mode 100644 index 00000000..72eacbd1 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/duplicate-table-array2.toml @@ -0,0 +1,2 @@ +[[tbl]] +[tbl] diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/duplicate.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/duplicate.toml new file mode 100644 index 00000000..73ef1cc7 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/duplicate.toml @@ -0,0 +1,5 @@ +[a] +b = 1 + +[a] +c = 2 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/empty-implicit-table.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/empty-implicit-table.toml new file mode 100644 index 00000000..0cc36d0d --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/empty-implicit-table.toml @@ -0,0 +1 @@ +[naughty..naughty] diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/empty.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/empty.toml new file mode 100644 index 00000000..fe51488c --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/empty.toml @@ -0,0 +1 @@ +[] diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/equals-sign.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/equals-sign.toml new file mode 100644 index 00000000..eb5e742f --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/equals-sign.toml @@ -0,0 +1 @@ +[name=bad] diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/llbrace.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/llbrace.toml new file mode 100644 index 00000000..047978e5 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/llbrace.toml @@ -0,0 +1 @@ +[ [table]] diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/nested-brackets-close.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/nested-brackets-close.toml new file mode 100644 index 00000000..c8b5a678 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/nested-brackets-close.toml @@ -0,0 +1,2 @@ +[a]b] +zyx = 42 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/nested-brackets-open.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/nested-brackets-open.toml new file mode 100644 index 00000000..246d7e91 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/nested-brackets-open.toml @@ -0,0 +1,2 @@ +[a[b] +zyx = 42 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/quoted-no-close.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/quoted-no-close.toml new file mode 100644 index 00000000..6e7c1a1e --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/quoted-no-close.toml @@ -0,0 +1,2 @@ +["where will it end] +name = value diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/redefine.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/redefine.toml new file mode 100644 index 00000000..fc23bf7d --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/redefine.toml @@ -0,0 +1,6 @@ +# Define b as int, and try to use it as a table: error +[a] +b = 1 + +[a.b] +c = 2 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/rrbrace.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/rrbrace.toml new file mode 100644 index 00000000..3a4dee47 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/rrbrace.toml @@ -0,0 +1 @@ +[[table] ] diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/text-after-table.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/text-after-table.toml new file mode 100644 index 00000000..87da9db2 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/text-after-table.toml @@ -0,0 +1 @@ +[error] this shouldn't be here diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/whitespace.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/whitespace.toml new file mode 100644 index 00000000..0a6a6a69 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/whitespace.toml @@ -0,0 +1 @@ +[invalid key] diff --git a/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/with-pound.toml b/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/with-pound.toml new file mode 100644 index 00000000..e7b777ec --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/invalid/table/with-pound.toml @@ -0,0 +1,2 @@ +[key#group] +answer = 42 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/array/array.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/array.json new file mode 100644 index 00000000..4e9d45b8 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/array.json @@ -0,0 +1,68 @@ +{ + "comments": [ + { + "type": "integer", + "value": "1" + }, + { + "type": "integer", + "value": "2" + } + ], + "dates": [ + { + "type": "datetime", + "value": "1987-07-05T17:45:00Z" + }, + { + "type": "datetime", + "value": "1979-05-27T07:32:00Z" + }, + { + "type": "datetime", + "value": "2006-06-01T11:00:00Z" + } + ], + "floats": [ + { + "type": "float", + "value": "1.1" + }, + { + "type": "float", + "value": "2.1" + }, + { + "type": "float", + "value": "3.1" + } + ], + "ints": [ + { + "type": "integer", + "value": "1" + }, + { + "type": "integer", + "value": "2" + }, + { + "type": "integer", + "value": "3" + } + ], + "strings": [ + { + "type": "string", + "value": "a" + }, + { + "type": "string", + "value": "b" + }, + { + "type": "string", + "value": "c" + } + ] +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/array/array.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/array.toml new file mode 100644 index 00000000..ab884652 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/array.toml @@ -0,0 +1,12 @@ +ints = [1, 2, 3, ] +floats = [1.1, 2.1, 3.1] +strings = ["a", "b", "c"] +dates = [ + 1987-07-05T17:45:00Z, + 1979-05-27T07:32:00Z, + 2006-06-01T11:00:00Z, +] +comments = [ + 1, + 2, #this is ok +] diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/array/bool.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/bool.json new file mode 100644 index 00000000..7cede3fc --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/bool.json @@ -0,0 +1,12 @@ +{ + "a": [ + { + "type": "bool", + "value": "true" + }, + { + "type": "bool", + "value": "false" + } + ] +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/array/bool.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/bool.toml new file mode 100644 index 00000000..d2010c58 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/bool.toml @@ -0,0 +1 @@ +a = [true, false] diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/array/empty.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/empty.json new file mode 100644 index 00000000..7b1ca0cf --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/empty.json @@ -0,0 +1,11 @@ +{ + "thevoid": [ + [ + [ + [ + [] + ] + ] + ] + ] +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/array/empty.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/empty.toml new file mode 100644 index 00000000..fa58dc63 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/empty.toml @@ -0,0 +1 @@ +thevoid = [[[[[]]]]] diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/array/hetergeneous.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/hetergeneous.json new file mode 100644 index 00000000..751b6244 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/hetergeneous.json @@ -0,0 +1,34 @@ +{ + "mixed": [ + [ + { + "type": "integer", + "value": "1" + }, + { + "type": "integer", + "value": "2" + } + ], + [ + { + "type": "string", + "value": "a" + }, + { + "type": "string", + "value": "b" + } + ], + [ + { + "type": "float", + "value": "1.1" + }, + { + "type": "float", + "value": "2.1" + } + ] + ] +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/array/hetergeneous.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/hetergeneous.toml new file mode 100644 index 00000000..a246fcf1 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/hetergeneous.toml @@ -0,0 +1 @@ +mixed = [[1, 2], ["a", "b"], [1.1, 2.1]] diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/array/mixed-int-array.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/mixed-int-array.json new file mode 100644 index 00000000..2f3ac5ee --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/mixed-int-array.json @@ -0,0 +1,14 @@ +{ + "arrays-and-ints": [ + { + "type": "integer", + "value": "1" + }, + [ + { + "type": "string", + "value": "Arrays are not integers." + } + ] + ] +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/array/mixed-int-array.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/mixed-int-array.toml new file mode 100644 index 00000000..051ec731 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/mixed-int-array.toml @@ -0,0 +1 @@ +arrays-and-ints = [1, ["Arrays are not integers."]] diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/array/mixed-int-float.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/mixed-int-float.json new file mode 100644 index 00000000..e73059b8 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/mixed-int-float.json @@ -0,0 +1,12 @@ +{ + "ints-and-floats": [ + { + "type": "integer", + "value": "1" + }, + { + "type": "float", + "value": "1.1" + } + ] +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/array/mixed-int-float.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/mixed-int-float.toml new file mode 100644 index 00000000..a5aa9b7a --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/mixed-int-float.toml @@ -0,0 +1 @@ +ints-and-floats = [1, 1.1] diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/array/mixed-int-string.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/mixed-int-string.json new file mode 100644 index 00000000..c6acc763 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/mixed-int-string.json @@ -0,0 +1,12 @@ +{ + "strings-and-ints": [ + { + "type": "string", + "value": "hi" + }, + { + "type": "integer", + "value": "42" + } + ] +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/array/mixed-int-string.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/mixed-int-string.toml new file mode 100644 index 00000000..f3483080 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/mixed-int-string.toml @@ -0,0 +1 @@ +strings-and-ints = ["hi", 42] diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/array/mixed-string-table.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/mixed-string-table.json new file mode 100644 index 00000000..6185aa95 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/mixed-string-table.json @@ -0,0 +1,22 @@ +{ + "contributors": [ + { + "type": "string", + "value": "Foo Bar \u003cfoo@example.com\u003e" + }, + { + "email": { + "type": "string", + "value": "bazqux@example.com" + }, + "name": { + "type": "string", + "value": "Baz Qux" + }, + "url": { + "type": "string", + "value": "https://example.com/bazqux" + } + } + ] +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/array/mixed-string-table.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/mixed-string-table.toml new file mode 100644 index 00000000..bd7ada8d --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/mixed-string-table.toml @@ -0,0 +1,4 @@ +contributors = [ + "Foo Bar ", + { name = "Baz Qux", email = "bazqux@example.com", url = "https://example.com/bazqux" } +] diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/array/nested-double.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/nested-double.json new file mode 100644 index 00000000..c89a8c9b --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/nested-double.json @@ -0,0 +1,28 @@ +{ + "nest": [ + [ + [ + { + "type": "string", + "value": "a" + } + ], + [ + { + "type": "integer", + "value": "1" + }, + { + "type": "integer", + "value": "2" + }, + [ + { + "type": "integer", + "value": "3" + } + ] + ] + ] + ] +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/array/nested-double.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/nested-double.toml new file mode 100644 index 00000000..c1de7477 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/nested-double.toml @@ -0,0 +1,6 @@ +nest = [ + [ + ["a"], + [1, 2, [3]] + ] +] diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/array/nested-inline-table.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/nested-inline-table.json new file mode 100644 index 00000000..2ae5fa70 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/nested-inline-table.json @@ -0,0 +1,7 @@ +{ + "a": [ + { + "b": {} + } + ] +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/array/nested-inline-table.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/nested-inline-table.toml new file mode 100644 index 00000000..e1e24f6c --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/nested-inline-table.toml @@ -0,0 +1 @@ +a = [ { b = {} } ] diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/array/nested.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/nested.json new file mode 100644 index 00000000..72c75897 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/nested.json @@ -0,0 +1,16 @@ +{ + "nest": [ + [ + { + "type": "string", + "value": "a" + } + ], + [ + { + "type": "string", + "value": "b" + } + ] + ] +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/array/nested.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/nested.toml new file mode 100644 index 00000000..ce330224 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/nested.toml @@ -0,0 +1 @@ +nest = [["a"], ["b"]] diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/array/nospaces.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/nospaces.json new file mode 100644 index 00000000..6c89fced --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/nospaces.json @@ -0,0 +1,16 @@ +{ + "ints": [ + { + "type": "integer", + "value": "1" + }, + { + "type": "integer", + "value": "2" + }, + { + "type": "integer", + "value": "3" + } + ] +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/array/nospaces.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/nospaces.toml new file mode 100644 index 00000000..66189367 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/nospaces.toml @@ -0,0 +1 @@ +ints = [1,2,3] diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/array/string-quote-comma-2.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/string-quote-comma-2.json new file mode 100644 index 00000000..7cd54063 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/string-quote-comma-2.json @@ -0,0 +1,8 @@ +{ + "title": [ + { + "type": "string", + "value": " \", " + } + ] +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/array/string-quote-comma-2.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/string-quote-comma-2.toml new file mode 100644 index 00000000..4758ddca --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/string-quote-comma-2.toml @@ -0,0 +1 @@ +title = [ " \", ",] diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/array/string-quote-comma.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/string-quote-comma.json new file mode 100644 index 00000000..b78db423 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/string-quote-comma.json @@ -0,0 +1,12 @@ +{ + "title": [ + { + "type": "string", + "value": "Client: \"XXXX\", Job: XXXX" + }, + { + "type": "string", + "value": "Code: XXXX" + } + ] +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/array/string-quote-comma.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/string-quote-comma.toml new file mode 100644 index 00000000..6b458e1e --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/string-quote-comma.toml @@ -0,0 +1,4 @@ +title = [ +"Client: \"XXXX\", Job: XXXX", +"Code: XXXX" +] diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/array/string-with-comma.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/string-with-comma.json new file mode 100644 index 00000000..42b77ef7 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/string-with-comma.json @@ -0,0 +1,12 @@ +{ + "title": [ + { + "type": "string", + "value": "Client: XXXX, Job: XXXX" + }, + { + "type": "string", + "value": "Code: XXXX" + } + ] +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/array/string-with-comma.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/string-with-comma.toml new file mode 100644 index 00000000..655c40e2 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/string-with-comma.toml @@ -0,0 +1,4 @@ +title = [ +"Client: XXXX, Job: XXXX", +"Code: XXXX" +] diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/array/strings.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/strings.json new file mode 100644 index 00000000..27617b4d --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/strings.json @@ -0,0 +1,20 @@ +{ + "string_array": [ + { + "type": "string", + "value": "all" + }, + { + "type": "string", + "value": "strings" + }, + { + "type": "string", + "value": "are the same" + }, + { + "type": "string", + "value": "type" + } + ] +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/array/strings.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/strings.toml new file mode 100644 index 00000000..51894ce1 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/strings.toml @@ -0,0 +1 @@ +string_array = [ "all", 'strings', """are the same""", '''type'''] diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/array/table-array-string-backslash.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/table-array-string-backslash.json new file mode 100644 index 00000000..2c0feb13 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/table-array-string-backslash.json @@ -0,0 +1,10 @@ +{ + "foo": [ + { + "bar": { + "type": "string", + "value": "\"{{baz}}\"" + } + } + ] +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/array/table-array-string-backslash.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/table-array-string-backslash.toml new file mode 100644 index 00000000..f0de81e0 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/array/table-array-string-backslash.toml @@ -0,0 +1 @@ +foo = [ { bar="\"{{baz}}\""} ] diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/bool/bool.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/bool/bool.json new file mode 100644 index 00000000..be47d6d0 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/bool/bool.json @@ -0,0 +1,10 @@ +{ + "f": { + "type": "bool", + "value": "false" + }, + "t": { + "type": "bool", + "value": "true" + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/bool/bool.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/bool/bool.toml new file mode 100644 index 00000000..a8a829b3 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/bool/bool.toml @@ -0,0 +1,2 @@ +t = true +f = false diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/comment/at-eof.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/comment/at-eof.json new file mode 100644 index 00000000..af3154ab --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/comment/at-eof.json @@ -0,0 +1,6 @@ +{ + "key": { + "type": "string", + "value": "value" + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/comment/at-eof.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/comment/at-eof.toml new file mode 100644 index 00000000..090b4748 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/comment/at-eof.toml @@ -0,0 +1,2 @@ +# This is a full-line comment +key = "value" # This is a comment at the end of a line diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/comment/at-eof2.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/comment/at-eof2.json new file mode 100644 index 00000000..af3154ab --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/comment/at-eof2.json @@ -0,0 +1,6 @@ +{ + "key": { + "type": "string", + "value": "value" + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/comment/at-eof2.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/comment/at-eof2.toml new file mode 100644 index 00000000..090b4748 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/comment/at-eof2.toml @@ -0,0 +1,2 @@ +# This is a full-line comment +key = "value" # This is a comment at the end of a line diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/comment/everywhere.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/comment/everywhere.json new file mode 100644 index 00000000..6e714d1c --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/comment/everywhere.json @@ -0,0 +1,26 @@ +{ + "group": { + "answer": { + "type": "integer", + "value": "42" + }, + "dt": { + "type": "datetime", + "value": "1979-05-27T07:32:12-07:00" + }, + "d": { + "type": "date-local", + "value": "1979-05-27" + }, + "more": [ + { + "type": "integer", + "value": "42" + }, + { + "type": "integer", + "value": "42" + } + ] + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/comment/everywhere.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/comment/everywhere.toml new file mode 100644 index 00000000..a5da1d77 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/comment/everywhere.toml @@ -0,0 +1,28 @@ +# Top comment. + # Top comment. +# Top comment. + +# [no-extraneous-groups-please] + +[group] # Comment +answer = 42 # Comment +# no-extraneous-keys-please = 999 +# Inbetween comment. +more = [ # Comment + # What about multiple # comments? + # Can you handle it? + # + # Evil. +# Evil. + 42, 42, # Comments within arrays are fun. + # What about multiple # comments? + # Can you handle it? + # + # Evil. +# Evil. +# ] Did I fool you? +] # Hopefully not. + +# Make sure the space between the datetime and "#" isn't lexed. +dt = 1979-05-27T07:32:12-07:00 # c +d = 1979-05-27 # Comment diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/comment/noeol.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/comment/noeol.json new file mode 100644 index 00000000..0967ef42 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/comment/noeol.json @@ -0,0 +1 @@ +{} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/comment/noeol.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/comment/noeol.toml new file mode 100644 index 00000000..7662df8a --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/comment/noeol.toml @@ -0,0 +1 @@ +# single comment without any eol characters \ No newline at end of file diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/comment/tricky.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/comment/tricky.json new file mode 100644 index 00000000..09948647 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/comment/tricky.json @@ -0,0 +1,98 @@ +{ + "hash#tag": { + "#!": { + "type": "string", + "value": "hash bang" + }, + "arr3": [ + { + "type": "string", + "value": "#" + }, + { + "type": "string", + "value": "#" + }, + { + "type": "string", + "value": "###" + } + ], + "arr4": [ + { + "type": "integer", + "value": "1" + }, + { + "type": "integer", + "value": "2" + }, + { + "type": "integer", + "value": "3" + }, + { + "type": "integer", + "value": "4" + } + ], + "arr5": [ + [ + [ + [ + [ + { + "type": "string", + "value": "#" + } + ] + ] + ] + ] + ], + "tbl1": { + "#": { + "type": "string", + "value": "}#" + } + } + }, + "section": { + "8": { + "type": "string", + "value": "eight" + }, + "eleven": { + "type": "float", + "value": "11.1" + }, + "five": { + "type": "float", + "value": "5.5" + }, + "four": { + "type": "string", + "value": "# no comment\n# nor this\n#also not comment" + }, + "one": { + "type": "string", + "value": "11" + }, + "six": { + "type": "integer", + "value": "6" + }, + "ten": { + "type": "float", + "value": "1000.0" + }, + "three": { + "type": "string", + "value": "#" + }, + "two": { + "type": "string", + "value": "22#" + } + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/comment/tricky.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/comment/tricky.toml new file mode 100644 index 00000000..c95f94d0 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/comment/tricky.toml @@ -0,0 +1,31 @@ +[section]#attached comment +#[notsection] +one = "11"#cmt +two = "22#" +three = '#' + +four = """# no comment +# nor this +#also not comment"""#is_comment + +five = 5.5#66 +six = 6#7 +8 = "eight" +#nine = 99 +ten = 10e2#1 +eleven = 1.11e1#23 + +["hash#tag"] +"#!" = "hash bang" +arr3 = [ "#", '#', """###""" ] +arr4 = [ 1,# 9, 9, +2#,9 +,#9 +3#] +,4] +arr5 = [[[[#["#"], +["#"]]]]#] +] +tbl1 = { "#" = '}#'}#}} + + diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/datetime/datetime.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/datetime/datetime.json new file mode 100644 index 00000000..51463359 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/datetime/datetime.json @@ -0,0 +1,10 @@ +{ + "lower": { + "type": "datetime", + "value": "1987-07-05T17:45:00Z" + }, + "space": { + "type": "datetime", + "value": "1987-07-05T17:45:00Z" + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/datetime/datetime.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/datetime/datetime.toml new file mode 100644 index 00000000..653d521f --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/datetime/datetime.toml @@ -0,0 +1,2 @@ +space = 1987-07-05 17:45:00Z +lower = 1987-07-05t17:45:00z diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/datetime/local-date.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/datetime/local-date.json new file mode 100644 index 00000000..8fea2fe0 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/datetime/local-date.json @@ -0,0 +1,6 @@ +{ + "bestdayever": { + "type": "date-local", + "value": "1987-07-05" + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/datetime/local-date.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/datetime/local-date.toml new file mode 100644 index 00000000..1be4a5f8 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/datetime/local-date.toml @@ -0,0 +1 @@ +bestdayever = 1987-07-05 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/datetime/local-time.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/datetime/local-time.json new file mode 100644 index 00000000..5e527e97 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/datetime/local-time.json @@ -0,0 +1,10 @@ +{ + "besttimeever": { + "type": "time-local", + "value": "17:45:00" + }, + "milliseconds": { + "type": "time-local", + "value": "10:32:00.555" + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/datetime/local-time.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/datetime/local-time.toml new file mode 100644 index 00000000..6b07f6ff --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/datetime/local-time.toml @@ -0,0 +1,2 @@ +besttimeever = 17:45:00 +milliseconds = 10:32:00.555 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/datetime/local.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/datetime/local.json new file mode 100644 index 00000000..12f8df5d --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/datetime/local.json @@ -0,0 +1,14 @@ +{ + "local": { + "type": "datetime-local", + "value": "1987-07-05T17:45:00" + }, + "milli": { + "type": "datetime-local", + "value": "1977-12-21T10:32:00.555" + }, + "space": { + "type": "datetime-local", + "value": "1987-07-05T17:45:00" + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/datetime/local.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/datetime/local.toml new file mode 100644 index 00000000..ab425eca --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/datetime/local.toml @@ -0,0 +1,3 @@ +local = 1987-07-05T17:45:00 +milli = 1977-12-21T10:32:00.555 +space = 1987-07-05 17:45:00 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/datetime/milliseconds.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/datetime/milliseconds.json new file mode 100644 index 00000000..c49e400b --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/datetime/milliseconds.json @@ -0,0 +1,18 @@ +{ + "utc1": { + "type": "datetime", + "value": "1987-07-05T17:45:56.1234Z" + }, + "utc2": { + "type": "datetime", + "value": "1987-07-05T17:45:56.6000Z" + }, + "wita1": { + "type": "datetime", + "value": "1987-07-05T17:45:56.1234+08:00" + }, + "wita2": { + "type": "datetime", + "value": "1987-07-05T17:45:56.6000+08:00" + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/datetime/milliseconds.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/datetime/milliseconds.toml new file mode 100644 index 00000000..24b81f85 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/datetime/milliseconds.toml @@ -0,0 +1,4 @@ +utc1 = 1987-07-05T17:45:56.1234Z +utc2 = 1987-07-05T17:45:56.6Z +wita1 = 1987-07-05T17:45:56.1234+08:00 +wita2 = 1987-07-05T17:45:56.6+08:00 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/datetime/timezone.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/datetime/timezone.json new file mode 100644 index 00000000..8dc83281 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/datetime/timezone.json @@ -0,0 +1,18 @@ +{ + "nzdt": { + "type": "datetime", + "value": "1987-07-05T17:45:56+13:00" + }, + "nzst": { + "type": "datetime", + "value": "1987-07-05T17:45:56+12:00" + }, + "pdt": { + "type": "datetime", + "value": "1987-07-05T17:45:56-05:00" + }, + "utc": { + "type": "datetime", + "value": "1987-07-05T17:45:56Z" + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/datetime/timezone.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/datetime/timezone.toml new file mode 100644 index 00000000..20f3835b --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/datetime/timezone.toml @@ -0,0 +1,4 @@ +utc = 1987-07-05T17:45:56Z +pdt = 1987-07-05T17:45:56-05:00 +nzst = 1987-07-05T17:45:56+12:00 +nzdt = 1987-07-05T17:45:56+13:00 # DST diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/empty-file.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/empty-file.json new file mode 100644 index 00000000..0967ef42 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/empty-file.json @@ -0,0 +1 @@ +{} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/empty-file.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/empty-file.toml new file mode 100644 index 00000000..e69de29b diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/example.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/example.json new file mode 100644 index 00000000..2ea95a20 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/example.json @@ -0,0 +1,26 @@ +{ + "best-day-ever": { + "type": "datetime", + "value": "1987-07-05T17:45:00Z" + }, + "numtheory": { + "boring": { + "type": "bool", + "value": "false" + }, + "perfection": [ + { + "type": "integer", + "value": "6" + }, + { + "type": "integer", + "value": "28" + }, + { + "type": "integer", + "value": "496" + } + ] + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/example.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/example.toml new file mode 100644 index 00000000..8cb02e01 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/example.toml @@ -0,0 +1,5 @@ +best-day-ever = 1987-07-05T17:45:00Z + +[numtheory] +boring = false +perfection = [6, 28, 496] diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/float/exponent.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/float/exponent.json new file mode 100644 index 00000000..e79a6e13 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/float/exponent.json @@ -0,0 +1,34 @@ +{ + "lower": { + "type": "float", + "value": "300.0" + }, + "minustenth": { + "type": "float", + "value": "-0.1" + }, + "neg": { + "type": "float", + "value": "0.03" + }, + "pointlower": { + "type": "float", + "value": "310.0" + }, + "pointupper": { + "type": "float", + "value": "310.0" + }, + "pos": { + "type": "float", + "value": "300.0" + }, + "upper": { + "type": "float", + "value": "300.0" + }, + "zero": { + "type": "float", + "value": "3.0" + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/float/exponent.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/float/exponent.toml new file mode 100644 index 00000000..573e0a85 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/float/exponent.toml @@ -0,0 +1,8 @@ +lower = 3e2 +upper = 3E2 +neg = 3e-2 +pos = 3E+2 +zero = 3e0 +pointlower = 3.1e2 +pointupper = 3.1E2 +minustenth = -1E-1 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/float/float.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/float/float.json new file mode 100644 index 00000000..f92d8d87 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/float/float.json @@ -0,0 +1,18 @@ +{ + "negpi": { + "type": "float", + "value": "-3.14" + }, + "pi": { + "type": "float", + "value": "3.14" + }, + "pospi": { + "type": "float", + "value": "3.14" + }, + "zero-intpart": { + "type": "float", + "value": "0.123" + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/float/float.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/float/float.toml new file mode 100644 index 00000000..5f023229 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/float/float.toml @@ -0,0 +1,4 @@ +pi = 3.14 +pospi = +3.14 +negpi = -3.14 +zero-intpart = 0.123 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/float/inf-and-nan.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/float/inf-and-nan.json new file mode 100644 index 00000000..e3f1ba3c --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/float/inf-and-nan.json @@ -0,0 +1,26 @@ +{ + "infinity": { + "type": "float", + "value": "inf" + }, + "infinity_neg": { + "type": "float", + "value": "-inf" + }, + "infinity_plus": { + "type": "float", + "value": "+inf" + }, + "nan": { + "type": "float", + "value": "nan" + }, + "nan_neg": { + "type": "float", + "value": "nan" + }, + "nan_plus": { + "type": "float", + "value": "nan" + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/float/inf-and-nan.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/float/inf-and-nan.toml new file mode 100644 index 00000000..c8f8459c --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/float/inf-and-nan.toml @@ -0,0 +1,8 @@ +# We don't encode +nan and -nan back with the signs; many languages don't +# support a sign on NaN (it doesn't really make much sense). +nan = nan +nan_neg = -nan +nan_plus = +nan +infinity = inf +infinity_neg = -inf +infinity_plus = +inf diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/float/long.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/float/long.json new file mode 100644 index 00000000..73d75052 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/float/long.json @@ -0,0 +1,10 @@ +{ + "longpi": { + "type": "float", + "value": "3.141592653589793" + }, + "neglongpi": { + "type": "float", + "value": "-3.141592653589793" + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/float/long.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/float/long.toml new file mode 100644 index 00000000..9558ae47 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/float/long.toml @@ -0,0 +1,2 @@ +longpi = 3.141592653589793 +neglongpi = -3.141592653589793 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/float/underscore.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/float/underscore.json new file mode 100644 index 00000000..f54f7b50 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/float/underscore.json @@ -0,0 +1,14 @@ +{ + "after": { + "type": "float", + "value": "3141.5927" + }, + "before": { + "type": "float", + "value": "3141.5927" + }, + "exponent": { + "type": "float", + "value": "3.0e14" + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/float/underscore.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/float/underscore.toml new file mode 100644 index 00000000..343353a8 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/float/underscore.toml @@ -0,0 +1,3 @@ +before = 3_141.5927 +after = 3141.592_7 +exponent = 3e1_4 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/float/zero.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/float/zero.json new file mode 100644 index 00000000..61551e8a --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/float/zero.json @@ -0,0 +1,30 @@ +{ + "zero": { + "type": "float", + "value": "0" + }, + "signed-pos": { + "type": "float", + "value": "0" + }, + "signed-neg": { + "type": "float", + "value": "0" + }, + "exponent": { + "type": "float", + "value": "0" + }, + "exponent-two-0": { + "type": "float", + "value": "0" + }, + "exponent-signed-pos": { + "type": "float", + "value": "0" + }, + "exponent-signed-neg": { + "type": "float", + "value": "0" + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/float/zero.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/float/zero.toml new file mode 100644 index 00000000..e7efb1f8 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/float/zero.toml @@ -0,0 +1,7 @@ +zero = 0.0 +signed-pos = +0.0 +signed-neg = -0.0 +exponent = 0e0 +exponent-two-0 = 0e00 +exponent-signed-pos = +0e0 +exponent-signed-neg = -0e0 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/implicit-and-explicit-after.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/implicit-and-explicit-after.json new file mode 100644 index 00000000..663a34e8 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/implicit-and-explicit-after.json @@ -0,0 +1,16 @@ +{ + "a": { + "b": { + "c": { + "answer": { + "type": "integer", + "value": "42" + } + } + }, + "better": { + "type": "integer", + "value": "43" + } + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/implicit-and-explicit-after.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/implicit-and-explicit-after.toml new file mode 100644 index 00000000..c0e8865b --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/implicit-and-explicit-after.toml @@ -0,0 +1,5 @@ +[a.b.c] +answer = 42 + +[a] +better = 43 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/implicit-and-explicit-before.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/implicit-and-explicit-before.json new file mode 100644 index 00000000..663a34e8 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/implicit-and-explicit-before.json @@ -0,0 +1,16 @@ +{ + "a": { + "b": { + "c": { + "answer": { + "type": "integer", + "value": "42" + } + } + }, + "better": { + "type": "integer", + "value": "43" + } + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/implicit-and-explicit-before.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/implicit-and-explicit-before.toml new file mode 100644 index 00000000..eee68ff5 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/implicit-and-explicit-before.toml @@ -0,0 +1,5 @@ +[a] +better = 43 + +[a.b.c] +answer = 42 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/implicit-groups.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/implicit-groups.json new file mode 100644 index 00000000..347c693c --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/implicit-groups.json @@ -0,0 +1,12 @@ +{ + "a": { + "b": { + "c": { + "answer": { + "type": "integer", + "value": "42" + } + } + } + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/implicit-groups.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/implicit-groups.toml new file mode 100644 index 00000000..b6333e49 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/implicit-groups.toml @@ -0,0 +1,2 @@ +[a.b.c] +answer = 42 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/inline-table/array.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/inline-table/array.json new file mode 100644 index 00000000..fe78bf6b --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/inline-table/array.json @@ -0,0 +1,34 @@ +{ + "people": [ + { + "first_name": { + "type": "string", + "value": "Bruce" + }, + "last_name": { + "type": "string", + "value": "Springsteen" + } + }, + { + "first_name": { + "type": "string", + "value": "Eric" + }, + "last_name": { + "type": "string", + "value": "Clapton" + } + }, + { + "first_name": { + "type": "string", + "value": "Bob" + }, + "last_name": { + "type": "string", + "value": "Seger" + } + } + ] +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/inline-table/array.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/inline-table/array.toml new file mode 100644 index 00000000..3fa60d66 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/inline-table/array.toml @@ -0,0 +1,3 @@ +people = [{first_name = "Bruce", last_name = "Springsteen"}, + {first_name = "Eric", last_name = "Clapton"}, + {first_name = "Bob", last_name = "Seger"}] diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/inline-table/bool.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/inline-table/bool.json new file mode 100644 index 00000000..717952fa --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/inline-table/bool.json @@ -0,0 +1,12 @@ +{ + "a": { + "a": { + "type": "bool", + "value": "true" + }, + "b": { + "type": "bool", + "value": "false" + } + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/inline-table/bool.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/inline-table/bool.toml new file mode 100644 index 00000000..d228fc26 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/inline-table/bool.toml @@ -0,0 +1 @@ +a = {a = true, b = false} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/inline-table/empty.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/inline-table/empty.json new file mode 100644 index 00000000..28beacf8 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/inline-table/empty.json @@ -0,0 +1,30 @@ +{ + "empty1": {}, + "empty2": {}, + "empty_in_array": [ + { + "not_empty": { + "type": "integer", + "value": "1" + } + }, + {} + ], + "empty_in_array2": [ + {}, + { + "not_empty": { + "type": "integer", + "value": "1" + } + } + ], + "many_empty": [ + {}, + {}, + {} + ], + "nested_empty": { + "empty": {} + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/inline-table/empty.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/inline-table/empty.toml new file mode 100644 index 00000000..910d458f --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/inline-table/empty.toml @@ -0,0 +1,6 @@ +empty1 = {} +empty2 = { } +empty_in_array = [ { not_empty = 1 }, {} ] +empty_in_array2 = [{},{not_empty=1}] +many_empty = [{},{},{}] +nested_empty = {"empty"={}} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/inline-table/end-in-bool.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/inline-table/end-in-bool.json new file mode 100644 index 00000000..90e700ab --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/inline-table/end-in-bool.json @@ -0,0 +1,16 @@ +{ + "black": { + "allow_prereleases": { + "type": "bool", + "value": "true" + }, + "python": { + "type": "string", + "value": "\u003e3.6" + }, + "version": { + "type": "string", + "value": "\u003e=18.9b0" + } + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/inline-table/end-in-bool.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/inline-table/end-in-bool.toml new file mode 100644 index 00000000..94e5651d --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/inline-table/end-in-bool.toml @@ -0,0 +1 @@ +black = { python=">3.6", version=">=18.9b0", allow_prereleases=true } diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/inline-table/inline-table.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/inline-table/inline-table.json new file mode 100644 index 00000000..2468f62c --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/inline-table/inline-table.json @@ -0,0 +1,48 @@ +{ + "name": { + "first": { + "type": "string", + "value": "Tom" + }, + "last": { + "type": "string", + "value": "Preston-Werner" + } + }, + "point": { + "x": { + "type": "integer", + "value": "1" + }, + "y": { + "type": "integer", + "value": "2" + } + }, + "simple": { + "a": { + "type": "integer", + "value": "1" + } + }, + "str-key": { + "a": { + "type": "integer", + "value": "1" + } + }, + "table-array": [ + { + "a": { + "type": "integer", + "value": "1" + } + }, + { + "b": { + "type": "integer", + "value": "2" + } + } + ] +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/inline-table/inline-table.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/inline-table/inline-table.toml new file mode 100644 index 00000000..257047ee --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/inline-table/inline-table.toml @@ -0,0 +1,5 @@ +name = { first = "Tom", last = "Preston-Werner" } +point = { x = 1, y = 2 } +simple = { a = 1 } +str-key = { "a" = 1 } +table-array = [{ "a" = 1 }, { "b" = 2 }] diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/inline-table/key-dotted.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/inline-table/key-dotted.json new file mode 100644 index 00000000..38868032 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/inline-table/key-dotted.json @@ -0,0 +1,140 @@ +{ + "a": { + "a": { + "b": { + "type": "integer", + "value": "1" + } + } + }, + "arr": [ + { + "T": { + "a": { + "b": { + "type": "integer", + "value": "1" + } + } + }, + "t": { + "a": { + "b": { + "type": "integer", + "value": "1" + } + } + } + }, + { + "T": { + "a": { + "b": { + "type": "integer", + "value": "2" + } + } + }, + "t": { + "a": { + "b": { + "type": "integer", + "value": "2" + } + } + } + } + ], + "b": { + "a": { + "b": { + "type": "integer", + "value": "1" + } + } + }, + "c": { + "a": { + "b": { + "type": "integer", + "value": "1" + } + } + }, + "d": { + "a": { + "b": { + "type": "integer", + "value": "1" + } + } + }, + "e": { + "a": { + "b": { + "type": "integer", + "value": "1" + } + } + }, + "inline": { + "a": { + "b": { + "type": "integer", + "value": "42" + } + } + }, + "many": { + "dots": { + "here": { + "dot": { + "dot": { + "dot": { + "a": { + "b": { + "c": { + "type": "integer", + "value": "1" + }, + "d": { + "type": "integer", + "value": "2" + } + } + } + } + } + } + } + } + }, + "tbl": { + "a": { + "b": { + "c": { + "d": { + "e": { + "type": "integer", + "value": "1" + } + } + } + } + }, + "x": { + "a": { + "b": { + "c": { + "d": { + "e": { + "type": "integer", + "value": "1" + } + } + } + } + } + } + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/inline-table/key-dotted.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/inline-table/key-dotted.toml new file mode 100644 index 00000000..e812943a --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/inline-table/key-dotted.toml @@ -0,0 +1,23 @@ +inline = {a.b = 42} + +many.dots.here.dot.dot.dot = {a.b.c = 1, a.b.d = 2} + +a = { a.b = 1 } +b = { "a"."b" = 1 } +c = { a . b = 1 } +d = { 'a' . "b" = 1 } +e = {a.b=1} + +[tbl] +a.b.c = {d.e=1} + +[tbl.x] +a.b.c = {d.e=1} + +[[arr]] +t = {a.b=1} +T = {a.b=1} + +[[arr]] +t = {a.b=2} +T = {a.b=2} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/inline-table/multiline.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/inline-table/multiline.json new file mode 100644 index 00000000..f946d819 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/inline-table/multiline.json @@ -0,0 +1,20 @@ +{ + "tbl_multiline": { + "a": { + "type": "integer", + "value": "1" + }, + "b": { + "type": "string", + "value": "multiline\n" + }, + "c": { + "type": "string", + "value": "and yet\nanother line" + }, + "d": { + "type": "integer", + "value": "4" + } + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/inline-table/multiline.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/inline-table/multiline.toml new file mode 100644 index 00000000..a653b18f --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/inline-table/multiline.toml @@ -0,0 +1,4 @@ +tbl_multiline = { a = 1, b = """ +multiline +""", c = """and yet +another line""", d = 4 } diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/inline-table/nest.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/inline-table/nest.json new file mode 100644 index 00000000..70aebb3f --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/inline-table/nest.json @@ -0,0 +1,64 @@ +{ + "arr_arr_tbl_empty": [ + [ + {} + ] + ], + "arr_arr_tbl_val": [ + [ + { + "one": { + "type": "integer", + "value": "1" + } + } + ] + ], + "arr_arr_tbls": [ + [ + { + "one": { + "type": "integer", + "value": "1" + } + }, + { + "two": { + "type": "integer", + "value": "2" + } + } + ] + ], + "arr_tbl_tbl": [ + { + "tbl": { + "one": { + "type": "integer", + "value": "1" + } + } + } + ], + "tbl_arr_tbl": { + "arr_tbl": [ + { + "one": { + "type": "integer", + "value": "1" + } + } + ] + }, + "tbl_tbl_empty": { + "tbl_0": {} + }, + "tbl_tbl_val": { + "tbl_1": { + "one": { + "type": "integer", + "value": "1" + } + } + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/inline-table/nest.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/inline-table/nest.toml new file mode 100644 index 00000000..2624c1d5 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/inline-table/nest.toml @@ -0,0 +1,10 @@ +tbl_tbl_empty = { tbl_0 = {} } +tbl_tbl_val = { tbl_1 = { one = 1 } } +tbl_arr_tbl = { arr_tbl = [ { one = 1 } ] } +arr_tbl_tbl = [ { tbl = { one = 1 } } ] + +# Array-of-array-of-table is interesting because it can only +# be represented in inline form. +arr_arr_tbl_empty = [ [ {} ] ] +arr_arr_tbl_val = [ [ { one = 1 } ] ] +arr_arr_tbls = [ [ { one = 1 }, { two = 2 } ] ] diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/integer/integer.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/integer/integer.json new file mode 100644 index 00000000..eee97580 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/integer/integer.json @@ -0,0 +1,18 @@ +{ + "answer": { + "type": "integer", + "value": "42" + }, + "neganswer": { + "type": "integer", + "value": "-42" + }, + "posanswer": { + "type": "integer", + "value": "42" + }, + "zero": { + "type": "integer", + "value": "0" + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/integer/integer.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/integer/integer.toml new file mode 100644 index 00000000..b62de30a --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/integer/integer.toml @@ -0,0 +1,4 @@ +answer = 42 +posanswer = +42 +neganswer = -42 +zero = 0 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/integer/literals.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/integer/literals.json new file mode 100644 index 00000000..1a8555bd --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/integer/literals.json @@ -0,0 +1,38 @@ +{ + "bin1": { + "type": "integer", + "value": "214" + }, + "bin2": { + "type": "integer", + "value": "5" + }, + "hex1": { + "type": "integer", + "value": "3735928559" + }, + "hex2": { + "type": "integer", + "value": "3735928559" + }, + "hex3": { + "type": "integer", + "value": "3735928559" + }, + "hex4": { + "type": "integer", + "value": "2439" + }, + "oct1": { + "type": "integer", + "value": "342391" + }, + "oct2": { + "type": "integer", + "value": "493" + }, + "oct3": { + "type": "integer", + "value": "501" + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/integer/literals.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/integer/literals.toml new file mode 100644 index 00000000..a0785904 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/integer/literals.toml @@ -0,0 +1,11 @@ +bin1 = 0b11010110 +bin2 = 0b1_0_1 + +oct1 = 0o01234567 +oct2 = 0o755 +oct3 = 0o7_6_5 + +hex1 = 0xDEADBEEF +hex2 = 0xdeadbeef +hex3 = 0xdead_beef +hex4 = 0x00987 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/integer/long.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/integer/long.json new file mode 100644 index 00000000..6f4f0a7c --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/integer/long.json @@ -0,0 +1,10 @@ +{ + "int64-max": { + "type": "integer", + "value": "9223372036854775807" + }, + "int64-max-neg": { + "type": "integer", + "value": "-9223372036854775808" + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/integer/long.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/integer/long.toml new file mode 100644 index 00000000..5db5ed79 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/integer/long.toml @@ -0,0 +1,2 @@ +int64-max = 9223372036854775807 +int64-max-neg = -9223372036854775808 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/integer/underscore.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/integer/underscore.json new file mode 100644 index 00000000..10b9b591 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/integer/underscore.json @@ -0,0 +1,10 @@ +{ + "kilo": { + "type": "integer", + "value": "1000" + }, + "x": { + "type": "integer", + "value": "1111" + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/integer/underscore.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/integer/underscore.toml new file mode 100644 index 00000000..7c2da5fe --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/integer/underscore.toml @@ -0,0 +1,2 @@ +kilo = 1_000 +x = 1_1_1_1 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/integer/zero.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/integer/zero.json new file mode 100644 index 00000000..9d5c7077 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/integer/zero.json @@ -0,0 +1,50 @@ +{ + "a2": { + "type": "integer", + "value": "0" + }, + "a3": { + "type": "integer", + "value": "0" + }, + "b1": { + "type": "integer", + "value": "0" + }, + "b2": { + "type": "integer", + "value": "0" + }, + "b3": { + "type": "integer", + "value": "0" + }, + "d1": { + "type": "integer", + "value": "0" + }, + "d2": { + "type": "integer", + "value": "0" + }, + "d3": { + "type": "integer", + "value": "0" + }, + "h1": { + "type": "integer", + "value": "0" + }, + "h2": { + "type": "integer", + "value": "0" + }, + "h3": { + "type": "integer", + "value": "0" + }, + "o1": { + "type": "integer", + "value": "0" + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/integer/zero.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/integer/zero.toml new file mode 100644 index 00000000..4687c281 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/integer/zero.toml @@ -0,0 +1,15 @@ +d1 = 0 +d2 = +0 +d3 = -0 + +h1 = 0x0 +h2 = 0x00 +h3 = 0x00000 + +o1 = 0o0 +a2 = 0o00 +a3 = 0o00000 + +b1 = 0b0 +b2 = 0b00 +b3 = 0b00000 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/key/alphanum.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/key/alphanum.json new file mode 100644 index 00000000..a54e1d35 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/key/alphanum.json @@ -0,0 +1,46 @@ +{ + "000111": { + "type": "string", + "value": "leading" + }, + "10e3": { + "type": "string", + "value": "false float" + }, + "123": { + "type": "string", + "value": "num" + }, + "2018_10": { + "001": { + "type": "integer", + "value": "1" + } + }, + "34-11": { + "type": "integer", + "value": "23" + }, + "a-a-a": { + "_": { + "type": "bool", + "value": "false" + } + }, + "alpha": { + "type": "string", + "value": "a" + }, + "one1two2": { + "type": "string", + "value": "mixed" + }, + "under_score": { + "type": "string", + "value": "___" + }, + "with-dash": { + "type": "string", + "value": "dashed" + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/key/alphanum.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/key/alphanum.toml new file mode 100644 index 00000000..0632e9cc --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/key/alphanum.toml @@ -0,0 +1,14 @@ +alpha = "a" +123 = "num" +000111 = "leading" +10e3 = "false float" +one1two2 = "mixed" +with-dash = "dashed" +under_score = "___" +34-11 = 23 + +[2018_10] +001 = 1 + +[a-a-a] +_ = false diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/key/case-sensitive.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/key/case-sensitive.json new file mode 100644 index 00000000..1f205d20 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/key/case-sensitive.json @@ -0,0 +1,38 @@ +{ + "Section": { + "M": { + "type": "string", + "value": "latin letter M" + }, + "name": { + "type": "string", + "value": "different section!!" + }, + "Îœ": { + "type": "string", + "value": "greek capital letter MU" + }, + "μ": { + "type": "string", + "value": "greek small letter mu" + } + }, + "sectioN": { + "type": "string", + "value": "NN" + }, + "section": { + "NAME": { + "type": "string", + "value": "upper" + }, + "Name": { + "type": "string", + "value": "capitalized" + }, + "name": { + "type": "string", + "value": "lower" + } + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/key/case-sensitive.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/key/case-sensitive.toml new file mode 100644 index 00000000..e02b3a51 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/key/case-sensitive.toml @@ -0,0 +1,13 @@ +sectioN = "NN" + +[section] +name = "lower" +NAME = "upper" +Name = "capitalized" + +[Section] +name = "different section!!" +"μ" = "greek small letter mu" +"Îœ" = "greek capital letter MU" +M = "latin letter M" + diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/key/dotted.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/key/dotted.json new file mode 100644 index 00000000..a527a72c --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/key/dotted.json @@ -0,0 +1,132 @@ +{ + "a": { + "few": { + "dots": { + "polka": { + "dance-with": { + "type": "string", + "value": "Dot" + }, + "dot": { + "type": "string", + "value": "again?" + } + } + } + } + }, + "arr": [ + { + "a": { + "b": { + "c": { + "type": "integer", + "value": "1" + }, + "d": { + "type": "integer", + "value": "2" + } + } + } + }, + { + "a": { + "b": { + "c": { + "type": "integer", + "value": "3" + }, + "d": { + "type": "integer", + "value": "4" + } + } + } + } + ], + "count": { + "a": { + "type": "integer", + "value": "1" + }, + "b": { + "type": "integer", + "value": "2" + }, + "c": { + "type": "integer", + "value": "3" + }, + "d": { + "type": "integer", + "value": "4" + }, + "e": { + "type": "integer", + "value": "5" + }, + "f": { + "type": "integer", + "value": "6" + }, + "g": { + "type": "integer", + "value": "7" + }, + "h": { + "type": "integer", + "value": "8" + }, + "i": { + "type": "integer", + "value": "9" + }, + "j": { + "type": "integer", + "value": "10" + }, + "k": { + "type": "integer", + "value": "11" + }, + "l": { + "type": "integer", + "value": "12" + } + }, + "many": { + "dots": { + "here": { + "dot": { + "dot": { + "dot": { + "type": "integer", + "value": "42" + } + } + } + } + } + }, + "name": { + "first": { + "type": "string", + "value": "Arthur" + }, + "last": { + "type": "string", + "value": "Dent" + } + }, + "tbl": { + "a": { + "b": { + "c": { + "type": "float", + "value": "42.666" + } + } + } + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/key/dotted.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/key/dotted.toml new file mode 100644 index 00000000..52d62d72 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/key/dotted.toml @@ -0,0 +1,35 @@ +# Note: this file contains literal tab characters. + +name.first = "Arthur" +"name".'last' = "Dent" + +many.dots.here.dot.dot.dot = 42 + +# Space are ignored, and key parts can be quoted. +count.a = 1 +count . b = 2 +"count"."c" = 3 +"count" . "d" = 4 +'count'.'e' = 5 +'count' . 'f' = 6 +"count".'g' = 7 +"count" . 'h' = 8 +count.'i' = 9 +count . 'j' = 10 +"count".k = 11 +"count" . l = 12 + +[tbl] +a.b.c = 42.666 + +[a.few.dots] +polka.dot = "again?" +polka.dance-with = "Dot" + +[[arr]] +a.b.c=1 +a.b.d=2 + +[[arr]] +a.b.c=3 +a.b.d=4 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/key/empty.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/key/empty.json new file mode 100644 index 00000000..44948a9e --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/key/empty.json @@ -0,0 +1,6 @@ +{ + "": { + "type": "string", + "value": "blank" + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/key/empty.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/key/empty.toml new file mode 100644 index 00000000..0a1640dc --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/key/empty.toml @@ -0,0 +1 @@ +"" = "blank" diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/key/equals-nospace.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/key/equals-nospace.json new file mode 100644 index 00000000..9394e562 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/key/equals-nospace.json @@ -0,0 +1,6 @@ +{ + "answer": { + "type": "integer", + "value": "42" + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/key/equals-nospace.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/key/equals-nospace.toml new file mode 100644 index 00000000..560901c5 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/key/equals-nospace.toml @@ -0,0 +1 @@ +answer=42 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/key/escapes.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/key/escapes.json new file mode 100644 index 00000000..e62b3a14 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/key/escapes.json @@ -0,0 +1,24 @@ +{ + "\n": { + "type": "string", + "value": "newline" + }, + "\"": { + "type": "string", + "value": "just a quote" + }, + "\"quoted\"": { + "quote": { + "type": "bool", + "value": "true" + } + }, + "a.b": { + "À": {} + }, + "backsp\u0008\u0008": {}, + "À": { + "type": "string", + "value": "latin capital letter A with grave" + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/key/escapes.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/key/escapes.toml new file mode 100644 index 00000000..aac3c0a5 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/key/escapes.toml @@ -0,0 +1,10 @@ +"\n" = "newline" +"\u00c0" = "latin capital letter A with grave" +"\"" = "just a quote" + +["backsp\b\b"] + +["\"quoted\""] +quote = true + +["a.b"."\u00c0"] diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/key/numeric-dotted.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/key/numeric-dotted.json new file mode 100644 index 00000000..43dd4d1f --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/key/numeric-dotted.json @@ -0,0 +1,8 @@ +{ + "1": { + "2": { + "type": "integer", + "value": "3" + } + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/key/numeric-dotted.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/key/numeric-dotted.toml new file mode 100644 index 00000000..538204c6 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/key/numeric-dotted.toml @@ -0,0 +1 @@ +1.2 = 3 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/key/numeric.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/key/numeric.json new file mode 100644 index 00000000..eddb88be --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/key/numeric.json @@ -0,0 +1,6 @@ +{ + "1": { + "type": "integer", + "value": "1" + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/key/numeric.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/key/numeric.toml new file mode 100644 index 00000000..532356f4 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/key/numeric.toml @@ -0,0 +1 @@ +1 = 1 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/key/quoted-dots.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/key/quoted-dots.json new file mode 100644 index 00000000..1582c5b8 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/key/quoted-dots.json @@ -0,0 +1,32 @@ +{ + "plain": { + "type": "integer", + "value": "1" + }, + "plain_table": { + "plain": { + "type": "integer", + "value": "3" + }, + "with.dot": { + "type": "integer", + "value": "4" + } + }, + "table": { + "withdot": { + "key.with.dots": { + "type": "integer", + "value": "6" + }, + "plain": { + "type": "integer", + "value": "5" + } + } + }, + "with.dot": { + "type": "integer", + "value": "2" + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/key/quoted-dots.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/key/quoted-dots.toml new file mode 100644 index 00000000..65fcddf9 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/key/quoted-dots.toml @@ -0,0 +1,10 @@ +plain = 1 +"with.dot" = 2 + +[plain_table] +plain = 3 +"with.dot" = 4 + +[table.withdot] +plain = 5 +"key.with.dots" = 6 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/key/space.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/key/space.json new file mode 100644 index 00000000..6d95f1ad --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/key/space.json @@ -0,0 +1,6 @@ +{ + "a b": { + "type": "integer", + "value": "1" + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/key/space.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/key/space.toml new file mode 100644 index 00000000..f4f36c4f --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/key/space.toml @@ -0,0 +1 @@ +"a b" = 1 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/key/special-chars.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/key/special-chars.json new file mode 100644 index 00000000..60840475 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/key/special-chars.json @@ -0,0 +1,6 @@ +{ + "~!@$^\u0026*()_+-`1234567890[]|/?\u003e\u003c.,;:'": { + "type": "integer", + "value": "1" + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/key/special-chars.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/key/special-chars.toml new file mode 100644 index 00000000..cc572bef --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/key/special-chars.toml @@ -0,0 +1 @@ +"~!@$^&*()_+-`1234567890[]|/?><.,;:'" = 1 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/key/special-word.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/key/special-word.json new file mode 100644 index 00000000..59ce693a --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/key/special-word.json @@ -0,0 +1,18 @@ +{ + "false": { + "type": "bool", + "value": "false" + }, + "inf": { + "type": "integer", + "value": "100000000" + }, + "nan": { + "type": "string", + "value": "ceci n'est pas un nombre" + }, + "true": { + "type": "integer", + "value": "1" + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/key/special-word.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/key/special-word.toml new file mode 100644 index 00000000..0b836f17 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/key/special-word.toml @@ -0,0 +1,5 @@ +false = false +true = 1 +inf = 100000000 +nan = "ceci n'est pas un nombre" + diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/newline-crlf.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/newline-crlf.json new file mode 100644 index 00000000..acf617e3 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/newline-crlf.json @@ -0,0 +1,10 @@ +{ + "newline": { + "type": "string", + "value": "crlf" + }, + "os": { + "type": "string", + "value": "DOS" + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/newline-crlf.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/newline-crlf.toml new file mode 100644 index 00000000..00300244 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/newline-crlf.toml @@ -0,0 +1,2 @@ +os = "DOS" +newline = "crlf" diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/newline-lf.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/newline-lf.json new file mode 100644 index 00000000..66cf871f --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/newline-lf.json @@ -0,0 +1,10 @@ +{ + "newline": { + "type": "string", + "value": "lf" + }, + "os": { + "type": "string", + "value": "unix" + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/newline-lf.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/newline-lf.toml new file mode 100644 index 00000000..0f3377cd --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/newline-lf.toml @@ -0,0 +1,2 @@ +os = "unix" +newline = "lf" diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/spec-example-1-compact.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/spec-example-1-compact.json new file mode 100644 index 00000000..9f4078aa --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/spec-example-1-compact.json @@ -0,0 +1,100 @@ +{ + "clients": { + "data": [ + [ + { + "type": "string", + "value": "gamma" + }, + { + "type": "string", + "value": "delta" + } + ], + [ + { + "type": "integer", + "value": "1" + }, + { + "type": "integer", + "value": "2" + } + ] + ], + "hosts": [ + { + "type": "string", + "value": "alpha" + }, + { + "type": "string", + "value": "omega" + } + ] + }, + "database": { + "connection_max": { + "type": "integer", + "value": "5000" + }, + "enabled": { + "type": "bool", + "value": "true" + }, + "ports": [ + { + "type": "integer", + "value": "8001" + }, + { + "type": "integer", + "value": "8001" + }, + { + "type": "integer", + "value": "8002" + } + ], + "server": { + "type": "string", + "value": "192.168.1.1" + } + }, + "owner": { + "dob": { + "type": "datetime", + "value": "1979-05-27T07:32:00-08:00" + }, + "name": { + "type": "string", + "value": "Lance Uppercut" + } + }, + "servers": { + "alpha": { + "dc": { + "type": "string", + "value": "eqdc10" + }, + "ip": { + "type": "string", + "value": "10.0.0.1" + } + }, + "beta": { + "dc": { + "type": "string", + "value": "eqdc10" + }, + "ip": { + "type": "string", + "value": "10.0.0.2" + } + } + }, + "title": { + "type": "string", + "value": "TOML Example" + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/spec-example-1-compact.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/spec-example-1-compact.toml new file mode 100644 index 00000000..15e2b84b --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/spec-example-1-compact.toml @@ -0,0 +1,23 @@ +#Useless spaces eliminated. +title="TOML Example" +[owner] +name="Lance Uppercut" +dob=1979-05-27T07:32:00-08:00#First class dates +[database] +server="192.168.1.1" +ports=[8001,8001,8002] +connection_max=5000 +enabled=true +[servers] +[servers.alpha] +ip="10.0.0.1" +dc="eqdc10" +[servers.beta] +ip="10.0.0.2" +dc="eqdc10" +[clients] +data=[["gamma","delta"],[1,2]] +hosts=[ +"alpha", +"omega" +] diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/spec-example-1.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/spec-example-1.json new file mode 100644 index 00000000..9f4078aa --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/spec-example-1.json @@ -0,0 +1,100 @@ +{ + "clients": { + "data": [ + [ + { + "type": "string", + "value": "gamma" + }, + { + "type": "string", + "value": "delta" + } + ], + [ + { + "type": "integer", + "value": "1" + }, + { + "type": "integer", + "value": "2" + } + ] + ], + "hosts": [ + { + "type": "string", + "value": "alpha" + }, + { + "type": "string", + "value": "omega" + } + ] + }, + "database": { + "connection_max": { + "type": "integer", + "value": "5000" + }, + "enabled": { + "type": "bool", + "value": "true" + }, + "ports": [ + { + "type": "integer", + "value": "8001" + }, + { + "type": "integer", + "value": "8001" + }, + { + "type": "integer", + "value": "8002" + } + ], + "server": { + "type": "string", + "value": "192.168.1.1" + } + }, + "owner": { + "dob": { + "type": "datetime", + "value": "1979-05-27T07:32:00-08:00" + }, + "name": { + "type": "string", + "value": "Lance Uppercut" + } + }, + "servers": { + "alpha": { + "dc": { + "type": "string", + "value": "eqdc10" + }, + "ip": { + "type": "string", + "value": "10.0.0.1" + } + }, + "beta": { + "dc": { + "type": "string", + "value": "eqdc10" + }, + "ip": { + "type": "string", + "value": "10.0.0.2" + } + } + }, + "title": { + "type": "string", + "value": "TOML Example" + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/spec-example-1.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/spec-example-1.toml new file mode 100644 index 00000000..52fd1e89 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/spec-example-1.toml @@ -0,0 +1,33 @@ +# This is a TOML document. Boom. + +title = "TOML Example" + +[owner] +name = "Lance Uppercut" +dob = 1979-05-27T07:32:00-08:00 # First class dates? Why not? + +[database] +server = "192.168.1.1" +ports = [ 8001, 8001, 8002 ] +connection_max = 5000 +enabled = true + +[servers] + + # You can indent as you please. Tabs or spaces. TOML don't care. + [servers.alpha] + ip = "10.0.0.1" + dc = "eqdc10" + + [servers.beta] + ip = "10.0.0.2" + dc = "eqdc10" + +[clients] +data = [ ["gamma", "delta"], [1, 2] ] + +# Line breaks are OK when inside arrays +hosts = [ + "alpha", + "omega" +] diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/string/double-quote-escape.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/string/double-quote-escape.json new file mode 100644 index 00000000..0c4ac37e --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/string/double-quote-escape.json @@ -0,0 +1,6 @@ +{ + "test": { + "type": "string", + "value": "\"one\"" + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/string/double-quote-escape.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/string/double-quote-escape.toml new file mode 100644 index 00000000..78e7e729 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/string/double-quote-escape.toml @@ -0,0 +1 @@ +test = "\"one\"" diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/string/empty.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/string/empty.json new file mode 100644 index 00000000..efe96c36 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/string/empty.json @@ -0,0 +1,6 @@ +{ + "answer": { + "type": "string", + "value": "" + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/string/empty.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/string/empty.toml new file mode 100644 index 00000000..e37e6815 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/string/empty.toml @@ -0,0 +1 @@ +answer = "" diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/string/escape-esc.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/string/escape-esc.json new file mode 100644 index 00000000..be392415 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/string/escape-esc.json @@ -0,0 +1,6 @@ +{ + "esc": { + "type": "string", + "value": "\u001b There is no escape! \u001b" + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/string/escape-esc.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/string/escape-esc.toml new file mode 100644 index 00000000..1e158fe1 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/string/escape-esc.toml @@ -0,0 +1 @@ +esc = "\e There is no escape! \e" diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/string/escape-tricky.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/string/escape-tricky.json new file mode 100644 index 00000000..572e0a56 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/string/escape-tricky.json @@ -0,0 +1,30 @@ +{ + "end_esc": { + "type": "string", + "value": "String does not end here\" but ends here\\" + }, + "lit_end_esc": { + "type": "string", + "value": "String ends here\\" + }, + "lit_multiline_end": { + "type": "string", + "value": "There is no escape\\" + }, + "lit_multiline_not_unicode": { + "type": "string", + "value": "\\u007f" + }, + "multiline_end_esc": { + "type": "string", + "value": "When will it end? \"\"\"...\"\"\" should be here\"" + }, + "multiline_not_unicode": { + "type": "string", + "value": "\\u0041" + }, + "multiline_unicode": { + "type": "string", + "value": " " + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/string/escape-tricky.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/string/escape-tricky.toml new file mode 100644 index 00000000..dc204cb3 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/string/escape-tricky.toml @@ -0,0 +1,15 @@ +end_esc = "String does not end here\" but ends here\\" +lit_end_esc = 'String ends here\' + +multiline_unicode = """ +\u00a0""" + +multiline_not_unicode = """ +\\u0041""" + +multiline_end_esc = """When will it end? \"""...""\" should be here\"""" + +lit_multiline_not_unicode = ''' +\u007f''' + +lit_multiline_end = '''There is no escape\''' diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/string/escaped-escape.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/string/escaped-escape.json new file mode 100644 index 00000000..112c0c97 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/string/escaped-escape.json @@ -0,0 +1,6 @@ +{ + "answer": { + "type": "string", + "value": "\\x64" + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/string/escaped-escape.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/string/escaped-escape.toml new file mode 100644 index 00000000..d5758761 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/string/escaped-escape.toml @@ -0,0 +1 @@ +answer = "\\x64" diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/string/escapes.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/string/escapes.json new file mode 100644 index 00000000..d849574a --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/string/escapes.json @@ -0,0 +1,54 @@ +{ + "backslash": { + "type": "string", + "value": "This string has a \\ backslash character." + }, + "backspace": { + "type": "string", + "value": "This string has a \u0008 backspace character." + }, + "carriage": { + "type": "string", + "value": "This string has a \r carriage return character." + }, + "delete": { + "type": "string", + "value": "This string has a  delete control code." + }, + "formfeed": { + "type": "string", + "value": "This string has a \u000c form feed character." + }, + "newline": { + "type": "string", + "value": "This string has a \n new line character." + }, + "notunicode1": { + "type": "string", + "value": "This string does not have a unicode \\u escape." + }, + "notunicode2": { + "type": "string", + "value": "This string does not have a unicode \\u escape." + }, + "notunicode3": { + "type": "string", + "value": "This string does not have a unicode \\u0075 escape." + }, + "notunicode4": { + "type": "string", + "value": "This string does not have a unicode \\u escape." + }, + "quote": { + "type": "string", + "value": "This string has a \" quote character." + }, + "tab": { + "type": "string", + "value": "This string has a \t tab character." + }, + "unitseparator": { + "type": "string", + "value": "This string has a \u001f unit separator control code." + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/string/escapes.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/string/escapes.toml new file mode 100644 index 00000000..78f7ebdf --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/string/escapes.toml @@ -0,0 +1,13 @@ +backspace = "This string has a \b backspace character." +tab = "This string has a \t tab character." +newline = "This string has a \n new line character." +formfeed = "This string has a \f form feed character." +carriage = "This string has a \r carriage return character." +quote = "This string has a \" quote character." +backslash = "This string has a \\ backslash character." +notunicode1 = "This string does not have a unicode \\u escape." +notunicode2 = "This string does not have a unicode \u005Cu escape." +notunicode3 = "This string does not have a unicode \\u0075 escape." +notunicode4 = "This string does not have a unicode \\\u0075 escape." +delete = "This string has a \u007F delete control code." +unitseparator = "This string has a \u001F unit separator control code." diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/string/multiline-escaped-crlf.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/string/multiline-escaped-crlf.json new file mode 100644 index 00000000..aa5e3eed --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/string/multiline-escaped-crlf.json @@ -0,0 +1,6 @@ +{ + "0": { + "type": "string", + "value": "" + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/string/multiline-escaped-crlf.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/string/multiline-escaped-crlf.toml new file mode 100644 index 00000000..97d697de --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/string/multiline-escaped-crlf.toml @@ -0,0 +1,4 @@ +# The following line should be an unescaped backslash followed by a Windows +# newline sequence ("\r\n") +0="""\ +""" diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/string/multiline-quotes.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/string/multiline-quotes.json new file mode 100644 index 00000000..af9c4c80 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/string/multiline-quotes.json @@ -0,0 +1,46 @@ +{ + "escaped": { + "type": "string", + "value": "lol\"\"\"" + }, + "lit_one": { + "type": "string", + "value": "'one quote'" + }, + "lit_one_space": { + "type": "string", + "value": " 'one quote' " + }, + "lit_two": { + "type": "string", + "value": "''two quotes''" + }, + "lit_two_space": { + "type": "string", + "value": " ''two quotes'' " + }, + "mismatch1": { + "type": "string", + "value": "aaa'''bbb" + }, + "mismatch2": { + "type": "string", + "value": "aaa\"\"\"bbb" + }, + "one": { + "type": "string", + "value": "\"one quote\"" + }, + "one_space": { + "type": "string", + "value": " \"one quote\" " + }, + "two": { + "type": "string", + "value": "\"\"two quotes\"\"" + }, + "two_space": { + "type": "string", + "value": " \"\"two quotes\"\" " + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/string/multiline-quotes.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/string/multiline-quotes.toml new file mode 100644 index 00000000..085e127f --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/string/multiline-quotes.toml @@ -0,0 +1,19 @@ +# Make sure that quotes inside multiline strings are allowed, including right +# after the opening '''/""" and before the closing '''/""" + +lit_one = ''''one quote'''' +lit_two = '''''two quotes''''' +lit_one_space = ''' 'one quote' ''' +lit_two_space = ''' ''two quotes'' ''' + +one = """"one quote"""" +two = """""two quotes""""" +one_space = """ "one quote" """ +two_space = """ ""two quotes"" """ + +mismatch1 = """aaa'''bbb""" +mismatch2 = '''aaa"""bbb''' + +# Three opening """, then one escaped ", then two "" (allowed), and then three +# closing """ +escaped = """lol\"""""" diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/string/multiline.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/string/multiline.json new file mode 100644 index 00000000..66e572bd --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/string/multiline.json @@ -0,0 +1,54 @@ +{ + "equivalent_one": { + "type": "string", + "value": "The quick brown fox jumps over the lazy dog." + }, + "equivalent_three": { + "type": "string", + "value": "The quick brown fox jumps over the lazy dog." + }, + "equivalent_two": { + "type": "string", + "value": "The quick brown fox jumps over the lazy dog." + }, + "escape-bs-1": { + "type": "string", + "value": "a \\\nb" + }, + "escape-bs-2": { + "type": "string", + "value": "a \\b" + }, + "escape-bs-3": { + "type": "string", + "value": "a \\\\\n b" + }, + "keep-ws-before": { + "type": "string", + "value": "a \tb" + }, + "multiline_empty_four": { + "type": "string", + "value": "" + }, + "multiline_empty_one": { + "type": "string", + "value": "" + }, + "multiline_empty_three": { + "type": "string", + "value": "" + }, + "multiline_empty_two": { + "type": "string", + "value": "" + }, + "no-space": { + "type": "string", + "value": "ab" + }, + "whitespace-after-bs": { + "type": "string", + "value": "The quick brown fox jumps over the lazy dog." + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/string/multiline.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/string/multiline.toml new file mode 100644 index 00000000..f3b3c2ed --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/string/multiline.toml @@ -0,0 +1,52 @@ +# NOTE: this file includes some literal tab characters. + +multiline_empty_one = """""" + +# A newline immediately following the opening delimiter will be trimmed. +multiline_empty_two = """ +""" + +# \ at the end of line trims newlines as well; note that last \ is followed by +# two spaces, which are ignored. +multiline_empty_three = """\ + """ +multiline_empty_four = """\ + \ + \ + """ + +equivalent_one = "The quick brown fox jumps over the lazy dog." +equivalent_two = """ +The quick brown \ + + + fox jumps over \ + the lazy dog.""" + +equivalent_three = """\ + The quick brown \ + fox jumps over \ + the lazy dog.\ + """ + +whitespace-after-bs = """\ + The quick brown \ + fox jumps over \ + the lazy dog.\ + """ + +no-space = """a\ + b""" + +# Has tab character. +keep-ws-before = """a \ + b""" + +escape-bs-1 = """a \\ +b""" + +escape-bs-2 = """a \\\ +b""" + +escape-bs-3 = """a \\\\ + b""" diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/string/nl.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/string/nl.json new file mode 100644 index 00000000..8eae09a0 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/string/nl.json @@ -0,0 +1,22 @@ +{ + "lit_nl_end": { + "type": "string", + "value": "value\\n" + }, + "lit_nl_mid": { + "type": "string", + "value": "val\\nue" + }, + "lit_nl_uni": { + "type": "string", + "value": "val\\ue" + }, + "nl_end": { + "type": "string", + "value": "value\n" + }, + "nl_mid": { + "type": "string", + "value": "val\nue" + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/string/nl.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/string/nl.toml new file mode 100644 index 00000000..1e09a8bf --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/string/nl.toml @@ -0,0 +1,6 @@ +nl_mid = "val\nue" +nl_end = """value\n""" + +lit_nl_end = '''value\n''' +lit_nl_mid = 'val\nue' +lit_nl_uni = 'val\ue' diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/string/raw-multiline.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/string/raw-multiline.json new file mode 100644 index 00000000..4d195ec5 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/string/raw-multiline.json @@ -0,0 +1,14 @@ +{ + "firstnl": { + "type": "string", + "value": "This string has a ' quote character." + }, + "multiline": { + "type": "string", + "value": "This string\nhas ' a quote character\nand more than\none newline\nin it." + }, + "oneline": { + "type": "string", + "value": "This string has a ' quote character." + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/string/raw-multiline.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/string/raw-multiline.toml new file mode 100644 index 00000000..293f8034 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/string/raw-multiline.toml @@ -0,0 +1,14 @@ +# Single ' should be allowed. +oneline = '''This string has a ' quote character.''' + +# A newline immediately following the opening delimiter will be trimmed. +firstnl = ''' +This string has a ' quote character.''' + +# All other whitespace and newline characters remain intact. +multiline = ''' +This string +has ' a quote character +and more than +one newline +in it.''' diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/string/raw.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/string/raw.json new file mode 100644 index 00000000..6b753a35 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/string/raw.json @@ -0,0 +1,30 @@ +{ + "backslash": { + "type": "string", + "value": "This string has a \\\\ backslash character." + }, + "backspace": { + "type": "string", + "value": "This string has a \\b backspace character." + }, + "carriage": { + "type": "string", + "value": "This string has a \\r carriage return character." + }, + "formfeed": { + "type": "string", + "value": "This string has a \\f form feed character." + }, + "newline": { + "type": "string", + "value": "This string has a \\n new line character." + }, + "slash": { + "type": "string", + "value": "This string has a \\/ slash character." + }, + "tab": { + "type": "string", + "value": "This string has a \\t tab character." + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/string/raw.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/string/raw.toml new file mode 100644 index 00000000..92acd255 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/string/raw.toml @@ -0,0 +1,7 @@ +backspace = 'This string has a \b backspace character.' +tab = 'This string has a \t tab character.' +newline = 'This string has a \n new line character.' +formfeed = 'This string has a \f form feed character.' +carriage = 'This string has a \r carriage return character.' +slash = 'This string has a \/ slash character.' +backslash = 'This string has a \\ backslash character.' diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/string/simple.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/string/simple.json new file mode 100644 index 00000000..2561cda3 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/string/simple.json @@ -0,0 +1,6 @@ +{ + "answer": { + "type": "string", + "value": "You are not drinking enough whisky." + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/string/simple.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/string/simple.toml new file mode 100644 index 00000000..e17ade62 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/string/simple.toml @@ -0,0 +1 @@ +answer = "You are not drinking enough whisky." diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/string/unicode-escape.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/string/unicode-escape.json new file mode 100644 index 00000000..9ae728ba --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/string/unicode-escape.json @@ -0,0 +1,10 @@ +{ + "answer4": { + "type": "string", + "value": "δ" + }, + "answer8": { + "type": "string", + "value": "δ" + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/string/unicode-escape.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/string/unicode-escape.toml new file mode 100644 index 00000000..82faecbf --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/string/unicode-escape.toml @@ -0,0 +1,2 @@ +answer4 = "\u03B4" +answer8 = "\U000003B4" diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/string/unicode-literal.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/string/unicode-literal.json new file mode 100644 index 00000000..7f15df42 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/string/unicode-literal.json @@ -0,0 +1,6 @@ +{ + "answer": { + "type": "string", + "value": "δ" + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/string/unicode-literal.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/string/unicode-literal.toml new file mode 100644 index 00000000..c65723ca --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/string/unicode-literal.toml @@ -0,0 +1 @@ +answer = "δ" diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/string/with-pound.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/string/with-pound.json new file mode 100644 index 00000000..2cb8beb9 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/string/with-pound.json @@ -0,0 +1,10 @@ +{ + "pound": { + "type": "string", + "value": "We see no # comments here." + }, + "poundcomment": { + "type": "string", + "value": "But there are # some comments here." + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/string/with-pound.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/string/with-pound.toml new file mode 100644 index 00000000..5fd87466 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/string/with-pound.toml @@ -0,0 +1,2 @@ +pound = "We see no # comments here." +poundcomment = "But there are # some comments here." # Did I # mess you up? diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/table/array-implicit.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/table/array-implicit.json new file mode 100644 index 00000000..ee164c5f --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/table/array-implicit.json @@ -0,0 +1,12 @@ +{ + "albums": { + "songs": [ + { + "name": { + "type": "string", + "value": "Glory Days" + } + } + ] + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/table/array-implicit.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/table/array-implicit.toml new file mode 100644 index 00000000..3157ac98 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/table/array-implicit.toml @@ -0,0 +1,2 @@ +[[albums.songs]] +name = "Glory Days" diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/table/array-many.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/table/array-many.json new file mode 100644 index 00000000..fe78bf6b --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/table/array-many.json @@ -0,0 +1,34 @@ +{ + "people": [ + { + "first_name": { + "type": "string", + "value": "Bruce" + }, + "last_name": { + "type": "string", + "value": "Springsteen" + } + }, + { + "first_name": { + "type": "string", + "value": "Eric" + }, + "last_name": { + "type": "string", + "value": "Clapton" + } + }, + { + "first_name": { + "type": "string", + "value": "Bob" + }, + "last_name": { + "type": "string", + "value": "Seger" + } + } + ] +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/table/array-many.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/table/array-many.toml new file mode 100644 index 00000000..46062beb --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/table/array-many.toml @@ -0,0 +1,11 @@ +[[people]] +first_name = "Bruce" +last_name = "Springsteen" + +[[people]] +first_name = "Eric" +last_name = "Clapton" + +[[people]] +first_name = "Bob" +last_name = "Seger" diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/table/array-nest.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/table/array-nest.json new file mode 100644 index 00000000..97f55c81 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/table/array-nest.json @@ -0,0 +1,44 @@ +{ + "albums": [ + { + "name": { + "type": "string", + "value": "Born to Run" + }, + "songs": [ + { + "name": { + "type": "string", + "value": "Jungleland" + } + }, + { + "name": { + "type": "string", + "value": "Meeting Across the River" + } + } + ] + }, + { + "name": { + "type": "string", + "value": "Born in the USA" + }, + "songs": [ + { + "name": { + "type": "string", + "value": "Glory Days" + } + }, + { + "name": { + "type": "string", + "value": "Dancing in the Dark" + } + } + ] + } + ] +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/table/array-nest.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/table/array-nest.toml new file mode 100644 index 00000000..d659a3d9 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/table/array-nest.toml @@ -0,0 +1,17 @@ +[[albums]] +name = "Born to Run" + + [[albums.songs]] + name = "Jungleland" + + [[albums.songs]] + name = "Meeting Across the River" + +[[albums]] +name = "Born in the USA" + + [[albums.songs]] + name = "Glory Days" + + [[albums.songs]] + name = "Dancing in the Dark" diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/table/array-one.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/table/array-one.json new file mode 100644 index 00000000..5cd67de1 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/table/array-one.json @@ -0,0 +1,14 @@ +{ + "people": [ + { + "first_name": { + "type": "string", + "value": "Bruce" + }, + "last_name": { + "type": "string", + "value": "Springsteen" + } + } + ] +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/table/array-one.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/table/array-one.toml new file mode 100644 index 00000000..cd7e1b69 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/table/array-one.toml @@ -0,0 +1,3 @@ +[[people]] +first_name = "Bruce" +last_name = "Springsteen" diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/table/array-table-array.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/table/array-table-array.json new file mode 100644 index 00000000..5c3d6495 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/table/array-table-array.json @@ -0,0 +1,24 @@ +{ + "a": [ + { + "b": [ + { + "c": { + "d": { + "type": "string", + "value": "val0" + } + } + }, + { + "c": { + "d": { + "type": "string", + "value": "val1" + } + } + } + ] + } + ] +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/table/array-table-array.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/table/array-table-array.toml new file mode 100644 index 00000000..a07b0c7f --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/table/array-table-array.toml @@ -0,0 +1,7 @@ +[[a]] + [[a.b]] + [a.b.c] + d = "val0" + [[a.b]] + [a.b.c] + d = "val1" diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/table/empty.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/table/empty.json new file mode 100644 index 00000000..3e82cdad --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/table/empty.json @@ -0,0 +1,3 @@ +{ + "a": {} +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/table/empty.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/table/empty.toml new file mode 100644 index 00000000..8bb6a0aa --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/table/empty.toml @@ -0,0 +1 @@ +[a] diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/table/keyword.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/table/keyword.json new file mode 100644 index 00000000..a15dfae0 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/table/keyword.json @@ -0,0 +1,6 @@ +{ + "true": {}, + "false": {}, + "inf": {}, + "nan": {} +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/table/keyword.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/table/keyword.toml new file mode 100644 index 00000000..bc3d52a7 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/table/keyword.toml @@ -0,0 +1,9 @@ +[true] + +[false] + +[inf] + +[nan] + + diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/table/names.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/table/names.json new file mode 100644 index 00000000..66d8ea5b --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/table/names.json @@ -0,0 +1,30 @@ +{ + "a": { + " x ": {}, + "b": { + "c": {} + }, + "b.c": {}, + "d.e": {} + }, + "d": { + "e": { + "f": {} + } + }, + "g": { + "h": { + "i": {} + } + }, + "j": { + "Êž": { + "l": {} + } + }, + "x": { + "1": { + "2": {} + } + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/table/names.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/table/names.toml new file mode 100644 index 00000000..092da2ff --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/table/names.toml @@ -0,0 +1,9 @@ +[a.b.c] +[a."b.c"] +[a.'d.e'] +[a.' x '] +[ d.e.f ] +[ g . h . i ] +[ j . "Êž" . 'l' ] + +[x.1.2] diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/table/no-eol.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/table/no-eol.json new file mode 100644 index 00000000..b6e7fb50 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/table/no-eol.json @@ -0,0 +1,3 @@ +{ + "table": {} +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/table/no-eol.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/table/no-eol.toml new file mode 100644 index 00000000..f1098fda --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/table/no-eol.toml @@ -0,0 +1 @@ +[table] diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/table/sub-empty.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/table/sub-empty.json new file mode 100644 index 00000000..ed10cd23 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/table/sub-empty.json @@ -0,0 +1,5 @@ +{ + "a": { + "b": {} + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/table/sub-empty.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/table/sub-empty.toml new file mode 100644 index 00000000..70b7fe11 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/table/sub-empty.toml @@ -0,0 +1,2 @@ +[a] +[a.b] diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/table/whitespace.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/table/whitespace.json new file mode 100644 index 00000000..c7704703 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/table/whitespace.json @@ -0,0 +1,3 @@ +{ + "valid key": {} +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/table/whitespace.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/table/whitespace.toml new file mode 100644 index 00000000..daf881d1 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/table/whitespace.toml @@ -0,0 +1 @@ +["valid key"] diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/table/with-literal-string.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/table/with-literal-string.json new file mode 100644 index 00000000..7784695c --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/table/with-literal-string.json @@ -0,0 +1,12 @@ +{ + "a": { + "\"b\"": { + "c": { + "answer": { + "type": "integer", + "value": "42" + } + } + } + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/table/with-literal-string.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/table/with-literal-string.toml new file mode 100644 index 00000000..b81643da --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/table/with-literal-string.toml @@ -0,0 +1,4 @@ +['a'] +[a.'"b"'] +[a.'"b"'.c] +answer = 42 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/table/with-pound.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/table/with-pound.json new file mode 100644 index 00000000..f32d2f2e --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/table/with-pound.json @@ -0,0 +1,8 @@ +{ + "key#group": { + "answer": { + "type": "integer", + "value": "42" + } + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/table/with-pound.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/table/with-pound.toml new file mode 100644 index 00000000..33f2c4fd --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/table/with-pound.toml @@ -0,0 +1,2 @@ +["key#group"] +answer = 42 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/table/with-single-quotes.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/table/with-single-quotes.json new file mode 100644 index 00000000..347c693c --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/table/with-single-quotes.json @@ -0,0 +1,12 @@ +{ + "a": { + "b": { + "c": { + "answer": { + "type": "integer", + "value": "42" + } + } + } + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/table/with-single-quotes.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/table/with-single-quotes.toml new file mode 100644 index 00000000..56e52cc9 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/table/with-single-quotes.toml @@ -0,0 +1,4 @@ +['a'] +[a.'b'] +[a.'b'.c] +answer = 42 diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/table/without-super.json b/ktoml-file/src/commonTest/resources/toml_certification/valid/table/without-super.json new file mode 100644 index 00000000..3c390c68 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/table/without-super.json @@ -0,0 +1,9 @@ +{ + "x": { + "y": { + "z": { + "w": {} + } + } + } +} diff --git a/ktoml-file/src/commonTest/resources/toml_certification/valid/table/without-super.toml b/ktoml-file/src/commonTest/resources/toml_certification/valid/table/without-super.toml new file mode 100644 index 00000000..73ed68b2 --- /dev/null +++ b/ktoml-file/src/commonTest/resources/toml_certification/valid/table/without-super.toml @@ -0,0 +1,5 @@ +# [x] you +# [x.y] don't +# [x.y.z] need these +[x.y.z.w] # for this to work +[x] # defining a super-table afterwards is ok