ep_who_did_what 0.0.50 → 0.0.61

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -22,12 +22,12 @@ jobs:
22
22
  sudo apt install -y --no-install-recommends libreoffice libreoffice-pdfimport
23
23
  -
24
24
  name: Install etherpad core
25
- uses: actions/checkout@v3
25
+ uses: actions/checkout@v4
26
26
  with:
27
27
  repository: ether/etherpad-lite
28
28
  -
29
29
  name: Checkout plugin repository
30
- uses: actions/checkout@v3
30
+ uses: actions/checkout@v4
31
31
  with:
32
32
  path: ./node_modules/__tmp
33
33
  -
@@ -45,12 +45,14 @@ jobs:
45
45
  -
46
46
  uses: actions/setup-node@v3
47
47
  with:
48
- node-version: 12
48
+ node-version: 20
49
49
  cache: 'npm'
50
50
  cache-dependency-path: |
51
51
  src/package-lock.json
52
52
  src/bin/doc/package-lock.json
53
53
  node_modules/${{ steps.plugin_name.outputs.plugin_name }}/package-lock.json
54
+ - run: npm install npm@6.14.18 -g
55
+ name: Install legacy npm for correct dependency resolution
54
56
  -
55
57
  name: Install plugin dependencies
56
58
  run: |
@@ -0,0 +1,41 @@
1
+ name: "CodeQL"
2
+
3
+ on:
4
+ push:
5
+ branches: [ "main" ]
6
+ pull_request:
7
+ branches: [ "main" ]
8
+ schedule:
9
+ - cron: "23 1 * * 4"
10
+
11
+ jobs:
12
+ analyze:
13
+ name: Analyze
14
+ runs-on: ubuntu-latest
15
+ permissions:
16
+ actions: read
17
+ contents: read
18
+ security-events: write
19
+
20
+ strategy:
21
+ fail-fast: false
22
+ matrix:
23
+ language: [ javascript ]
24
+
25
+ steps:
26
+ - name: Checkout
27
+ uses: actions/checkout@v4
28
+
29
+ - name: Initialize CodeQL
30
+ uses: github/codeql-action/init@v2
31
+ with:
32
+ languages: ${{ matrix.language }}
33
+ queries: +security-and-quality
34
+
35
+ - name: Autobuild
36
+ uses: github/codeql-action/autobuild@v2
37
+
38
+ - name: Perform CodeQL Analysis
39
+ uses: github/codeql-action/analyze@v2
40
+ with:
41
+ category: "/language:${{ matrix.language }}"
@@ -7,19 +7,9 @@ on: [push]
7
7
  jobs:
8
8
  test:
9
9
  runs-on: ubuntu-latest
10
+ if: ${{ github.actor != 'dependabot[bot]' }}
10
11
 
11
12
  steps:
12
- -
13
- name: Fail if Dependabot
14
- if: github.actor == 'dependabot[bot]'
15
- run: |
16
- cat <<EOF >&2
17
- Frontend tests skipped because Dependabot can't access secrets.
18
- Manually re-run the jobs to run the frontend tests.
19
- For more information, see:
20
- https://github.blog/changelog/2021-02-19-github-actions-workflows-triggered-by-dependabot-prs-will-run-with-read-only-permissions/
21
- EOF
22
- exit 1
23
13
  -
24
14
  name: Generate Sauce Labs strings
25
15
  id: sauce_strings
@@ -28,20 +18,22 @@ jobs:
28
18
  printf %s\\n '::set-output name=tunnel_id::${{ github.run_id }}-${{ github.run_number }}-${{ github.job }}'
29
19
  -
30
20
  name: Check out Etherpad core
31
- uses: actions/checkout@v3
21
+ uses: actions/checkout@v4
32
22
  with:
33
23
  repository: ether/etherpad-lite
34
24
  -
35
25
  uses: actions/setup-node@v3
36
26
  with:
37
- node-version: 12
27
+ node-version: 20
38
28
  cache: 'npm'
39
29
  cache-dependency-path: |
40
30
  src/package-lock.json
41
31
  src/bin/doc/package-lock.json
