Commit graph

381 commits

Author SHA1 Message Date
zyoshoka
902da0b291
enhance: support Unicode 15.0 emoji (#135) 2023-12-16 10:12:07 +09:00
Marie
fd8bcc2dde Update package-lock.json 2023-12-13 19:14:20 +01:00
Marie
d7e29613c9 Update package.json 2023-12-13 19:12:21 +01:00
Marie
3b5bfe6f6a Remove search wildcard at end trigger, Fix . in username in mention breaking mentions 2023-12-13 18:42:26 +01:00
syuilo
ae92c2a9d0 chore: use test instead of it 2023-02-04 09:30:39 +09:00
syuilo
48d2027c25 add some tests 2023-02-04 09:28:34 +09:00
syuilo
c7b6579e69 0.23.3 2023-01-14 08:59:54 +09:00
syuilo
08cb023e9d tweak fn parsing 2023-01-14 08:59:32 +09:00
syuilo
f916d5bd8f remove fnNameList option for more consistency 2023-01-14 08:56:48 +09:00
syuilo
2a3498b8f2 Revert "add emojiCodeList option"
This reverts commit 56002e86ec.
2023-01-14 08:54:02 +09:00
marihachi
11fefdffe0 docs 2023-01-10 23:47:18 +09:00
marihachi
c75f8d2272 changelog 2023-01-10 23:42:06 +09:00
marihachi
9fd6b79832 v0.23.2 2023-01-10 23:41:09 +09:00
marihachi
2dcf574b2c changelog 2023-01-10 23:31:02 +09:00
marihachi
56002e86ec add emojiCodeList option 2023-01-10 23:16:33 +09:00
syuilo
8915998c02 0.23.1 2023-01-09 16:06:07 +09:00
syuilo
013f3af23e improve emoji code parsing
Fix #129
2023-01-09 16:05:16 +09:00
marihachi
363b091a67
仕様に出てくる用語を修正 2022-12-20 11:16:35 +09:00
marihachi
073b69a4f2 update package.json 2022-07-22 22:58:00 +09:00
marihachi
4165a59fdb update package.json 2022-07-22 22:57:10 +09:00
marihachi
bfd6052561 changelog 2022-07-22 22:56:57 +09:00
marihachi
d4ee1dc5df changelog 2022-07-22 21:40:11 +09:00
marihachi
8cfb94933c v0.23.0 2022-07-22 21:33:39 +09:00
marihachi
db8086e939 changelog 2022-07-22 21:31:13 +09:00
marihachi
5fe291a7e7
TypeScript版パーサーのマージ (#124)
* implement parser with TypeScript (#116)

* clean parser

* parser, success, failure, str, parser.map

* seq

* atLeast, any, alt, match, notMatch

* mergeText

* improve seq

* lazy, createLanguage

* types

* regexp, refactor

* nest limit

* lint

* state

* syntaxes

* sep1, succeeded, option, fn

* simple

* strikeWave, plainTag, inlineCode, mathInline

* mention, refactor

* seqPartial

* 🚀

* parser trace

* fix mention, implement hashtag

* lineBegin, lineEnd, refactor

* imple codeBlock, fix lineEnd

* codeBlock, mathBlock

* fix codeBlock

* fix mathBlock

* fix codeBlock

* lint

* fix inlineCode

* 🚀

* centerTag

* fix nesting limit

* fix unicodeEmoji

* 🚀

* search

* refactor

* seqPartial -> seqOrText

* lint

* url, urlAlt

* 🚀

* 🚀

* text

* fix

* link

* linkLabel state

* lint

* nesting limit for link label

* fix url bracket pair

* nest

* refactor

* refactor

* remove

* add test

* wip quote

* add quote test

* quote

* refactor

* hashtag

* refactor

* type

* type

* refactor

* lint

* url

* italicAsta, italicUnder

* italicAsta, italicUnder, mention, rethink spec

* rethink spec

* test: change implementation-dependent parts

* hashtag

* add mention test

* mention

* mention

* mention

* mention

* url

* test

* hashtag

* Revert "Auxiliary commit to revert individual files from 373972beef10eb99ff3e3635a32a207854154a2a"

This reverts commit 622b66e20778ad5c283ea7629db853cbf2bb601f.

* package-lock

* Update tsconfig.json

* Update tsconfig.json

* ignore a tsd error when importing twemoji-parser regexp

* lint

* lint

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>

* v0.23.0-canary.1

* readme

* update chagelog

* update changelog

* update changelog

* refactor

* update core combinators

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-07-22 02:21:56 +09:00
syuilo
7b7af907bd Update mfm-js.api.md 2022-07-10 16:48:27 +09:00
syuilo
c77388a7f8 update deps 2022-07-10 16:34:25 +09:00
marihachi
aa893a8477
implement plain syntax (#114)
* implement plain syntax

* public api

* plain syntax

* public api

* plain syntax

* Update test/parser.ts

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>

* plain parser -> simple parser

* nomfm -> plain

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-06-07 23:41:09 +09:00
marihachi
24caa9ee5f package-lock.json 2022-06-05 16:28:17 +09:00
marihachi
c2f166d466 v0.22.1 2022-05-22 11:44:40 +09:00
marihachi
ac5456869d fix changelog 2022-05-22 11:27:27 +09:00
marihachi
46800ad51b update changelog 2022-05-21 20:16:18 +09:00
marihachi
4cbc32661c v0.22.0 2022-05-21 20:07:10 +09:00
marihachi
d022e5200d update changelog 2022-05-21 20:03:54 +09:00
marihachi
e38a6e6576
ハッシュタグの変更 (#111)
* fix #110

* add tests for hashtag
2022-05-21 19:33:28 +09:00
marihachi
100fb0bfbf apply modified spec 2022-05-21 19:06:29 +09:00
MeiMei
880f842c4a
Unicode 14.0 Emoji (#109) 2022-05-21 18:27:43 +09:00
marihachi
6ed1ea60a0
update spec (#108) 2022-05-15 10:48:30 +09:00
marihachi
49941cd9ba
リンクラベル関係の変更 (#107)
* fix link label matching

* 🚀
* add syntax rules of link label
* fix #104
* remove unnecessary applyParser() call
2022-05-12 20:31:29 +09:00
dependabot[bot]
fcbda2ecac
Bump minimist from 1.2.5 to 1.2.6 (#103)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-06 01:45:08 +09:00
marihachi
430faf5959 lint 2022-02-01 23:33:18 +09:00
syuilo
5639ecd440
Update .eslintrc.js 2022-01-31 21:29:41 +09:00
syuilo
d1e611453f
Update .eslintrc.js 2022-01-31 21:25:11 +09:00
syuilo
ec0b1f9147
Update .eslintrc.js 2022-01-12 00:26:19 +09:00
marihachi
c01a03f321 update changelog 2022-01-11 21:29:09 +09:00
marihachi
d07d85d360 update changelog 2022-01-11 21:25:28 +09:00
marihachi
0a8c82361c v0.21.0 2022-01-11 21:17:05 +09:00
marihachi
c9acde987c update changelog 2022-01-11 21:13:13 +09:00
marihachi
d9b8b8db5f
quoteのネスト制限を追加 (#91)
* refactor quote

* add nesting limit test for quote

* nesting limit for quote
2022-01-10 13:40:37 +09:00
syuilo
8cc0ca9400
Update .eslintignore 2022-01-10 01:51:04 +09:00