Skip to content

Commit

Permalink
Merge pull request #4 from overleaf/bg-npm-audit
Browse files Browse the repository at this point in the history
fixes for npm audit
  • Loading branch information
briangough authored Oct 24, 2022
2 parents 60e7aa9 + 1737761 commit 1c23824
Show file tree
Hide file tree
Showing 6 changed files with 67 additions and 42 deletions.
6 changes: 6 additions & 0 deletions History.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
0.9.17-overleaf-4 / 2022-10-21
==============================

* Overleaf: no code changes in dist library, npm audit fixes
and fix to builder.js.

0.9.17-overleaf-3 / 2020-08-13
==============================

Expand Down
6 changes: 2 additions & 4 deletions bin/builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -279,11 +279,10 @@ if (!module.parent){
builder(args.length ? args : false, { minify:false }, function (err, content) {
if (err) return console.error(err);

fs.write(
fs.writeSync(
fs.openSync(__dirname + '/../dist/socket.io.js', 'w')
, content
, 0
, 'utf8'
);
console.log('Successfully generated the development build: socket.io.js');
});
Expand All @@ -292,11 +291,10 @@ if (!module.parent){
builder(args.length ? args : false, function (err, content) {
if (err) return console.error(err);

fs.write(
fs.writeSync(
fs.openSync(__dirname + '/../dist/socket.io.min.js', 'w')
, content
, 0
, 'utf8'
);
console.log('Successfully generated the production build: socket.io.min.js');
});
Expand Down
4 changes: 2 additions & 2 deletions dist/socket.io.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Socket.IO.js build:0.9.17-overleaf-3, development. Copyright(c) 2011 LearnBoost <dev@learnboost.com> MIT Licensed */
/*! Socket.IO.js build:0.9.17-overleaf-4, development. Copyright(c) 2011 LearnBoost <dev@learnboost.com> MIT Licensed */

var io = ('undefined' === typeof module ? {} : module.exports);
(function() {
Expand All @@ -25,7 +25,7 @@ var io = ('undefined' === typeof module ? {} : module.exports);
* @api public
*/

io.version = '0.9.17-overleaf-3';
io.version = '0.9.17-overleaf-4';

/**
* Protocol implemented.
Expand Down
4 changes: 2 additions & 2 deletions dist/socket.io.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/io.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* @api public
*/

io.version = '0.9.17-overleaf-3';
io.version = '0.9.17-overleaf-4';

/**
* Protocol implemented.
Expand Down
87 changes: 54 additions & 33 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,35 +1,56 @@
{
"name": "socket.io-client"
, "description": "Socket.IO client for the browser and node.js"
, "version": "0.9.17-overleaf-3"
, "main" : "./lib/io.js"
, "browserify": "./dist/socket.io.js"
, "homepage": "http://socket.io"
, "keywords": ["websocket", "socket", "realtime", "socket.io", "comet", "ajax"]
, "author": "Guillermo Rauch <guillermo@learnboost.com>"
, "contributors": [
{ "name": "Guillermo Rauch", "email": "rauchg@gmail.com" }
, { "name": "Arnout Kazemier", "email": "info@3rd-eden.com" }
, { "name": "Vladimir Dronnikov", "email": "dronnikov@gmail.com" }
, { "name": "Einar Otto Stangvik", "email": "einaros@gmail.com" }
]
, "repository": {
"type": "git"
, "url": "https://github.com/LearnBoost/socket.io-client.git"
"name": "socket.io-client",
"description": "Socket.IO client for the browser and node.js",
"version": "0.9.17-overleaf-4",
"main": "./lib/io.js",
"browserify": "./dist/socket.io.js",
"homepage": "http://socket.io",
"keywords": [
"websocket",
"socket",
"realtime",
"socket.io",
"comet",
"ajax"
],
"author": "Guillermo Rauch <guillermo@learnboost.com>",
"contributors": [
{
"name": "Guillermo Rauch",
"email": "rauchg@gmail.com"
},
{
"name": "Arnout Kazemier",
"email": "info@3rd-eden.com"
},
{
"name": "Vladimir Dronnikov",
"email": "dronnikov@gmail.com"
},
{
"name": "Einar Otto Stangvik",
"email": "einaros@gmail.com"
}
],
"repository": {
"type": "git",
"url": "https://github.com/LearnBoost/socket.io-client.git"
},
"dependencies": {
"ws": "^1.1.5",
"xmlhttprequest": "^1.8.0"
},
"devDependencies": {
"active-x-obfuscator": "0.0.1",
"express": "2.5.x",
"expresso": "*",
"jade": "*",
"should": "*",
"socket.io": "0.9.17",
"stylus": "*",
"uglify-js": "^3.17.3"
},
"engines": {
"node": ">= 0.4.0"
}
, "dependencies": {
"uglify-js": "1.2.5"
, "ws": "0.4.x"
, "xmlhttprequest": "1.4.2"
, "active-x-obfuscator": "0.0.1"
}
, "devDependencies": {
"expresso": "*"
, "express": "2.5.x"
, "jade": "*"
, "stylus": "*"
, "socket.io": "0.9.17"
, "should": "*"
}
, "engines": { "node": ">= 0.4.0" }
}
}

0 comments on commit 1c23824

Please sign in to comment.