diff --git a/index.html b/index.html index 780dd8ce..53312f8e 100644 --- a/index.html +++ b/index.html @@ -28,5 +28,5 @@ @@COMMIT@@ - + diff --git a/parsers~app-5e8056cecca37d80203a-27.js b/parsers~app-d3479f55cd24ae551582-27.js similarity index 94% rename from parsers~app-5e8056cecca37d80203a-27.js rename to parsers~app-d3479f55cd24ae551582-27.js index 0d731b6f..11e2061c 100644 --- a/parsers~app-5e8056cecca37d80203a-27.js +++ b/parsers~app-d3479f55cd24ae551582-27.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"5BCq":function(e,t,n){"use strict";var r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("e311")),i=r(n("LX0w")),a="textlint:txt";function formatResults(e,t){return 0===e.messages.length?"Lint rule not fired.":e.messages.map((function format(e){return function formatResult(e,t){var n="-".repeat(e.column-1)+"^";return console.log(t.split("\n")[e.line-1]),"\n| ".concat(e.message," (at ").concat(e.line,":").concat(e.column,")\n ").concat(t.split("\n")[e.line-1]||"","\n| ").concat(n,"\n")}(e,t)})).join("").trim()}var s={id:a,displayName:a,version:i.default.version,homepage:i.default.homepage,defaultParserID:"textlint:txt-to-ast",loadTransformer:function loadTransformer(e){n.e(8).then((function(){var t=[n("eKXY")];(function(t,n){var r=t.TextlintKernel,o=n.default;e({TextlintKernel:r,plugin:o})}).apply(null,t)})).catch(n.oe)},transform:function transform(e,t,n){e.TextlintKernel;var r=e.plugin,i=new Kernel,a=(0,o.default)(t);return i.lintText(n,{rules:[{ruleId:"astExplorerRule",rule:a,options:!0}],plugins:[{pluginId:"txt",plugin:r,options:!0}],ext:".txt"}).then((function(e){return formatResults(e,n)}))}};t.default=s},"6Ai1":function(e){e.exports=JSON.parse('{"name":"textlint-plugin-html","version":"1.0.0","description":"textlint HTML plugin.","keywords":["textlint","plugin","html","lint"],"homepage":"https://github.com/textlint/textlint-plugin-html","bugs":{"url":"https://github.com/textlint/textlint-plugin-html/issues"},"repository":{"type":"git","url":"git+https://github.com/textlint/textlint-plugin-html.git"},"license":"MIT","author":"azu","type":"module","exports":{".":{"import":{"types":"./module/index.d.ts","default":"./module/index.js"},"default":"./module/index.js"},"./package.json":"./package.json"},"main":"./module/index.js","types":"./module/index.d.ts","directories":{"test":"test"},"files":["module/","src/"],"scripts":{"build":"tsc --build","clean":"tsc --build --clean","prepublishOnly":"npm run clean && npm run build","prepublish":"npm run --if-present build","test":"mocha","updateSnapshot":"UPDATE_SNAPSHOT=1 npm test","watch":"tsc --build --watch"},"dependencies":{"@textlint/ast-node-types":"^13.0.5","rehype-parse":"^8.0.4","structured-source":"^4.0.0","traverse":"^0.6.7","unified":"^10.1.2"},"devDependencies":{"@textlint/ast-tester":"^13.0.5","@textlint/kernel":"^13.0.5","@textlint/module-interop":"^13.0.5","@textlint/types":"^13.0.5","@types/glob":"^8.0.1","@types/mocha":"^10.0.1","@types/node":"^18.11.18","@types/traverse":"^0.6.32","glob":"^8.1.0","mocha":"^10.2.0","textlint":"^13.0.5","textlint-rule-no-todo":"^2.0.0","ts-node":"^10.9.1","typescript":"^4.9.4"},"packageManager":"yarn@1.22.19","email":"azuciao@gmail.com"}')},"6ysq":function(e){e.exports=JSON.parse('{"name":"@textlint/text-to-ast","version":"14.0.3","description":"Parse plain text to AST with location info.","keywords":["ast","textlint","txt"],"homepage":"https://github.com/textlint/textlint/tree/master/packages/@textlint/text-to-ast/","bugs":{"url":"https://github.com/textlint/textlint/issues"},"repository":{"type":"git","url":"https://github.com/textlint/textlint.git"},"license":"MIT","author":"azu","main":"lib/src/index.js","module":"module/src/index.js","types":"lib/src/index.d.ts","directories":{"example":"example","test":"test"},"files":["bin/","lib/","module/","src/","!*.tsbuildinfo"],"scripts":{"build":"tsc -b && tsc -b tsconfig.module.json","clean":"rimraf lib/ module/","crlf":"eolConverter crlf test/snapshots/crlf/input.txt && eolConverter crlf test/snapshots/crlf-empty-line/input.txt","prepack":"npm run --if-present build","pretest":"npm run crlf","test":"mocha","updateSnapshot":"UPDATE_SNAPSHOT=1 npm test","watch":"tsc -b --watch"},"dependencies":{"@textlint/ast-node-types":"^14.0.3"},"devDependencies":{"@textlint/ast-tester":"^14.0.3","eol-converter-cli":"^1.0.8","mocha":"^10.3.0","rimraf":"^3.0.2","typescript":"~5.3.3"},"publishConfig":{"access":"public"},"gitHead":"6cef9504c25a7ab771dd45986e4710463c094369"}')},ALtc:function(e){e.exports=JSON.parse('{"name":"@textlint/markdown-to-ast","version":"14.0.3","description":"Parse Markdown to AST with location info.","homepage":"https://github.com/textlint/textlint/tree/master/packages/@textlint/markdown-to-ast/","bugs":{"url":"https://github.com/textlint/textlint/issues"},"repository":{"type":"git","url":"https://github.com/textlint/textlint.git"},"license":"MIT","author":"azu","main":"lib/src/index.js","module":"module/src/index.js","types":"lib/src/index.d.ts","directories":{"test":"test/"},"files":["bin/","lib/","module/","src/","!*.tsbuildinfo"],"scripts":{"build":"tsc -b && tsc -b tsconfig.module.json","clean":"rimraf lib/ module/","prepack":"npm run --if-present build","test":"mocha","updateSnapshot":"npm run build && node tools/update-fixtures.js","watch":"tsc -b --watch"},"dependencies":{"@textlint/ast-node-types":"^14.0.3","debug":"^4.3.4","mdast-util-gfm-autolink-literal":"^0.1.3","remark-footnotes":"^3.0.0","remark-frontmatter":"^3.0.0","remark-gfm":"^1.0.0","remark-parse":"^9.0.0","traverse":"^0.6.8","unified":"^9.2.2"},"devDependencies":{"@textlint/ast-tester":"^14.0.3","@types/mocha":"^9.1.1","@types/node":"^18.19.9","@types/traverse":"^0.6.36","mkdirp":"^1.0.4","mocha":"^10.3.0","rimraf":"^3.0.2","ts-node":"^10.9.2","typescript":"~5.3.3"},"publishConfig":{"access":"public"},"gitHead":"6cef9504c25a7ab771dd45986e4710463c094369"}')},HXEx:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mimeTypes=t.displayName=t.id=void 0,n("dLt8");t.id="html";t.displayName="HTML";t.mimeTypes=["text/html"]},IF7l:function(e,t,n){"use strict";var r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("lSNA")),i=r(n("Jac2")),a=r(n("6Ai1"));function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _objectSpread(e){for(var t=1;t0?{fields:t}:null},hasSettings:function hasSettings(){return null!=this._getSettingsConfiguration(this.getDefaultOptions())},getDefaultOptions:function getDefaultOptions(){return{}},_mergeDefaultOptions:function _mergeDefaultOptions(e,t){return _objectSpread(_objectSpread({},t),e)},renderSettings:function renderSettings(e,t){var n=this.getDefaultOptions(),r=this._getSettingsConfiguration(n);return r?(e=null==e?n:this._mergeDefaultOptions(e,n),s.default.createElement(l.default,{settingsConfiguration:r,parserSettings:e,onChange:t})):null}};t.default=u},KPon:function(e,t,n){"use strict";n.r(t),t.default='module.exports = function (context) {\n const {Syntax, RuleError, report, getSource} = context;\n return {\n [Syntax.Str](node){\n report(node, new Error("error"));\n }\n };\n}\n'},"L/Yi":function(e,t,n){"use strict";var r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("e311")),i=r(n("LX0w")),a="textlint:markdown";function formatResults(e,t){return 0===e.messages.length?"Lint rule not fired.":e.messages.map((function format(e){return function formatResult(e,t){var n="-".repeat(e.column-1)+"^";return console.log(t.split("\n")[e.line-1]),"\n| ".concat(e.message," (at ").concat(e.line,":").concat(e.column,")\n ").concat(t.split("\n")[e.line-1]||"","\n| ").concat(n,"\n")}(e,t)})).join("").trim()}var s={id:a,displayName:a,version:i.default.version,homepage:i.default.homepage,defaultParserID:"textlint:markdown-to-ast",loadTransformer:function loadTransformer(e){n.e(4).then((function(){var t=[n("eKXY"),n("9VI0")];(function(t,n){var r=t.TextlintKernel,o=n.default;e({TextlintKernel:r,plugin:o})}).apply(null,t)})).catch(n.oe)},transform:function transform(e,t,n){var r=e.TextlintKernel,i=e.plugin,a=new r,s=(0,o.default)(t);return a.lintText(n,{rules:[{ruleId:"astExplorerRule",rule:s,options:!0}],plugins:[{pluginId:"markdown",plugin:i,options:!0}],ext:".md"}).then((function(e){return formatResults(e,n)}))}};t.default=s},LX0w:function(e){e.exports=JSON.parse('{"name":"@textlint/kernel","version":"14.0.3","description":"textlint kernel is core logic by pure JavaScript.","keywords":["textlint"],"homepage":"https://github.com/textlint/textlint/tree/master/packages/@textlint/textlint-kernel/","bugs":{"url":"https://github.com/textlint/textlint/issues"},"repository":{"type":"git","url":"https://github.com/textlint/textlint.git"},"license":"MIT","author":"azu","main":"lib/src/index.js","module":"./module/src/index.js","typings":"lib/src/index.d.ts","directories":{"test":"test"},"files":["bin/","lib/","module/","src/","!*.tsbuildinfo"],"scripts":{"build":"tsc -b && tsc -b tsconfig.module.json","clean":"rimraf lib/ module/","prepack":"npm run --if-present build","test":"mocha","updateSnapshot":"UPDATE_SNAPSHOT=1 npm test","test:build":"tsc -b test"},"dependencies":{"@textlint/ast-node-types":"^14.0.3","@textlint/ast-tester":"^14.0.3","@textlint/ast-traverse":"^14.0.3","@textlint/feature-flag":"^14.0.3","@textlint/source-code-fixer":"^14.0.3","@textlint/types":"^14.0.3","@textlint/utils":"^14.0.3","debug":"^4.3.4","fast-equals":"^4.0.3","structured-source":"^4.0.0"},"devDependencies":{"@textlint/markdown-to-ast":"^14.0.3","@types/debug":"^4.1.12","@types/mocha":"^9.1.1","@types/node":"^18.19.9","mocha":"^10.3.0","rimraf":"^3.0.2","shelljs":"^0.8.5","ts-node":"^10.9.2","typescript":"~5.3.3"},"gitHead":"6cef9504c25a7ab771dd45986e4710463c094369"}')},NSyc:function(e,t,n){"use strict";var r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=SettingsRenderer;var o=r(n("cDf5")),i=r(n("J4zp")),a=r(n("lSNA")),s=r(n("17x9")),l=r(n("q1tI"));function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _objectSpread(e){for(var t=1;t-1,t}),{})}(e):e}function defaultUpdater(e,t,n){return _objectSpread(_objectSpread({},e),{},(0,a.default)({},t,n))}function arrayUpdater(e,t,n){return e=new Set(e),n?e.add(t):e.delete(t),Array.from(e)}function SettingsRenderer(e){var t=e.settingsConfiguration,n=e.parserSettings,r=e.onChange,s=t.title,c=t.fields,p=t.required,d=void 0===p?new Set:p,f=t.update,m=void 0===f?function getUpdateStrategy(e){return Array.isArray(e)?arrayUpdater:defaultUpdater}(n):f,g=(t.values||getValuesFromSettings)(n);return l.default.createElement("div",null,s?l.default.createElement("h4",null,s):null,l.default.createElement("ul",{className:"settings"},c.map((function(e){if("string"==typeof e)return l.default.createElement("li",{key:e},l.default.createElement("label",null,l.default.createElement("input",{type:"checkbox",readOnly:d.has(e),disabled:d.has(e),checked:g[e],onChange:function onChange(t){var o=t.target;return r(m(n,e,o.checked))}})," ",e));if(Array.isArray(e)){var t=(0,i.default)(e,3),s=t[0],c=t[1],p=t[2],f=void 0===p?u:p;return l.default.createElement("li",{key:s},l.default.createElement("label",null,s,": ",l.default.createElement("select",{onChange:function onChange(e){var t=e.target;return r(m(n,s,f(t.value)))},value:g[s]},Array.isArray(c)?c.map((function(e){return l.default.createElement("option",{key:e,value:e},e)})):Object.keys(c).map((function(e){return l.default.createElement("option",{key:e,value:c[e]},e)})))))}return e&&"object"===(0,o.default)(e)?l.default.createElement(SettingsRenderer,{key:e.key,settingsConfiguration:e,parserSettings:e.settings(n),onChange:function onChange(t){return r(_objectSpread(_objectSpread({},n),{},(0,a.default)({},e.key,t)))}}):void 0}))))}SettingsRenderer.propTypes={settingsConfiguration:s.default.object.isRequired,parserSettings:s.default.oneOfType([s.default.object,s.default.array]).isRequired,onChange:s.default.func.isRequired}},O6CK:function(e,t,n){"use strict";var r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("lSNA")),i=r(n("Jac2")),a=r(n("6ysq"));function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _objectSpread(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},n={},r={exports:n},i=Object.keys(t),a=["module","exports"].concat((0,o.default)(i)),s=[r,n].concat((0,o.default)(i.map((function(e){return t[e]}))));return new Function(a.join(),e).apply(n,s),r.exports};var o=r(n("RIqP"))},eYv0:function(e,t,n){"use strict";var r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("lSNA")),i=r(n("Jac2")),a=r(n("ALtc"));function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _objectSpread(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:getDefaultCategory();return e.parsers.filter((function(e){return e.showInMenu}))[0]},t.getCategoryByID=function getCategoryByID(e){return s[e]},t.getParserByID=function getParserByID(e){return l[e]},t.getTransformerByID=function getTransformerByID(e){return u[e]},t.categories=void 0;var o=r(n("J4zp")),i=n("S7PH");function interopRequire(e){return e.__esModule?e.default:e}var a=i.keys().map((function(e){return e.split("/").slice(1)})),s={},l={},u={},c=new Set(["index.js","codeExample.txt","transformers","utils"]),p=a.filter((function(e){return"index.js"===e[1]})).map((function(e){var t=(0,o.default)(e,1)[0],n=i("./".concat(t,"/index.js"));s[n.id]=n,n.codeExample=interopRequire(i("./".concat(t,"/codeExample.txt")));var r=a.filter((function(e){return(0,o.default)(e,1)[0]===t})).map((function(e){return e.slice(1)}));return n.parsers=r.filter((function(e){var t=(0,o.default)(e,1)[0];return!c.has(t)})).map((function(e){var r=(0,o.default)(e,1)[0],a=interopRequire(i("./".concat(t,"/").concat(r)));return l[a.id]=a,a.category=n,a})),n.transformers=r.filter((function(e){var t=(0,o.default)(e,3),n=t[0],r=t[2];return"transformers"===n&&"index.js"===r})).map((function(e){var n=(0,o.default)(e,2)[1],r="./".concat(t,"/transformers/").concat(n),a=interopRequire(i("".concat(r,"/index.js")));return u[a.id]=a,a.defaultTransform=interopRequire(i("".concat(r,"/codeExample.txt"))),a})),n}));function getDefaultCategory(){return s.markdown}t.categories=p},kkIC:function(e,t,n){"use strict";n.r(t),t.default='module.exports = function (context) {\n const {Syntax, RuleError, report, getSource} = context;\n return {\n [Syntax.Str](node){\n const value = getSource(node);\n if(/TITLE/i.test(value)) {\n report(node, new RuleError("Error: includes title"));\n }\n }\n };\n}\n'},p7hP:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mimeTypes=t.displayName=t.id=void 0,n("lZu9");t.id="markdown";t.displayName="Markdown";t.mimeTypes=["text/markdown"]},wUaC:function(e,t,n){"use strict";n.r(t),t.default="# Title\n\nThis is text.\n\n- list item\n\n[Link](http://example.com)"},z2Cm:function(e,t,n){"use strict";n.r(t),t.default="

Title

\n\n
\n

This is a paragraph.

\n
\n"},zIeV:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mimeTypes=t.displayName=t.id=void 0;t.id="txt";t.displayName="Plain text";t.mimeTypes=["text/plain"]}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"5BCq":function(e,t,n){"use strict";var r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("e311")),i=r(n("LX0w")),a="textlint:txt";function formatResults(e,t){return 0===e.messages.length?"Lint rule not fired.":e.messages.map((function format(e){return function formatResult(e,t){var n="-".repeat(e.column-1)+"^";return console.log(t.split("\n")[e.line-1]),"\n| ".concat(e.message," (at ").concat(e.line,":").concat(e.column,")\n ").concat(t.split("\n")[e.line-1]||"","\n| ").concat(n,"\n")}(e,t)})).join("").trim()}var s={id:a,displayName:a,version:i.default.version,homepage:i.default.homepage,defaultParserID:"textlint:txt-to-ast",loadTransformer:function loadTransformer(e){n.e(8).then((function(){var t=[n("eKXY")];(function(t,n){var r=t.TextlintKernel,o=n.default;e({TextlintKernel:r,plugin:o})}).apply(null,t)})).catch(n.oe)},transform:function transform(e,t,n){e.TextlintKernel;var r=e.plugin,i=new Kernel,a=(0,o.default)(t);return i.lintText(n,{rules:[{ruleId:"astExplorerRule",rule:a,options:!0}],plugins:[{pluginId:"txt",plugin:r,options:!0}],ext:".txt"}).then((function(e){return formatResults(e,n)}))}};t.default=s},"6Ai1":function(e){e.exports=JSON.parse('{"name":"textlint-plugin-html","version":"1.0.0","description":"textlint HTML plugin.","keywords":["textlint","plugin","html","lint"],"homepage":"https://github.com/textlint/textlint-plugin-html","bugs":{"url":"https://github.com/textlint/textlint-plugin-html/issues"},"repository":{"type":"git","url":"git+https://github.com/textlint/textlint-plugin-html.git"},"license":"MIT","author":"azu","type":"module","exports":{".":{"import":{"types":"./module/index.d.ts","default":"./module/index.js"},"default":"./module/index.js"},"./package.json":"./package.json"},"main":"./module/index.js","types":"./module/index.d.ts","directories":{"test":"test"},"files":["module/","src/"],"scripts":{"build":"tsc --build","clean":"tsc --build --clean","prepublishOnly":"npm run clean && npm run build","prepublish":"npm run --if-present build","test":"mocha","updateSnapshot":"UPDATE_SNAPSHOT=1 npm test","watch":"tsc --build --watch"},"dependencies":{"@textlint/ast-node-types":"^13.0.5","rehype-parse":"^8.0.4","structured-source":"^4.0.0","traverse":"^0.6.7","unified":"^10.1.2"},"devDependencies":{"@textlint/ast-tester":"^13.0.5","@textlint/kernel":"^13.0.5","@textlint/module-interop":"^13.0.5","@textlint/types":"^13.0.5","@types/glob":"^8.0.1","@types/mocha":"^10.0.1","@types/node":"^18.11.18","@types/traverse":"^0.6.32","glob":"^8.1.0","mocha":"^10.2.0","textlint":"^13.0.5","textlint-rule-no-todo":"^2.0.0","ts-node":"^10.9.1","typescript":"^4.9.4"},"packageManager":"yarn@1.22.19","email":"azuciao@gmail.com"}')},"6ysq":function(e){e.exports=JSON.parse('{"name":"@textlint/text-to-ast","version":"14.0.4","description":"Parse plain text to AST with location info.","keywords":["ast","textlint","txt"],"homepage":"https://github.com/textlint/textlint/tree/master/packages/@textlint/text-to-ast/","bugs":{"url":"https://github.com/textlint/textlint/issues"},"repository":{"type":"git","url":"https://github.com/textlint/textlint.git"},"license":"MIT","author":"azu","main":"lib/src/index.js","module":"module/src/index.js","types":"lib/src/index.d.ts","directories":{"example":"example","test":"test"},"files":["bin/","lib/","module/","src/","!*.tsbuildinfo"],"scripts":{"build":"tsc -b && tsc -b tsconfig.module.json","clean":"rimraf lib/ module/","crlf":"eolConverter crlf test/snapshots/crlf/input.txt && eolConverter crlf test/snapshots/crlf-empty-line/input.txt","prepack":"npm run --if-present build","pretest":"npm run crlf","test":"mocha","updateSnapshot":"UPDATE_SNAPSHOT=1 npm test","watch":"tsc -b --watch"},"dependencies":{"@textlint/ast-node-types":"^14.0.4"},"devDependencies":{"@textlint/ast-tester":"^14.0.4","eol-converter-cli":"^1.0.8","mocha":"^10.3.0","rimraf":"^3.0.2","typescript":"~5.3.3"},"publishConfig":{"access":"public"},"gitHead":"eb85d7c6bb25a88e790f83c8cadfb7a7b775d238"}')},ALtc:function(e){e.exports=JSON.parse('{"name":"@textlint/markdown-to-ast","version":"14.0.4","description":"Parse Markdown to AST with location info.","homepage":"https://github.com/textlint/textlint/tree/master/packages/@textlint/markdown-to-ast/","bugs":{"url":"https://github.com/textlint/textlint/issues"},"repository":{"type":"git","url":"https://github.com/textlint/textlint.git"},"license":"MIT","author":"azu","main":"lib/src/index.js","module":"module/src/index.js","types":"lib/src/index.d.ts","directories":{"test":"test/"},"files":["bin/","lib/","module/","src/","!*.tsbuildinfo"],"scripts":{"build":"tsc -b && tsc -b tsconfig.module.json","clean":"rimraf lib/ module/","prepack":"npm run --if-present build","test":"mocha","updateSnapshot":"npm run build && node tools/update-fixtures.js","watch":"tsc -b --watch"},"dependencies":{"@textlint/ast-node-types":"^14.0.4","debug":"^4.3.4","mdast-util-gfm-autolink-literal":"^0.1.3","remark-footnotes":"^3.0.0","remark-frontmatter":"^3.0.0","remark-gfm":"^1.0.0","remark-parse":"^9.0.0","traverse":"^0.6.8","unified":"^9.2.2"},"devDependencies":{"@textlint/ast-tester":"^14.0.4","@types/mocha":"^9.1.1","@types/node":"^18.19.9","@types/traverse":"^0.6.36","mkdirp":"^1.0.4","mocha":"^10.3.0","rimraf":"^3.0.2","ts-node":"^10.9.2","typescript":"~5.3.3"},"publishConfig":{"access":"public"},"gitHead":"eb85d7c6bb25a88e790f83c8cadfb7a7b775d238"}')},HXEx:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mimeTypes=t.displayName=t.id=void 0,n("dLt8");t.id="html";t.displayName="HTML";t.mimeTypes=["text/html"]},IF7l:function(e,t,n){"use strict";var r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("lSNA")),i=r(n("Jac2")),a=r(n("6Ai1"));function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _objectSpread(e){for(var t=1;t0?{fields:t}:null},hasSettings:function hasSettings(){return null!=this._getSettingsConfiguration(this.getDefaultOptions())},getDefaultOptions:function getDefaultOptions(){return{}},_mergeDefaultOptions:function _mergeDefaultOptions(e,t){return _objectSpread(_objectSpread({},t),e)},renderSettings:function renderSettings(e,t){var n=this.getDefaultOptions(),r=this._getSettingsConfiguration(n);return r?(e=null==e?n:this._mergeDefaultOptions(e,n),s.default.createElement(l.default,{settingsConfiguration:r,parserSettings:e,onChange:t})):null}};t.default=u},KPon:function(e,t,n){"use strict";n.r(t),t.default='module.exports = function (context) {\n const {Syntax, RuleError, report, getSource} = context;\n return {\n [Syntax.Str](node){\n report(node, new Error("error"));\n }\n };\n}\n'},"L/Yi":function(e,t,n){"use strict";var r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("e311")),i=r(n("LX0w")),a="textlint:markdown";function formatResults(e,t){return 0===e.messages.length?"Lint rule not fired.":e.messages.map((function format(e){return function formatResult(e,t){var n="-".repeat(e.column-1)+"^";return console.log(t.split("\n")[e.line-1]),"\n| ".concat(e.message," (at ").concat(e.line,":").concat(e.column,")\n ").concat(t.split("\n")[e.line-1]||"","\n| ").concat(n,"\n")}(e,t)})).join("").trim()}var s={id:a,displayName:a,version:i.default.version,homepage:i.default.homepage,defaultParserID:"textlint:markdown-to-ast",loadTransformer:function loadTransformer(e){n.e(4).then((function(){var t=[n("eKXY"),n("9VI0")];(function(t,n){var r=t.TextlintKernel,o=n.default;e({TextlintKernel:r,plugin:o})}).apply(null,t)})).catch(n.oe)},transform:function transform(e,t,n){var r=e.TextlintKernel,i=e.plugin,a=new r,s=(0,o.default)(t);return a.lintText(n,{rules:[{ruleId:"astExplorerRule",rule:s,options:!0}],plugins:[{pluginId:"markdown",plugin:i,options:!0}],ext:".md"}).then((function(e){return formatResults(e,n)}))}};t.default=s},LX0w:function(e){e.exports=JSON.parse('{"name":"@textlint/kernel","version":"14.0.4","description":"textlint kernel is core logic by pure JavaScript.","keywords":["textlint"],"homepage":"https://github.com/textlint/textlint/tree/master/packages/@textlint/textlint-kernel/","bugs":{"url":"https://github.com/textlint/textlint/issues"},"repository":{"type":"git","url":"https://github.com/textlint/textlint.git"},"license":"MIT","author":"azu","main":"lib/src/index.js","module":"./module/src/index.js","typings":"lib/src/index.d.ts","directories":{"test":"test"},"files":["bin/","lib/","module/","src/","!*.tsbuildinfo"],"scripts":{"build":"tsc -b && tsc -b tsconfig.module.json","clean":"rimraf lib/ module/","prepack":"npm run --if-present build","test":"mocha","updateSnapshot":"UPDATE_SNAPSHOT=1 npm test","test:build":"tsc -b test"},"dependencies":{"@textlint/ast-node-types":"^14.0.4","@textlint/ast-tester":"^14.0.4","@textlint/ast-traverse":"^14.0.4","@textlint/feature-flag":"^14.0.4","@textlint/source-code-fixer":"^14.0.4","@textlint/types":"^14.0.4","@textlint/utils":"^14.0.4","debug":"^4.3.4","fast-equals":"^4.0.3","structured-source":"^4.0.0"},"devDependencies":{"@textlint/markdown-to-ast":"^14.0.4","@types/debug":"^4.1.12","@types/mocha":"^9.1.1","@types/node":"^18.19.9","mocha":"^10.3.0","rimraf":"^3.0.2","shelljs":"^0.8.5","ts-node":"^10.9.2","typescript":"~5.3.3"},"gitHead":"eb85d7c6bb25a88e790f83c8cadfb7a7b775d238"}')},NSyc:function(e,t,n){"use strict";var r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=SettingsRenderer;var o=r(n("cDf5")),i=r(n("J4zp")),a=r(n("lSNA")),s=r(n("17x9")),l=r(n("q1tI"));function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _objectSpread(e){for(var t=1;t-1,t}),{})}(e):e}function defaultUpdater(e,t,n){return _objectSpread(_objectSpread({},e),{},(0,a.default)({},t,n))}function arrayUpdater(e,t,n){return e=new Set(e),n?e.add(t):e.delete(t),Array.from(e)}function SettingsRenderer(e){var t=e.settingsConfiguration,n=e.parserSettings,r=e.onChange,s=t.title,c=t.fields,p=t.required,d=void 0===p?new Set:p,f=t.update,m=void 0===f?function getUpdateStrategy(e){return Array.isArray(e)?arrayUpdater:defaultUpdater}(n):f,g=(t.values||getValuesFromSettings)(n);return l.default.createElement("div",null,s?l.default.createElement("h4",null,s):null,l.default.createElement("ul",{className:"settings"},c.map((function(e){if("string"==typeof e)return l.default.createElement("li",{key:e},l.default.createElement("label",null,l.default.createElement("input",{type:"checkbox",readOnly:d.has(e),disabled:d.has(e),checked:g[e],onChange:function onChange(t){var o=t.target;return r(m(n,e,o.checked))}})," ",e));if(Array.isArray(e)){var t=(0,i.default)(e,3),s=t[0],c=t[1],p=t[2],f=void 0===p?u:p;return l.default.createElement("li",{key:s},l.default.createElement("label",null,s,": ",l.default.createElement("select",{onChange:function onChange(e){var t=e.target;return r(m(n,s,f(t.value)))},value:g[s]},Array.isArray(c)?c.map((function(e){return l.default.createElement("option",{key:e,value:e},e)})):Object.keys(c).map((function(e){return l.default.createElement("option",{key:e,value:c[e]},e)})))))}return e&&"object"===(0,o.default)(e)?l.default.createElement(SettingsRenderer,{key:e.key,settingsConfiguration:e,parserSettings:e.settings(n),onChange:function onChange(t){return r(_objectSpread(_objectSpread({},n),{},(0,a.default)({},e.key,t)))}}):void 0}))))}SettingsRenderer.propTypes={settingsConfiguration:s.default.object.isRequired,parserSettings:s.default.oneOfType([s.default.object,s.default.array]).isRequired,onChange:s.default.func.isRequired}},O6CK:function(e,t,n){"use strict";var r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("lSNA")),i=r(n("Jac2")),a=r(n("6ysq"));function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _objectSpread(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},n={},r={exports:n},i=Object.keys(t),a=["module","exports"].concat((0,o.default)(i)),s=[r,n].concat((0,o.default)(i.map((function(e){return t[e]}))));return new Function(a.join(),e).apply(n,s),r.exports};var o=r(n("RIqP"))},eYv0:function(e,t,n){"use strict";var r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("lSNA")),i=r(n("Jac2")),a=r(n("ALtc"));function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _objectSpread(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:getDefaultCategory();return e.parsers.filter((function(e){return e.showInMenu}))[0]},t.getCategoryByID=function getCategoryByID(e){return s[e]},t.getParserByID=function getParserByID(e){return l[e]},t.getTransformerByID=function getTransformerByID(e){return u[e]},t.categories=void 0;var o=r(n("J4zp")),i=n("S7PH");function interopRequire(e){return e.__esModule?e.default:e}var a=i.keys().map((function(e){return e.split("/").slice(1)})),s={},l={},u={},c=new Set(["index.js","codeExample.txt","transformers","utils"]),p=a.filter((function(e){return"index.js"===e[1]})).map((function(e){var t=(0,o.default)(e,1)[0],n=i("./".concat(t,"/index.js"));s[n.id]=n,n.codeExample=interopRequire(i("./".concat(t,"/codeExample.txt")));var r=a.filter((function(e){return(0,o.default)(e,1)[0]===t})).map((function(e){return e.slice(1)}));return n.parsers=r.filter((function(e){var t=(0,o.default)(e,1)[0];return!c.has(t)})).map((function(e){var r=(0,o.default)(e,1)[0],a=interopRequire(i("./".concat(t,"/").concat(r)));return l[a.id]=a,a.category=n,a})),n.transformers=r.filter((function(e){var t=(0,o.default)(e,3),n=t[0],r=t[2];return"transformers"===n&&"index.js"===r})).map((function(e){var n=(0,o.default)(e,2)[1],r="./".concat(t,"/transformers/").concat(n),a=interopRequire(i("".concat(r,"/index.js")));return u[a.id]=a,a.defaultTransform=interopRequire(i("".concat(r,"/codeExample.txt"))),a})),n}));function getDefaultCategory(){return s.markdown}t.categories=p},kkIC:function(e,t,n){"use strict";n.r(t),t.default='module.exports = function (context) {\n const {Syntax, RuleError, report, getSource} = context;\n return {\n [Syntax.Str](node){\n const value = getSource(node);\n if(/TITLE/i.test(value)) {\n report(node, new RuleError("Error: includes title"));\n }\n }\n };\n}\n'},p7hP:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mimeTypes=t.displayName=t.id=void 0,n("lZu9");t.id="markdown";t.displayName="Markdown";t.mimeTypes=["text/markdown"]},wUaC:function(e,t,n){"use strict";n.r(t),t.default="# Title\n\nThis is text.\n\n- list item\n\n[Link](http://example.com)"},z2Cm:function(e,t,n){"use strict";n.r(t),t.default="

Title

\n\n
\n

This is a paragraph.

\n
\n"},zIeV:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mimeTypes=t.displayName=t.id=void 0;t.id="txt";t.displayName="Plain text";t.mimeTypes=["text/plain"]}}]); \ No newline at end of file