Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
13c4129
Ensure there is a schema before extracting type
Mar 31, 2020
ddd0f5c
Prettier, switch linter
Apr 1, 2020
f18827f
Upgrade typedoc (security vulns)
Apr 1, 2020
09a2315
Switch to yarn
Apr 1, 2020
8927974
Add .nvmrc
Apr 1, 2020
9f63eab
Use buffer.from()
Apr 1, 2020
5164e9a
Use express-bundled body parser
Apr 1, 2020
830d0aa
Update uuid
Apr 1, 2020
d8fd970
Use native promises
Apr 1, 2020
51f1e31
Remove ancient node hack
Apr 1, 2020
1b749f6
Move serve-static to devDeps
Apr 1, 2020
23bf8e0
Don't pin types
Apr 1, 2020
9c5b254
Upgrade mocha
Apr 1, 2020
7ee4d54
Use duplexify
Apr 1, 2020
f201061
Bump request
Apr 1, 2020
260fcba
Update bom, set ts interop
Apr 18, 2020
547957d
Upgrade deps
Apr 18, 2020
329f1cc
Pin devDeps
Apr 18, 2020
3ac9c6b
Publish to github
Apr 18, 2020
334a1d7
added pipeline
rodel-ooh-media Nov 8, 2022
42edc3f
ci: version bump to 1.0.1
gh-action-bump-version Nov 8, 2022
600000f
Use organisation standard npm token env variable
travis-bloomfield-ooh Nov 8, 2022
4239109
Force resolution of xmldom to 0.7.6
travis-bloomfield-ooh Nov 8, 2022
126feb5
Add yarn test to pull request pipeline
travis-bloomfield-ooh Nov 8, 2022
315ccf3
Merge pull request #5 from oohmedia/CAM-1749_fix_xmldom_vulnerability
travis-bloomfield-ooh Nov 8, 2022
1d54335
ci: version bump to 1.0.2
gh-action-bump-version Nov 8, 2022
b797980
[CAM-1749] Update xml-crypto
travis-bloomfield-ooh Nov 30, 2022
7587b41
ci: version bump to 1.0.3
gh-action-bump-version Nov 30, 2022
3001c6f
[CAM-2042] update express for qs security issue (#9)
stevenwang-oohmedia Sep 28, 2023
a806c40
ci: version bump to 1.0.4
gh-action-bump-version Sep 28, 2023
d30594f
[HD-2366] fix critical security vulnerabilities
GuangweiHe Mar 26, 2025
b3879a7
[HD-2366] skip sonarcube duplication check for test files
GuangweiHe Mar 26, 2025
e34d654
[HD-2366] skip sonarcube check for all test files
GuangweiHe Mar 26, 2025
3ac0c33
[HD-2366] update comment
GuangweiHe Mar 26, 2025
b84b621
[HD-2366] remove sonar.exclusions
GuangweiHe Mar 26, 2025
f8ea55c
[HD-2366] upgrade xml-crypto
GuangweiHe Mar 27, 2025
f70769f
[HD-2366] add sonarcube config
GuangweiHe Mar 27, 2025
bc62eb1
Merge pull request #11 from oohmedia/feature/HD2366-upgrade-xml-crypt…
GuangweiHe Mar 27, 2025
8d89221
Bump versions
rodel-ooh-media Mar 27, 2025
52ecf2b
add permissions
rodel-ooh-media Mar 27, 2025
d7c31bc
ci: version bump to 1.0.5
gh-action-bump-version Mar 27, 2025
562cf58
[HD-2366] package upgrade
GuangweiHe Jul 9, 2025
da08177
[HD-2366] merge from master
GuangweiHe Jul 9, 2025
f7b3fc6
[HD-2366] update scripts
GuangweiHe Jul 9, 2025
f3cc6b0
Merge pull request #10 from oohmedia/feature/HD2366-upgrade-xml-crypt…
GuangweiHe Jul 9, 2025
0e3171d
ci: version bump to 1.1.0
gh-action-bump-version Jul 9, 2025
a771e4a
[HD-2881] fix security vulnerabilities
GuangweiHe Sep 17, 2025
9c94a3c
Merge pull request #18 from oohmedia/feature/HD2881-fix-security-vuln…
GuangweiHe Sep 17, 2025
327788d
ci: version bump to 1.2.0
gh-action-bump-version Sep 17, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ insert_final_newline = false
indent_style = space
indent_size = 2

[*.ts]
indent_style = space
indent_size = 2

[*.json]
indent_style = space
indent_size = 2
Expand Down
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
lib
27 changes: 27 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
module.exports = {
parser: '@typescript-eslint/parser',
extends: [
'plugin:@typescript-eslint/recommended',
'prettier/@typescript-eslint',
'plugin:prettier/recommended',
'plugin:import/errors',
'plugin:import/warnings',
'plugin:import/typescript',
],
parserOptions: {
ecmaVersion: 2018, // Allows for the parsing of modern ECMAScript features
sourceType: 'module', // Allows for the use of imports
},
rules: {
'@typescript-eslint/camelcase': 0,
'@typescript-eslint/explicit-function-return-type': 0,
'@typescript-eslint/interface-name-prefix': 0,
'@typescript-eslint/no-empty-function': 0,
'@typescript-eslint/no-explicit-any': 0,
'@typescript-eslint/no-this-alias': 0,
'@typescript-eslint/no-unused-vars': 0,
'@typescript-eslint/no-use-before-define': 0,
'prefer-spread': 'off',
'prefer-rest-params': 'off',
},
};
43 changes: 43 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Publish

on:
push:
branches:
- 'master'
paths-ignore:
- 'package.json'
- '**/*.md'

permissions:
contents: write
deployments: write
actions: write

jobs:
publish:
runs-on: ubuntu-latest
environment: prod
env:
GITHUB_TOKEN: ${{ secrets.GH_ADMIN_TOKEN }}
NPM_TOKEN: ${{ secrets.GH_ADMIN_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.GH_ADMIN_TOKEN }}
steps:
- name: Checkout Repo
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 22.x
registry-url: https://npm.pkg.github.com
cache: yarn

- name: Install Dependencies
run: yarn install --no-progress --frozen-lockfile

- name: Automated Version Bump
id: version-bump
uses: phips28/[email protected]

- name: Publish
run: yarn publish --new-version ${{ steps.version-bump.outputs.newTag }} --no-git-tag-version
33 changes: 33 additions & 0 deletions .github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Pull Request

on:
pull_request:
branches:
- main

jobs:
unit-test:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GH_ADMIN_TOKEN }}
NPM_TOKEN: ${{ secrets.GH_ADMIN_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.GH_ADMIN_TOKEN }}
steps:
- name: Checkout Repo
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 22.x
registry-url: https://npm.pkg.github.com
cache: yarn

- name: Install Dependencies
run: yarn install --no-progress --frozen-lockfile

- name: Lint
run: yarn lint

- name: Run Unit Tests
run: yarn test
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ node_modules
npm-debug.log
coverage
.nyc_output
yarn.lock
package-lock.json
.vscode
.idea
*.iml
/lib
/docs
oohmedia-soap-*.tgz
2 changes: 2 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ PUBLISHING.md
.*
/src
/docs
oohmedia-soap-*.tgz
renovate.json
2 changes: 2 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@oohmedia:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=${NPM_TOKEN}
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
22
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.history
lib
5 changes: 5 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"singleQuote": true,
"trailingComma": "es5",
"printWidth": 100
}
7 changes: 7 additions & 0 deletions .sonarcloud.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Encoding of the source code. Default is default system encoding
sonar.sourceEncoding=UTF-8
# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
# This property is optional if sonar.modules is set.
sonar.sources=src
sonar.tests=test
sonar.cpd.exclusions=test/**/*
24 changes: 0 additions & 24 deletions .travis.yml

This file was deleted.

52 changes: 0 additions & 52 deletions CONTRIBUTING.md

This file was deleted.

Loading