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 .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
base repository: litejs/uri-template-lite
base: v22.1.0
Choose a base ref
head repository: litejs/uri-template-lite
compare: v22.9.0
Choose a head ref
  • 2 commits
  • 3 files changed
  • 1 contributor

Commits on May 3, 2022

  1. Fix possible ReDoS

    Regular Expression Denial of Service was possible with invalid input.
    
    ```
    URI.expand("{00000000000000000000000000000", "foo")
    ```
    
    Reported-by: Shachar Menashe
    lauriro committed May 3, 2022

Commits on Sep 9, 2022

  1. Release v22.9.0

    -- git fetch;git merge-base --is-ancestor @{upstream} HEAD
    
    -- lj lint
    
    -- rm -rf node_modules;npm install
    added 1 package, and audited 2 packages in 2s
    
    found 0 vulnerabilities
    
    -- npm outdated
    Package      Current   Wanted  Latest  Location                  Depended by
    @litejs/cli  21.11.0  21.11.0  22.8.0  node_modules/@litejs/cli  uri-template-lite
    
    -- npm outdated -g @litejs/cli uglify-js jshint c8
    Package      Current  Wanted  Latest  Location                  Depended by
    @litejs/cli  21.11.0  22.8.0  22.8.0  node_modules/@litejs/cli  lib
    c8            7.10.0  7.12.0  7.12.0  node_modules/c8           lib
    jshint        2.13.1  2.13.5  2.13.5  node_modules/jshint       lib
    uglify-js     3.14.3  3.17.0  3.17.0  node_modules/uglify-js    lib
    
    -- ! git rev-parse -q --verify v22.9.0
    
    -- lj test
    URI Template
       multiple templates #2 #1 [6/6]
       possible ReDoS #2 [1/1]
       it should expand Level 1 Examples #3 [2/2]
       it should expand Level 2 Examples #4 [4/4]
       it should expand Level 3 Examples #5 [16/16]
       it should expand Level 4 Examples #6 [41/41]
       it should parse Level 1 Examples #7 [4/4]
       it should parse Level 2 Examples #8 [8/8]
       it should parse Level 3 Examples #9 [32/32]
       it should parse Level 4 Examples #10 [52/52]
       it should expand 3.2.1 Variable Expansion #11 [9/9]
       it should expand 3.2.2 Simple String Expansion #12 [16/16]
       it should expand 3.2.3 Reserved Expansion #13 [19/19]
       it should expand 3.2.4 Fragment Expansion #14 [11/11]
       it should expand 3.2.5 Label Expansion with Dot-Prefix #15 [14/14]
       it should expand 3.2.6 Path Segment Expansion #16 [14/14]
       it should expand 3.2.7 Path-Style Parameter Expansion #17 [13/13]
       it should expand 3.2.8 Form-Style Query Expansion #18 [10/10]
       it should expand 3.2.9 Form-Style Query Continuation #19 [10/10]
       it should expand Additional Examples 1 #20 [13/13]
       it should expand Additional Examples 2 #21 [2/2]
       it should expand Additional Examples 3: Empty Variables #22 [6/6]
       it should expand Additional Examples 4: Numeric Keys #23 [5/5]
       it should expand Additional Examples 5: Explode Combinations #24 [4/4]
       it should expand Percent encoding #25 [4/4]
       it should expand Multiple img #4 #26 [2/2]
       it should expand Empty img #4 #27 [2/2]
       it should parse Percent encoding #28 [8/8]
       it should parse Multiple img #4 #29 [4/4]
       it should parse Empty img #4 #30 [4/4]
    1..30
    # pass  30/30 [336/336] in 16 ms at 20:22:37
    lauriro committed Sep 9, 2022