ep_openid_connect 2.5.11 → 2.5.14
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.
package/.eslintrc.cjs
ADDED
|
@@ -40,7 +40,7 @@ jobs:
|
|
|
40
40
|
mkdir -p node_modules
|
|
41
41
|
ln -s ../../etherpad-lite/src node_modules/ep_etherpad-lite
|
|
42
42
|
-
|
|
43
|
-
uses: actions/setup-node@
|
|
43
|
+
uses: actions/setup-node@v3
|
|
44
44
|
with:
|
|
45
45
|
node-version: 12
|
|
46
46
|
cache: 'npm'
|
|
@@ -81,7 +81,7 @@ jobs:
|
|
|
81
81
|
with:
|
|
82
82
|
fetch-depth: 0
|
|
83
83
|
-
|
|
84
|
-
uses: actions/setup-node@
|
|
84
|
+
uses: actions/setup-node@v3
|
|
85
85
|
with:
|
|
86
86
|
node-version: 12
|
|
87
87
|
registry-url: https://registry.npmjs.org/
|
|
@@ -97,6 +97,10 @@ jobs:
|
|
|
97
97
|
npm ci
|
|
98
98
|
npm version patch
|
|
99
99
|
git push --follow-tags
|
|
100
|
+
# This is required if the package has a prepare script that uses something
|
|
101
|
+
# in dependencies or devDependencies.
|
|
102
|
+
-
|
|
103
|
+
run: npm ci
|
|
100
104
|
# `npm publish` must come after `git push` otherwise there is a race
|
|
101
105
|
# condition: If two PRs are merged back-to-back then master/main will be
|
|
102
106
|
# updated with the commits from the second PR before the first PR's
|
package/index.js
CHANGED
|
@@ -251,8 +251,7 @@ exports.handleMessage = async (hookName, {message, socket}) => {
|
|
|
251
251
|
if (!displayname) return;
|
|
252
252
|
if (message.type === 'CLIENT_READY') {
|
|
253
253
|
logger.debug(
|
|
254
|
-
`CLIENT_READY ${socket.id}: Setting username for token ${message.token} to ${displayname}`
|
|
255
|
-
);
|
|
254
|
+
`CLIENT_READY ${socket.id}: Setting username for token ${message.token} to ${displayname}`);
|
|
256
255
|
// TODO: author ID might come from session ID, not token.
|
|
257
256
|
const authorId = await authorManager.getAuthor4Token(message.token);
|
|
258
257
|
await authorManager.setAuthorName(authorId, displayname);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ep_openid_connect",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.14",
|
|
4
4
|
"description": "Etherpad plugin to authenticate users against an OpenID Connect provider.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"repository": {
|
|
@@ -23,24 +23,14 @@
|
|
|
23
23
|
},
|
|
24
24
|
"homepage": "https://github.com/ether/ep_openid_connect#readme",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"openid-client": "^5.1.
|
|
26
|
+
"openid-client": "^5.1.3"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"eslint": "^8.
|
|
30
|
-
"eslint-config-etherpad": "^
|
|
31
|
-
"eslint-plugin-cypress": "^2.12.1",
|
|
32
|
-
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
33
|
-
"eslint-plugin-mocha": "^10.0.3",
|
|
34
|
-
"eslint-plugin-node": "^11.1.0",
|
|
35
|
-
"eslint-plugin-prefer-arrow": "^1.2.3",
|
|
36
|
-
"eslint-plugin-promise": "^6.0.0",
|
|
37
|
-
"eslint-plugin-you-dont-need-lodash-underscore": "^6.12.0",
|
|
29
|
+
"eslint": "^8.9.0",
|
|
30
|
+
"eslint-config-etherpad": "^3.0.1",
|
|
38
31
|
"oidc-provider": "^7.10.6",
|
|
39
|
-
"supertest": "^6.2.2"
|
|
40
|
-
|
|
41
|
-
"eslintConfig": {
|
|
42
|
-
"root": true,
|
|
43
|
-
"extends": "etherpad/plugin"
|
|
32
|
+
"supertest": "^6.2.2",
|
|
33
|
+
"typescript": "^4.5.5"
|
|
44
34
|
},
|
|
45
35
|
"scripts": {
|
|
46
36
|
"lint": "eslint .",
|