-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Separate marked into modules #1563
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
Merged
Merged
Changes from 31 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 0957c22
update deps and add rollup and babel
UziTech 3dff1e4
fix eslint config
UziTech 082ad97
run build
UziTech 39dda84
no-ignore test:redos
UziTech f9f5580
use commonjs and es6 classes
UziTech 2ea16d4
run build
UziTech a4652f1
add license in rollup
UziTech 83fa297
add npm run build:reset
UziTech ba45b32
remove test:redos and use es6 in tests
UziTech c24637b
build `lib/marked.esm.js`
UziTech c862843
add vuln-regex test
UziTech 28f62c9
include src/ in npm package
UziTech 03c4cbe
fix options not being passed
UziTech 53cc11c
reset esm.js
UziTech 821dabd
save renderer to inlinelexer options
UziTech 9b5cd73
remove bench debugging
UziTech 4ddbe81
fix spelling
UziTech e13d6f9
add DO NOT EDIT comment in compiled files
UziTech 32d61f4
update docs
UziTech d979d26
clean up code
UziTech 7b450bd
fix benchmark pass percentage
UziTech 6901937
await engine
UziTech b01aa4f
clean up code
UziTech caa362c
commit lib
UziTech fb80552
rename regex.js to rules.js
UziTech 47efe8e
rename parse argument to tokens
UziTech a54408f
change minify stage to build
UziTech 2b531af
update engines
UziTech 4736f3e
Update copyright year
UziTech a8730bf
update copyright year
UziTech aae38bb
remove security scan
UziTech 2571795
build marked.js
UziTech File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
lib | ||
*.min.js |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,15 +19,15 @@ jobs: | |
script: npm run test:lint | ||
node_js: lts/* | ||
|
||
- stage: minify 🗜️ | ||
- stage: build 🗜️ | ||
script: | | ||
npm run build | ||
if ! git diff --quiet; then | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "Travis-CI" | ||
git config credential.helper "store --file=.git/credentials" | ||
echo "https://${GITHUB_TOKEN}:@github.com" > .git/credentials | ||
git commit -am '🗜️ minify [skip ci]' | ||
git commit -am '🗜️ build [skip ci]' | ||
git push origin HEAD:${TRAVIS_BRANCH} | ||
fi | ||
node_js: lts/* | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.