mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-27 12:16:51 +00:00
bf84638bc0
* Added an LRU cache (using the lru-cache node module) for tokenizer output * Mutation of nested attributes now replaces the containers. A shallow copy of tokens is sufficient to isolate token transformations. Need to investigate if we can actually get away without isolation and re-transformation for most ordinary tokens. Change-Id: I9136b1d7a1fbcc538183a319d4ecaa290d616fdf
30 lines
653 B
JSON
30 lines
653 B
JSON
{
|
|
"name": "mediawiki-parsoid",
|
|
"description": "Mediawiki parser for the VisualEditor.",
|
|
"version": "0.0.1",
|
|
"dependencies": {
|
|
"events": "0.x.x",
|
|
"jquery": "1.x.x",
|
|
"request": "2.x.x",
|
|
"querystring": "0.x.x",
|
|
"path": "0.x.x",
|
|
"jshashes": "0.x.x",
|
|
"optimist": "0.x.x",
|
|
"assert": "0.x.x",
|
|
"jsdom": "0.x.x",
|
|
"pegjs": "0.x.x",
|
|
"lru-cache": "0.x.x"
|
|
},
|
|
"devDependencies": {
|
|
"coffee-script": "1.x.x",
|
|
"colors": "0.x.x",
|
|
"diff": "1.x.x",
|
|
"html5": "0.x.x"
|
|
},
|
|
"main": "mediawiki.parser.js",
|
|
"scripts": {
|
|
"pretest": "node ../../tests/parser/fetch-parserTests.txt.js",
|
|
"test": "node ../../tests/parser/parserTests.js"
|
|
}
|
|
}
|