Skip to content

Commit

Permalink
feature(package) socket.io v3.0.5 (socketio/socket.io#3720)
Browse files Browse the repository at this point in the history
  • Loading branch information
coderaiser committed Jan 5, 2021
1 parent 77384f3 commit fdcc060
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 19 deletions.
4 changes: 0 additions & 4 deletions .putout.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,13 @@
},
"ignore": [
"fixture*",
"dist*",
"app.json",
"fontello.json"
],
"match": {
"*.md": {
"convert-commonjs-to-esm": "on"
},
"{import.spec.js,console.js}": {
"remove-skip": "off"
},
".webpack": {
"webpack": "on"
},
Expand Down
2 changes: 1 addition & 1 deletion json/modules.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
],
"remote": [{
"name": "socket",
"version": "2.2.0",
"version": "3.0.5",
"local": "/socket.io/socket.io.js",
"remote": "https://cdnjs.cloudflare.com/ajax/libs/socket.io/{{ version }}/socket.io.js"
}],
Expand Down
33 changes: 24 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,41 +45,57 @@
"build:start:dev": "madrun build:start:dev",
"lint:all": "madrun lint:all",
"lint": "madrun lint",
"lint:css": "madrun lint:css",
"spell": "madrun spell",
"fix:lint": "madrun fix:lint",
"lint:progress": "madrun lint:progress",
"lint:stream": "madrun lint:stream",
"test:base": "madrun test:base",
"test": "madrun test",
"test:client": "madrun test:client",
"test:server": "madrun test:server",
"wisdom": "madrun wisdom",
"wisdom:type": "madrun wisdom:type",
"docker:pull:node": "madrun docker:pull:node",
"docker:pull": "madrun docker:pull",
"docker:pull:alpine": "madrun docker:pull:alpine",
"docker:pull:arm32": "madrun docker:pull:arm32",
"docker:pull:arm64": "madrun docker:pull:arm64",
"docker:push": "madrun docker:push",
"docker:push:latest": "madrun docker:push:latest",
"docker:push:alpine": "madrun docker:push:alpine",
"docker:push:alpine:latest": "madrun docker:push:alpine:latest",
"docker:push:arm32": "madrun docker:push:arm32",
"docker:push:arm32:latest": "madrun docker:push:arm32:latest",
"docker:push:arm64": "madrun docker:push:arm64",
"docker:push:arm64:latest": "madrun docker:push:arm64:latest",
"docker:build": "madrun docker:build",
"docker:build:alpine": "madrun docker:build:alpine",
"docker:build:arm32": "madrun docker:build:arm32",
"docker:build:arm64": "madrun docker:build:arm64",
"docker:manifest:create": "madrun docker:manifest:create",
"docker:manifest:push": "madrun docker:manifest:push",
"docker": "madrun docker",
"docker-ci": "madrun docker-ci",
"docker-login": "madrun docker-login",
"docker:x64": "madrun docker:x64",
"docker:alpine": "madrun docker:alpine",
"docker:manifest": "madrun docker:manifest",
"docker:tag": "madrun docker:tag",
"docker:tag:alpine": "madrun docker:tag:alpine",
"docker:tag:arm32": "madrun docker:tag:arm32",
"docker:tag:arm64": "madrun docker:tag:arm64",
"docker:rm:version": "madrun docker:rm:version",
"docker:rm:latest": "madrun docker:rm:latest",
"docker:rm:alpine": "madrun docker:rm:alpine",
"docker:rm:latest-alpine": "madrun docker:rm:latest-alpine",
"docker:rm:arm32": "madrun docker:rm:arm32",
"docker:rm:latest-arm32": "madrun docker:rm:latest-arm32",
"docker:rm:arm64": "madrun docker:rm:arm64",
"docker:rm:latest-arm64": "madrun docker:rm:latest-arm64",
"docker:rm-old": "madrun docker:rm-old",
"coverage": "madrun coverage",
"report": "madrun report",
"6to5": "madrun 6to5",
"6to5:client": "madrun 6to5:client",
"6to5:client:dev": "madrun 6to5:client:dev",
"pre6to5:client": "madrun pre6to5:client",
"pre6to5:client:dev": "madrun pre6to5:client:dev",
"watch:client": "madrun watch:client",
"watch:client:dev": "madrun watch:client:dev",
"watch:server": "madrun watch:server",
Expand All @@ -91,8 +107,7 @@
"build": "madrun build",
"build:client": "madrun build:client",
"build:client:dev": "madrun build:client:dev",
"heroku-postbuild": "madrun heroku-postbuild",
"putout": "madrun putout"
"heroku-postbuild": "madrun heroku-postbuild"
},
"directories": {
"man": "man"
Expand Down Expand Up @@ -147,8 +162,8 @@
"restbox": "^2.0.0",
"shortdate": "^2.0.0",
"simport": "^1.0.1",
"socket.io": "^3.0.1",
"socket.io-client": "^3.0.1",
"socket.io": "^3.0.5",
"socket.io-client": "^3.0.5",
"squad": "^3.0.0",
"table": "^6.0.1",
"thread-it": "^1.1.0",
Expand Down
8 changes: 4 additions & 4 deletions server/distribute/import.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ test('distribute: import: received: no name', async (t) => {
t.end();
});

test.skip('distribute: import: error', async (t) => {
test('distribute: import: error', async (t) => {
const configManager = createConfigManager();
const {done} = await connect({
configManager,
Expand All @@ -171,7 +171,7 @@ test.skip('distribute: import: error', async (t) => {
t.end();
});

test.skip('distribute: import: config:change: no export', async (t) => {
test('distribute: import: config:change: no export', async (t) => {
const configManager = createConfigManager();
const {done} = await connect({
configManager,
Expand Down Expand Up @@ -237,7 +237,7 @@ test('distribute: import: env', async (t) => {
const result = configManagerImport('editor');
const expected = 'deepword';

t.equal(expected, result);
t.equal(result, expected);
t.end();
});

Expand Down Expand Up @@ -281,6 +281,6 @@ test('distribute: import: no env', async (t) => {
const result = configManagerImport('editor');
const expected = 'edward';

t.equal(expected, result);
t.equal(result, expected);
t.end();
});
2 changes: 1 addition & 1 deletion test/server/console.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ test('cloudcmd: console: enabled', async (t) => {
});

// need options to close socket faster
test.skip('cloudcmd: console: disabled', async (t) => {
test('cloudcmd: console: disabled', async (t) => {
const config = {
console: false,
};
Expand Down

0 comments on commit fdcc060

Please sign in to comment.