Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: chalk/ansi-regex
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 7c908e7b4eb6cd82bfe1295e33fdf6d166c7ed85
Choose a base ref
...
head repository: chalk/ansi-regex
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 64735d25eb839b55bc9fae3877edb702b4c92ca2
Choose a head ref
  • 15 commits
  • 12 files changed
  • 7 contributors

Commits on Jun 20, 2017

  1. Unverified

    This user has not yet uploaded their public signing key.
    Copy the full SHA
    baacbab View commit details
  2. Copy the full SHA
    3dff5e7 View commit details
  3. Support urxvt escapes (#13)

    Qix- authored and sindresorhus committed Jun 20, 2017
    Copy the full SHA
    69bebf6 View commit details
  4. Minor tweaks

    sindresorhus committed Jun 20, 2017
    Copy the full SHA
    d9d806e View commit details
  5. 3.0.0

    sindresorhus committed Jun 20, 2017
    Copy the full SHA
    0a8cc19 View commit details

Commits on Apr 21, 2018

  1. Add failing test for #21 (#22)

    cancerberoSgx authored and sindresorhus committed Apr 21, 2018
    Copy the full SHA
    14839a4 View commit details

Commits on Sep 18, 2018

  1. Add scroll escapes (#20)

    Fixes #19
    Qix- authored and sindresorhus committed Sep 18, 2018
    Copy the full SHA
    385eca9 View commit details
  2. Copy the full SHA
    eac826a View commit details
  3. Require Node.js 6

    sindresorhus committed Sep 18, 2018
    Copy the full SHA
    ced7421 View commit details
  4. 4.0.0

    sindresorhus committed Sep 18, 2018
    Copy the full SHA
    a1d9246 View commit details

Commits on Dec 25, 2018

  1. Copy the full SHA
    e076cd1 View commit details

Commits on Mar 8, 2019

  1. Support more escape types like links (#29)

    Fixes #21
    Fixes #28
    LitoMore authored and sindresorhus committed Mar 8, 2019
    Copy the full SHA
    96200bb View commit details
  2. 4.1.0

    sindresorhus committed Mar 8, 2019
    Copy the full SHA
    a079ab2 View commit details

Commits on Mar 12, 2022

  1. Fix potential ReDoS (#37)

    yetingli authored and Qix- committed Mar 12, 2022
    Copy the full SHA
    75a657d View commit details
  2. v4.1.1

    Qix- committed Mar 12, 2022
    Copy the full SHA
    64735d2 View commit details
Showing with 434 additions and 359 deletions.
  1. +1 −1 .editorconfig
  2. +1 −2 .gitattributes
  3. +1 −0 .gitignore
  4. +1 −0 .npmrc
  5. +2 −4 .travis.yml
  6. +231 −212 fixtures/ansi-codes.js
  7. +19 −18 fixtures/view-codes.js
  8. +12 −2 index.js
  9. +4 −16 license
  10. +51 −62 package.json
  11. +55 −7 readme.md
  12. +56 −35 test.js
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
@@ -7,6 +7,6 @@ charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[{package.json,*.yml}]
[*.yml]
indent_style = space
indent_size = 2
3 changes: 1 addition & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
* text=auto
*.js text eol=lf
* text=auto eol=lf
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules
yarn.lock
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package-lock=false
6 changes: 2 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
sudo: false
language: node_js
node_js:
- '10'
- '8'
- '6'
- '4'
- '0.12'
- '0.10'
Loading