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: JustinBeckwith/linkinator
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 5d347f0c9ae8a32cc21b885f1ffd2104c8d3ce3d
Choose a base ref
...
head repository: JustinBeckwith/linkinator
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2cab633c9659eb10794a4bac06f8b0acdc3e2c0c
Choose a head ref

Commits on Jan 10, 2021

  1. Copy the full SHA
    9ff9e9a View commit details
  2. build: disable package-lock.json properly (#236)

    The default setting is to always generate a package-lock.json file, so this step is required to prevent its generation.
    
    Co-authored-by: Justin Beckwith <beckwith@google.com>
    XhmikosR and JustinBeckwith authored Jan 10, 2021
    Copy the full SHA
    e6c539a View commit details
  3. docs: README.md Markdown tweaks (#238)

    * add newlines before/after code blocks and lists
    * remove dollar sign from snippets since it makes copying harder and the commands don't have any output
    * fix headings hierarchy
    
    Co-authored-by: Justin Beckwith <beckwith@google.com>
    XhmikosR and JustinBeckwith authored Jan 10, 2021
    Copy the full SHA
    105d783 View commit details
  4. build: add CodeQL scanning (#234)

    Co-authored-by: Justin Beckwith <beckwith@google.com>
    XhmikosR and JustinBeckwith authored Jan 10, 2021
    Copy the full SHA
    b6ca492 View commit details
  5. build: update CI config (#235)

    * move Node.js version to an environment variable
    * update to `actions/setup-node@v2`
    XhmikosR authored Jan 10, 2021
    Copy the full SHA
    4f12838 View commit details

Commits on Jan 11, 2021

  1. Copy the full SHA
    71d46aa View commit details
  2. Copy the full SHA
    b78be5d View commit details
  3. build: fix release action (#240)

    When we are not on the upstream repo, don't run the release action
    
    Co-authored-by: Justin Beckwith <beckwith@google.com>
    XhmikosR and JustinBeckwith authored Jan 11, 2021
    Copy the full SHA
    071a220 View commit details

Commits on Jan 22, 2021

  1. Copy the full SHA
    0433251 View commit details

Commits on Jan 23, 2021

  1. Copy the full SHA
    f14c912 View commit details

Commits on Jan 24, 2021

  1. 2
    Copy the full SHA
    026a012 View commit details
  2. Copy the full SHA
    cb1d808 View commit details
  3. Copy the full SHA
    1b35af6 View commit details
  4. build: remove npm link from docs-test too (#255)

    Co-authored-by: Justin Beckwith <beckwith@google.com>
    XhmikosR and JustinBeckwith authored Jan 24, 2021
    Copy the full SHA
    43cb074 View commit details
  5. build: CI: add caching for Windows too (#253)

    Co-authored-by: Justin Beckwith <beckwith@google.com>
    XhmikosR and JustinBeckwith authored Jan 24, 2021
    Copy the full SHA
    54cfe7d View commit details
  6. chore: README.md: remove .svg from badges (#252)

    It's the default
    
    Co-authored-by: Justin Beckwith <beckwith@google.com>
    XhmikosR and JustinBeckwith authored Jan 24, 2021
    Copy the full SHA
    a5ac753 View commit details
  7. build: CI: switch to Node.js 14 (#254)

    Co-authored-by: Justin Beckwith <beckwith@google.com>
    XhmikosR and JustinBeckwith authored Jan 24, 2021
    Copy the full SHA
    8c6b6cc View commit details
  8. Copy the full SHA
    9d98693 View commit details
  9. build: CI: specify FORCE_COLOR: 2 (#257)

    Co-authored-by: Justin Beckwith <beckwith@google.com>
    XhmikosR and JustinBeckwith authored Jan 24, 2021
    Copy the full SHA
    5d0cdcd View commit details

Commits on Jan 25, 2021

  1. Copy the full SHA
    4e17c8e View commit details
  2. Copy the full SHA
    187aea1 View commit details

Commits on Feb 5, 2021

  1. Copy the full SHA
    2fb77fb View commit details

Commits on Feb 7, 2021

  1. fix: use custom HTTP server (#265)

    This switches from `vercel/serve-handler` to a custom local HTTP static web server.
    JustinBeckwith authored Feb 7, 2021
    Copy the full SHA
    9b0b206 View commit details
  2. Copy the full SHA
    668aad6 View commit details
  3. Copy the full SHA
    39816c5 View commit details
  4. build: remove the cache fallback (#268)

    Co-authored-by: Justin Beckwith <beckwith@google.com>
    XhmikosR and JustinBeckwith authored Feb 7, 2021
    Copy the full SHA
    d02484d View commit details

Commits on Feb 8, 2021

  1. fix(deps): update dependency marked to v2 [security] (#271)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Feb 8, 2021
    Copy the full SHA
    f9c13e9 View commit details

Commits on Feb 12, 2021

  1. chore(deps): update dependency @types/cheerio to v0.22.24 (#273)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Feb 12, 2021
    Copy the full SHA
    ec49cdf View commit details

Commits on Feb 17, 2021

  1. Copy the full SHA
    245b3bd View commit details

Commits on Feb 21, 2021

  1. Copy the full SHA
    ea89b42 View commit details

Commits on Mar 8, 2021

  1. chore(deps): update dependency @types/marked to v2 (#278)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Mar 8, 2021
    Copy the full SHA
    b81666c View commit details
  2. Copy the full SHA
    d927d3b View commit details
  3. Copy the full SHA
    8544a6f View commit details
  4. Copy the full SHA
    20544a4 View commit details
  5. chore(deps): update dependency @types/cheerio to v0.22.25 (#282)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Mar 8, 2021
    Copy the full SHA
    7487231 View commit details

Commits on Mar 13, 2021

  1. chore(deps): update dependency @types/cheerio to v0.22.27 (#284)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Mar 13, 2021
    Copy the full SHA
    ea52c0c View commit details

Commits on Mar 22, 2021

  1. chore(deps): update dependency sinon to v10 (#286)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Mar 22, 2021
    Copy the full SHA
    0451a8d View commit details
  2. chore(deps): update dependency @types/cheerio to v0.22.28 (#285)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Mar 22, 2021
    Copy the full SHA
    b47f295 View commit details

Commits on Apr 17, 2021

  1. chore(deps): update dependency @types/sinon to v10 (#288)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Apr 17, 2021
    Copy the full SHA
    9ae7afd View commit details

Commits on Apr 22, 2021

  1. chore(deps): update dependency pkg to v5 (#298)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Apr 22, 2021
    Copy the full SHA
    8e3c461 View commit details

Commits on May 8, 2021

  1. chore(deps): update dependency hosted-git-info to 3.0.8 [security] (#300

    )
    
    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored May 8, 2021
    Copy the full SHA
    61be22a View commit details

Commits on May 9, 2021

  1. build(deps): bump hosted-git-info from 2.8.8 to 2.8.9 (#303)

    Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9.
    - [Release notes](https://github.com/npm/hosted-git-info/releases)
    - [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
    - [Commits](npm/hosted-git-info@v2.8.8...v2.8.9)
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored May 9, 2021
    Copy the full SHA
    28cdd27 View commit details

Commits on May 22, 2021

  1. chore(deps): update dependency @types/cheerio to v0.22.29 (#306)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored May 22, 2021
    Copy the full SHA
    854ca26 View commit details
  2. chore(deps): update dependency lodash to 4.17.21 [security] (#301)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored May 22, 2021
    Copy the full SHA
    55d7f4c View commit details
  3. chore(deps): update dependency @types/node to v14 (#304)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored May 22, 2021
    Copy the full SHA
    7123959 View commit details

Commits on May 25, 2021

  1. chore(deps): update dependency sinon to v11 (#307)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored May 25, 2021
    Copy the full SHA
    a24d3a0 View commit details

Commits on May 27, 2021

  1. build(deps): bump lodash from 4.17.20 to 4.17.21 (#302)

    Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21.
    - [Release notes](https://github.com/lodash/lodash/releases)
    - [Commits](lodash/lodash@4.17.20...4.17.21)
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Justin Beckwith <beckwith@google.com>
    dependabot[bot] and JustinBeckwith authored May 27, 2021
    Copy the full SHA
    39b37bb View commit details

Commits on Jun 11, 2021

  1. chore(deps): update dependency trim-newlines to 3.0.1 [security] (#310)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Jun 11, 2021
    Copy the full SHA
    5d66c2e View commit details
  2. build(deps): bump normalize-url from 4.5.0 to 4.5.1 (#311)

    Bumps [normalize-url](https://github.com/sindresorhus/normalize-url) from 4.5.0 to 4.5.1.
    - [Release notes](https://github.com/sindresorhus/normalize-url/releases)
    - [Commits](https://github.com/sindresorhus/normalize-url/commits)
    
    ---
    updated-dependencies:
    - dependency-name: normalize-url
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jun 11, 2021
    Copy the full SHA
    c06ecab View commit details
  3. build(deps): bump glob-parent from 5.1.1 to 5.1.2 (#312)

    Bumps [glob-parent](https://github.com/gulpjs/glob-parent) from 5.1.1 to 5.1.2.
    - [Release notes](https://github.com/gulpjs/glob-parent/releases)
    - [Changelog](https://github.com/gulpjs/glob-parent/blob/main/CHANGELOG.md)
    - [Commits](gulpjs/glob-parent@v5.1.1...v5.1.2)
    
    ---
    updated-dependencies:
    - dependency-name: glob-parent
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jun 11, 2021
    Copy the full SHA
    c165d73 View commit details
9 changes: 9 additions & 0 deletions .c8rc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"exclude": [
"build/test"
],
"reporter": [
"html",
"text"
]
}
61 changes: 35 additions & 26 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,65 +1,74 @@
on:
push:
branches:
- master
- main
pull_request:
name: ci
env:
FORCE_COLOR: 2
NODE: 16
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node: [10, 12, 14, 15]
node: [14, 16, 18]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- run: npm install
cache: npm
- run: node -v
- run: npm ci
- run: npm test
- uses: codecov/codecov-action@v1
with:
name: actions ${{ matrix.node }}
- run: npm run codecov
if: matrix.node == env.NODE
windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 12
- run: npm install
node-version: ${{ env.NODE }}
cache: npm
- run: npm ci
- run: npm test
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 12
- run: npm install
node-version: ${{ env.NODE }}
cache: npm
- run: npm ci
- run: npm run lint
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 12
- run: npm install
node-version: ${{ env.NODE }}
cache: npm
- run: npm ci
- run: npm run docs-test
release:
if: github.ref == 'refs/heads/master'
if: github.repository == 'JustinBeckwith/linkinator' && github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
needs: [test, lint]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 12
- run: npm install
node-version: ${{ env.NODE }}
cache: npm
- run: npm ci
- run: npm run compile
- run: npm run build-binaries
# disabed due to https://github.com/vercel/pkg/issues/1291
# - run: npm run build-binaries
- run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
35 changes: 35 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: "CodeQL"

on:
push:
branches:
- main
- "!renovate/**"
pull_request:
# The branches below must be a subset of the branches above
branches:
- main
- "!renovate/**"
schedule:
- cron: "0 0 * * 0"

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: "javascript"

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
node_modules/
package-lock.json
.nyc_output
build/
coverage
.vscode
3 changes: 0 additions & 3 deletions .prettierrc.js

This file was deleted.

6 changes: 6 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"bracketSpacing": false,
"singleQuote": true,
"trailingComma": "es5",
"arrowParens": "avoid"
}
3 changes: 2 additions & 1 deletion .releaserc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"assets": "build/binaries/*"
"assets": "build/binaries/*",
"branches": ["main"]
}
Loading