Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes for npm audit #4

Merged
merged 7 commits into from
Oct 24, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
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" }
}
}