32
+ - run: npm install npm@6.14.18 -g
33
+ name: Install legacy npm for correct dependency resolution
42
34
  -
43
35
  name: Check out the plugin
44
- uses: actions/checkout@v3
36
+ uses: actions/checkout@v4
45
37
  with:
46
38
  path: ./node_modules/__tmp
47
39
  -
@@ -92,7 +84,7 @@ jobs:
92
84
  name: Remove standard frontend test files
93
85
  run: rm -rf src/tests/frontend/specs
94
86
  -
95
- uses: saucelabs/sauce-connect-action@v2.1.1
87
+ uses: saucelabs/sauce-connect-action@v2.3.4
96
88
  with:
97
89
  username: ${{ secrets.SAUCE_USERNAME }}
98
90
  accessKey: ${{ secrets.SAUCE_ACCESS_KEY }}
@@ -22,7 +22,7 @@ jobs:
22
22
  # conflicts with this plugin's clone, etherpad-lite must be cloned and
23
23
  # moved out before this plugin's repo is cloned to $GITHUB_WORKSPACE.
24
24
  -
25
- uses: actions/checkout@v3
25
+ uses: actions/checkout@v4
26
26
  with:
27
27
  repository: ether/etherpad-lite
28
28
  path: etherpad-lite
@@ -31,7 +31,7 @@ jobs:
31
31
  # etherpad-lite has been moved outside of $GITHUB_WORKSPACE, so it is now
32
32
  # safe to clone this plugin's repo to $GITHUB_WORKSPACE.
33
33
  -
34
- uses: actions/checkout@v3
34
+ uses: actions/checkout@v4
35
35
  # This is necessary for actions/setup-node because '..' can't be used in
36
36
  # cache-dependency-path.
37
37
  -
@@ -42,12 +42,14 @@ jobs:
42
42
  -
43
43
  uses: actions/setup-node@v3
44
44
  with:
45
- node-version: 12
45
+ node-version: 20
46
46
  cache: 'npm'
47
47
  cache-dependency-path: |
48
48
  node_modules/ep_etherpad-lite/package-lock.json
49
49
  node_modules/ep_etherpad-lite/bin/doc/package-lock.json
50
50
  package-lock.json
51
+ - run: npm install npm@6.14.18 -g
52
+ name: Install legacy npm for correct dependency resolution
51
53
  # All of ep_etherpad-lite's devDependencies are installed because the
52
54
  # plugin might do `require('ep_etherpad-lite/node_modules/${devDep}')`.
53
55
  # Eventually it would be nice to create an ESLint plugin that prohibits
@@ -77,15 +79,17 @@ jobs:
77
79
  runs-on: ubuntu-latest
78
80
  steps:
79
81
  -
80
- uses: actions/checkout@v3
82
+ uses: actions/checkout@v4
81
83
  with:
82
84
  fetch-depth: 0
83
85
  -
84
86
  uses: actions/setup-node@v3
85
87
  with:
86
- node-version: 12
88
+ node-version: 20
87
89
  registry-url: https://registry.npmjs.org/
88
90
  cache: 'npm'
91
+ - run: npm install npm@6.14.18 -g
92
+ name: Install legacy npm for correct dependency resolution
89
93
  -
90
94
  name: Bump version (patch)
91
95
  run: |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ep_who_did_what",
3
- "version": "0.0.50",
3
+ "version": "0.0.61",
4
4
  "description": "Who made what changes to a pad? A historical report available in the timeslider",
5
5
  "author": "John McLear <john@mclear.co.uk>",
6
6
  "contributors": [],
@@ -10,9 +10,9 @@
10
10
  "url": "https://etherpad.org/"
11
11
  },
12
12
  "devDependencies": {
13
- "eslint": "^8.11.0",
14
- "eslint-config-etherpad": "^3.0.9",
15
- "typescript": "^4.6.2"
13
+ "eslint": "^8.51.0",
14
+ "eslint-config-etherpad": "^3.0.22",
15
+ "typescript": "^4.9.5"
16
16
  },
17
17
  "scripts": {
18
18
  "lint": "eslint .",