@opengovsg/mockpass 4.5.2 → 4.5.3

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.
@@ -0,0 +1,50 @@
1
+ name: 'OGP CodeQL'
2
+
3
+ on:
4
+ push:
5
+ branches: [ 'main' ]
6
+ pull_request:
7
+ branches: [ 'main' ]
8
+ schedule:
9
+ - cron: '0 10 * * *'
10
+
11
+ jobs:
12
+ analyze:
13
+ name: Analyze (${{matrix.language}})
14
+ runs-on: ${{(matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest'}}
15
+ timeout-minutes: ${{(matrix.language == 'swift' && 120) || 360}}
16
+ permissions:
17
+ # Required for all workflows
18
+ security-events: write
19
+
20
+ # Required to fetch internal or private CodeQL packs
21
+ packages: read
22
+
23
+ # Only required for workflows in private repositories
24
+ actions: read
25
+ contents: read
26
+
27
+ strategy:
28
+ fail-fast: false
29
+ matrix:
30
+ include:
31
+ - language: javascript-typescript
32
+ build-mode: none
33
+ steps:
34
+ - name: Checkout repository
35
+ uses: actions/checkout@v4
36
+
37
+ # Initializes the CodeQL tools for scanning.
38
+ - name: Initialize CodeQL
39
+ uses: github/codeql-action/init@v3
40
+ with:
41
+ languages: ${{matrix.language}}
42
+ build-mode: ${{matrix.build-mode}}
43
+
44
+ # Pull config from https://github.com/opengovsg/codeql-config/blob/prod/codeql-config.yml
45
+ config-file: opengovsg/codeql-config/codeql-config.yml@prod
46
+
47
+ - name: Perform CodeQL Analysis
48
+ uses: github/codeql-action/analyze@v3
49
+ with:
50
+ category: '/language:${{matrix.language}}'
package/Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM node:slim
1
+ FROM node:24-slim
2
2
 
3
3
  WORKDIR /usr/src/mockpass
4
4
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengovsg/mockpass",
3
- "version": "4.5.2",
3
+ "version": "4.5.3",
4
4
  "description": "A mock SingPass/CorpPass server for dev purposes",
5
5
  "main": "app.js",
6
6
  "bin": {
@@ -50,8 +50,8 @@
50
50
  "uuid": "^9.0.0"
51
51
  },
52
52
  "devDependencies": {
53
- "@commitlint/cli": "^19.1.0",
54
- "@commitlint/config-conventional": "^19.0.3",
53
+ "@commitlint/cli": "^20.1.0",
54
+ "@commitlint/config-conventional": "^20.0.0",
55
55
  "@commitlint/travis-cli": "^19.0.3",
56
56
  "@eslint/eslintrc": "^3.1.0",
57
57
  "@eslint/js": "^9.8.0",
@@ -62,7 +62,7 @@
62
62
  "eslint-plugin-prettier": "^4.0.0",
63
63
  "globals": "^16.0.0",
64
64
  "husky": "^9.0.11",
65
- "lint-staged": "^15.2.2",
65
+ "lint-staged": "^16.2.6",
66
66
  "nodemon": "^3.0.1",
67
67
  "pinst": "^3.0.0",
68
68
  "prettier": "^2.0.5"