ep_comments_page 11.0.16 → 11.0.18

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "description": "Adds comments on sidebar and link it to the text. For no-skin use ep_page_view.",
3
3
  "name": "ep_comments_page",
4
- "version": "11.0.16",
4
+ "version": "11.0.18",
5
5
  "author": {
6
6
  "name": "Nicolas Lescop",
7
7
  "email": "limplementeur@gmail.com"
@@ -19,8 +19,8 @@ const preCommentMark = require('ep_comments_page/static/js/preCommentMark');
19
19
  const getCommentIdOnFirstPositionSelected = events.getCommentIdOnFirstPositionSelected;
20
20
  const hasCommentOnSelection = events.hasCommentOnSelection;
21
21
  const Security = require('ep_etherpad-lite/static/js/security');
22
- // eslint-disable-next-line no-redeclare
23
- const io = require('socket.io-client');
22
+ const socketIoClient = require('socket.io-client');
23
+ const io = socketIoClient.default || socketIoClient;
24
24
 
25
25
  const cssFiles = [
26
26
  'ep_comments_page/static/css/comment.css',