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: kelektiv/node-cron
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.1.6
Choose a base ref
...
head repository: kelektiv/node-cron
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.1.7
Choose a head ref

Commits on Oct 30, 2023

  1. chore(deps): update dependency eslint-plugin-jest to v27.6.0 (#762)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Oct 30, 2023
    Copy the full SHA
    615b06f View commit details
  2. chore(deps): lock file maintenance (#763)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Oct 30, 2023
    Copy the full SHA
    5d17388 View commit details

Commits on Nov 3, 2023

  1. chore(deps): update dependency @types/jest to v29.5.7 (#765) [skip ci]

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Nov 3, 2023
    Copy the full SHA
    3b9b43d View commit details
  2. chore(deps): update dependency @typescript-eslint/eslint-plugin to v6…

    ….9.1 (#766) [skip ci]
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Nov 3, 2023
    Copy the full SHA
    4d2bfe6 View commit details
  3. chore(deps): update dependency semantic-release to v22.0.6 (#767) [sk…

    …ip ci]
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Nov 3, 2023
    Copy the full SHA
    230291a View commit details

Commits on Nov 4, 2023

  1. chore(deps): update dependency @types/node to v20.8.10 (#768) [skip ci]

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Nov 4, 2023
    Copy the full SHA
    6a91b78 View commit details
  2. chore(deps): update dependency sinon to v17.0.1 (#769) [skip ci]

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Nov 4, 2023
    Copy the full SHA
    bf2bdfb View commit details

Commits on Nov 5, 2023

  1. chore(deps): update dependency @semantic-release/npm to v11.0.1 (#770)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Nov 5, 2023
    Copy the full SHA
    72f9dea View commit details

Commits on Nov 6, 2023

  1. chore(deps): lock file maintenance (#771)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Nov 6, 2023
    Copy the full SHA
    cf3d5e8 View commit details

Commits on Nov 7, 2023

  1. chore(deps): update semantic-release related packages (#772) [skip ci]

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Nov 7, 2023
    Copy the full SHA
    4a654a7 View commit details
  2. chore(deps): update dependency @types/sinon to v17 (#774) [skip ci]

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Nov 7, 2023
    Copy the full SHA
    6ab97db View commit details
  3. chore(deps): update dependency eslint to v8.53.0 (#773) [skip ci]

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Nov 7, 2023
    Copy the full SHA
    8dea8d7 View commit details

Commits on Nov 16, 2023

  1. Copy the full SHA
    6d972d5 View commit details
  2. Copy the full SHA
    0cdd4a3 View commit details
  3. Copy the full SHA
    767ad39 View commit details
  4. Copy the full SHA
    661722f View commit details
  5. ci(action): update github/codeql-action action to v2.22.6 (#783) [ski…

    …p ci]
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Nov 16, 2023
    Copy the full SHA
    687fd43 View commit details
  6. chore(deps): lock file maintenance (#781)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Nov 16, 2023
    Copy the full SHA
    6a00c1e View commit details
  7. Copy the full SHA
    6b56a36 View commit details
  8. chore(deps): update semantic-release related packages (#777)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    Co-authored-by: Pierre Cavin <me@sherlox.io>
    renovate[bot] and sheerlox authored Nov 16, 2023
    Copy the full SHA
    898254c View commit details

Commits on Nov 19, 2023

  1. Copy the full SHA
    a5cd89d View commit details
  2. Copy the full SHA
    d41dfa3 View commit details

Commits on Nov 21, 2023

  1. Copy the full SHA
    ef4a99c View commit details
  2. Copy the full SHA
    1817d85 View commit details
  3. Copy the full SHA
    edf67d0 View commit details
  4. ci(action): update github/codeql-action action to v2.22.7 (#787)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Nov 21, 2023
    Copy the full SHA
    a0204d8 View commit details

Commits on Nov 22, 2023

  1. ci(action): update step-security/harden-runner action to v2.6.1 (#788)…

    … [skip ci]
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Nov 22, 2023
    Copy the full SHA
    2e5ca52 View commit details
  2. Copy the full SHA
    a9fb08b View commit details
  3. Copy the full SHA
    39ae9c1 View commit details
  4. ci(action): update insurgent-lab/is-in-pr-action action to v0.1.4 (#790)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Nov 22, 2023
    Copy the full SHA
    8e85b13 View commit details
  5. chore(deps): lock file maintenance (#793)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Nov 22, 2023
    Copy the full SHA
    bcbc778 View commit details

Commits on Nov 23, 2023

  1. Copy the full SHA
    689eea4 View commit details
  2. Copy the full SHA
    3b00555 View commit details

Commits on Nov 24, 2023

  1. ci(action): update insurgent-lab/is-in-pr-action action to v0.1.5 (#798)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Nov 24, 2023
    Copy the full SHA
    76751d2 View commit details

Commits on Nov 25, 2023

  1. Copy the full SHA
    8c8acf7 View commit details
  2. Copy the full SHA
    bd2e981 View commit details
  3. Copy the full SHA
    05124bb View commit details
  4. ci(action): update github/codeql-action action to v2.22.8 (#797)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Nov 25, 2023
    Copy the full SHA
    323f48c View commit details
  5. chore(deps): update dependency typescript to v5.3.2 (#802)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Nov 25, 2023
    Copy the full SHA
    0f541a4 View commit details
  6. chore(deps): update tests (#800)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Nov 25, 2023
    Copy the full SHA
    ea1a22b View commit details

Commits on Nov 26, 2023

  1. Copy the full SHA
    a32ba3d View commit details

Commits on Nov 28, 2023

  1. Copy the full SHA
    3111ecd View commit details

Commits on Dec 1, 2023

  1. chore(deps): lock file maintenance (#804)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Dec 1, 2023
    Copy the full SHA
    2e72c8f View commit details
  2. chore(deps): update dependency @typescript-eslint/eslint-plugin to v6…

    ….13.1 (#806)
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Dec 1, 2023
    Copy the full SHA
    d696565 View commit details

Commits on Dec 2, 2023

  1. Copy the full SHA
    be59173 View commit details

Commits on Dec 4, 2023

  1. Copy the full SHA
    effe686 View commit details

Commits on Dec 5, 2023

  1. Copy the full SHA
    f5578ac View commit details

Commits on Dec 6, 2023

  1. Copy the full SHA
    ba1df8b View commit details

Commits on Dec 8, 2023

  1. Copy the full SHA
    ac87eba View commit details
  2. Copy the full SHA
    d614393 View commit details
Showing with 1,522 additions and 2,695 deletions.
  1. +1 −1 .commitlintrc
  2. +9 −4 .github/renovate.json
  3. +4 −4 .github/workflows/codeql.yml
  4. +4 −4 .github/workflows/lint_pr_title.yml
  5. +16 −11 .github/workflows/release.yml
  6. +3 −3 .github/workflows/scorecards.yml
  7. +51 −9 .github/workflows/test.yml
  8. +3 −3 .releaserc
  9. +123 −0 CHANGELOG.md
  10. +1,283 −2,630 package-lock.json
  11. +25 −26 package.json
2 changes: 1 addition & 1 deletion .commitlintrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": [
"@insurgentlab/commitlint-config"
"@insurgent/commitlint-config"
]
}
13 changes: 9 additions & 4 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -16,7 +16,11 @@
"group:commitlintMonorepo"
],
"schedule": ["before 5am every weekday", "every weekend"],
"lockFileMaintenance": { "enabled": true, "automerge": true },
"lockFileMaintenance": {
"enabled": true,
"automerge": true,
"automergeType": "branch"
},
"labels": ["dependencies"],
"osvVulnerabilityAlerts": true,
"packageRules": [
@@ -46,8 +50,8 @@
},
{
"matchPackagePatterns": [
"@insurgentlab/conventional-changelog-preset",
"@insurgentlab/commitlint-config"
"@insurgent/conventional-changelog-preset",
"@insurgent/commitlint-config"
],
"groupName": "semantic-release related packages",
"matchUpdateTypes": ["digest", "patch", "minor", "major"]
@@ -67,7 +71,8 @@
{
"matchDepTypes": ["devDependencies"],
"matchUpdateTypes": ["minor", "patch"],
"automerge": true
"automerge": true,
"automergeType": "branch"
}
]
}
8 changes: 4 additions & 4 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -30,7 +30,7 @@ jobs:

steps:
- name: Harden Runner
uses: step-security/harden-runner@1b05615854632b887b69ae1be8cbefe72d3ae423 # v2.6.0
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs

@@ -39,7 +39,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@74483a38d39275f33fcff5f35b679b5ca4a26a99 # v2.22.5
uses: github/codeql-action/init@8a470fddafa5cbb6266ee11b37ef4d8aae19c571 # v3.24.6
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -49,7 +49,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@74483a38d39275f33fcff5f35b679b5ca4a26a99 # v2.22.5
uses: github/codeql-action/autobuild@8a470fddafa5cbb6266ee11b37ef4d8aae19c571 # v3.24.6

# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
@@ -62,6 +62,6 @@ jobs:
# ./location_of_script_within_repo/buildscript.sh

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@74483a38d39275f33fcff5f35b679b5ca4a26a99 # v2.22.5
uses: github/codeql-action/analyze@8a470fddafa5cbb6266ee11b37ef4d8aae19c571 # v3.24.6
with:
category: '/language:${{matrix.language}}'
8 changes: 4 additions & 4 deletions .github/workflows/lint_pr_title.yml
Original file line number Diff line number Diff line change
@@ -16,16 +16,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@1b05615854632b887b69ae1be8cbefe72d3ae423 # v2.6.0
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs

- uses: amannn/action-semantic-pull-request@c3cd5d1ea3580753008872425915e343e351ab54 # v5
- uses: amannn/action-semantic-pull-request@e9fabac35e210fea40ca5b14c0da95a099eff26f # v5
id: lint_pr_title
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- uses: marocchino/sticky-pull-request-comment@efaaab3fd41a9c3de579aba759d2552635e590fd # v2
- uses: marocchino/sticky-pull-request-comment@331f8f5b4215f0445d3c07b4967662a32a2d3e31 # v2
# When the previous steps fails, the workflow would stop. By adding this
# condition you can continue the execution with the populated error message.
if: always() && (steps.lint_pr_title.outputs.error_message != null)
@@ -44,7 +44,7 @@ jobs:
# Delete a previous comment when the issue has been resolved
- if: ${{ steps.lint_pr_title.outputs.error_message == null }}
uses: marocchino/sticky-pull-request-comment@efaaab3fd41a9c3de579aba759d2552635e590fd # v2
uses: marocchino/sticky-pull-request-comment@331f8f5b4215f0445d3c07b4967662a32a2d3e31 # v2
with:
header: pr-title-lint-error
delete: true
27 changes: 16 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Test & Release
name: Release

on:
push:
@@ -8,37 +8,42 @@ on:
- '+([0-9])?(.{+([0-9]),x}).x'

jobs:
lint-and-test:
test:
uses: ./.github/workflows/test.yml
secrets: inherit

release:
needs: lint-and-test
needs: test

runs-on: ubuntu-latest
env:
node-version: 20.x

steps:
- name: Harden Runner
uses: step-security/harden-runner@1b05615854632b887b69ae1be8cbefe72d3ae423 # v2.6.0
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs

- name: Checkout project
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
with:
persist-credentials: false
- name: Use Node.js ${{ env.node-version }}
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4

- name: Use Node.js LTS
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4
with:
node-version: ${{ env.node-version }}
node-version: 'lts/*'
cache: npm

- name: Install packages
run: npm ci

- name: Audit npm signatures
run: npm audit signatures

- name: Build project
run: npm run build

- name: Run Semantic Release
run: npm run release
run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.CI_GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
6 changes: 3 additions & 3 deletions .github/workflows/scorecards.yml
Original file line number Diff line number Diff line change
@@ -31,7 +31,7 @@ jobs:

steps:
- name: Harden Runner
uses: step-security/harden-runner@1b05615854632b887b69ae1be8cbefe72d3ae423 # v2.6.0
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs

@@ -63,14 +63,14 @@ jobs:
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
# format to the repository Actions tab.
- name: 'Upload artifact'
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
with:
name: SARIF file
path: results.sarif
retention-days: 5

# Upload the results to GitHub's code scanning dashboard.
- name: 'Upload to code-scanning'
uses: github/codeql-action/upload-sarif@74483a38d39275f33fcff5f35b679b5ca4a26a99 # v2.22.5
uses: github/codeql-action/upload-sarif@8a470fddafa5cbb6266ee11b37ef4d8aae19c571 # v3.24.6
with:
sarif_file: results.sarif
60 changes: 51 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,44 +1,86 @@
name: Lint & Test
name: Test

on:
workflow_call:
push:
branches:
- renovate/** # branches generated by https://github.com/apps/renovate
pull_request:
branches:
- main
- beta
- '+([0-9])?(.{+([0-9]),x}).x'
workflow_call:

permissions:
contents: read

jobs:
lint-and-test:
runs-on: ${{ matrix.os }}
# prevent duplicate checks on Renovate PRs
prevent-duplicate-checks:
runs-on: ubuntu-latest
steps:
- uses: insurgent-lab/is-in-pr-action@129df59687402c4a9c81a9a9e88d7448cdbba541 # v0.2.0
id: isInPR
outputs:
should-run: ${{ !(steps.isInPR.outputs.result == 'true' && startsWith(github.ref, 'refs/heads/renovate/')) }}

test_matrix:
strategy:
matrix:
node: [16.x, 18.x, 20.x]
os: [ubuntu-latest, windows-latest, macos-latest]
node: [16, 18, 20]

runs-on: ${{ matrix.os }}
timeout-minutes: 5

needs: prevent-duplicate-checks
if: ${{ needs.prevent-duplicate-checks.outputs.should-run == 'true' }}

steps:
- name: Harden Runner
uses: step-security/harden-runner@1b05615854632b887b69ae1be8cbefe72d3ae423 # v2.6.0
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs

- name: Checkout project
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4

- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4
with:
node-version: ${{ matrix.node }}
cache: 'npm'

- name: Install packages
run: npm ci
- name: Build project
run: npm run build

- name: Audit npm signatures
run: npm audit signatures

- name: Check codestyle compliance
run: npm run lint

- name: Build project
run: npm run build

- name: Run tests
run: npm run test

- name: Run fuzz tests
run: npm run test:fuzz

# separate job to set as required status check in branch protection
required_check:
runs-on: ubuntu-latest
needs:
- prevent-duplicate-checks
- test_matrix

if: ${{ !cancelled() && needs.prevent-duplicate-checks.outputs.should-run == 'true' }}
steps:
- name: All required jobs and matrix versions passed
if: ${{ !(contains(needs.*.result, 'failure')) }}
run: exit 0
- name: Some required jobs or matrix versions failed
if: ${{ contains(needs.*.result, 'failure') }}
run: exit 1
6 changes: 3 additions & 3 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -13,14 +13,14 @@
[
"@semantic-release/commit-analyzer",
{
"config": "@insurgentlab/conventional-changelog-preset",
"releaseRules": "@insurgentlab/conventional-changelog-preset/release-rules"
"config": "@insurgent/conventional-changelog-preset",
"releaseRules": "@insurgent/conventional-changelog-preset/release-rules"
}
],
[
"@semantic-release/release-notes-generator",
{
"config": "@insurgentlab/conventional-changelog-preset"
"config": "@insurgent/conventional-changelog-preset"
}
],
"@semantic-release/npm",
Loading