Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separate marked into modules #1563

Merged
merged 33 commits into from Dec 4, 2019
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
099983f
move marked to es modules in ./src folder
UziTech Nov 5, 2019
0957c22
update deps and add rollup and babel
UziTech Nov 5, 2019
3dff1e4
fix eslint config
UziTech Nov 5, 2019
082ad97
run build
UziTech Nov 5, 2019
39dda84
no-ignore test:redos
UziTech Nov 5, 2019
f9f5580
use commonjs and es6 classes
UziTech Nov 6, 2019
2ea16d4
run build
UziTech Nov 6, 2019
a4652f1
add license in rollup
UziTech Nov 6, 2019
83fa297
add npm run build:reset
UziTech Nov 6, 2019
ba45b32
remove test:redos and use es6 in tests
UziTech Nov 6, 2019
c24637b
build `lib/marked.esm.js`
UziTech Nov 6, 2019
c862843
add vuln-regex test
UziTech Nov 6, 2019
28f62c9
include src/ in npm package
UziTech Nov 6, 2019
03c4cbe
fix options not being passed
UziTech Nov 6, 2019
53cc11c
reset esm.js
UziTech Nov 6, 2019
821dabd
save renderer to inlinelexer options
UziTech Nov 6, 2019
9b5cd73
remove bench debugging
UziTech Nov 6, 2019
4ddbe81
fix spelling
UziTech Nov 6, 2019
e13d6f9
add DO NOT EDIT comment in compiled files
UziTech Nov 6, 2019
32d61f4
update docs
UziTech Nov 6, 2019
d979d26
clean up code
UziTech Nov 6, 2019
7b450bd
fix benchmark pass percentage
UziTech Nov 7, 2019
6901937
await engine
UziTech Nov 7, 2019
b01aa4f
clean up code
UziTech Nov 7, 2019
caa362c
commit lib
UziTech Nov 7, 2019
fb80552
rename regex.js to rules.js
UziTech Nov 8, 2019
47efe8e
rename parse argument to tokens
UziTech Nov 8, 2019
a54408f
change minify stage to build
UziTech Nov 8, 2019
2b531af
update engines
UziTech Nov 8, 2019
4736f3e
Update copyright year
UziTech Nov 11, 2019
a8730bf
update copyright year
UziTech Nov 11, 2019
aae38bb
remove security scan
UziTech Nov 27, 2019
2571795
build marked.js
UziTech Nov 27, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions .eslintignore
@@ -1 +1,2 @@
lib
*.min.js
13 changes: 5 additions & 8 deletions .eslintrc.json
Expand Up @@ -3,10 +3,6 @@
"plugins": [
"standard"
],
"parserOptions": {
"ecmaVersion": 5,
"sourceType": "script"
},
"rules": {
"semi": ["error", "always"],
"indent": ["error", 2, {
Expand All @@ -20,11 +16,12 @@
"no-useless-escape": "off",
"one-var": "off",
"no-control-regex": "off",
"no-prototype-builtins": "off"
"no-prototype-builtins": "off",

"prefer-const": "error",
"no-var": "error"
},
"env": {
"node": true,
"browser": true,
"amd": true
"node": true
}
}
33 changes: 33 additions & 0 deletions bin/.eslintrc.json
@@ -0,0 +1,33 @@
{
"extends": "standard",
"plugins": [
"standard"
],
"parserOptions": {
"ecmaVersion": 5,
"sourceType": "script"
},
"rules": {
"semi": ["error", "always"],
"indent": ["error", 2, {
"SwitchCase": 1,
"VariableDeclarator": { "var": 2 },
"outerIIFEBody": 0
}],
"operator-linebreak": ["error", "before", { "overrides": { "=": "after" } }],
"space-before-function-paren": ["error", "never"],
"no-cond-assign": "off",
"no-useless-escape": "off",
"one-var": "off",
"no-control-regex": "off",
"no-prototype-builtins": "off",

"prefer-const": "off",
"no-var": "off"
},
"env": {
"node": true,
"browser": true,
"amd": true
}
}
33 changes: 33 additions & 0 deletions docs/.eslintrc.json
@@ -0,0 +1,33 @@
{
"extends": "standard",
"plugins": [
"standard"
],
"parserOptions": {
"ecmaVersion": 5,
"sourceType": "script"
},
"rules": {
"semi": ["error", "always"],
"indent": ["error", 2, {
"SwitchCase": 1,
"VariableDeclarator": { "var": 2 },
"outerIIFEBody": 0
}],
"operator-linebreak": ["error", "before", { "overrides": { "=": "after" } }],
"space-before-function-paren": ["error", "never"],
"no-cond-assign": "off",
"no-useless-escape": "off",
"one-var": "off",
"no-control-regex": "off",
"no-prototype-builtins": "off",

"prefer-const": "off",
"no-var": "off"
},
"env": {
"node": true,
"browser": true,
"amd": true
}
}