From 282fba6dc1a7273720c7672958b218b0010f2464 Mon Sep 17 00:00:00 2001 From: Peter Bex Date: Fri, 16 Jan 2015 09:35:32 +0100 Subject: [PATCH 1/3] No such release 2.4.32 exists for uglify-js. Change to latest release 2.4.16 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 8d9f3c1..9ef4a9f 100644 --- a/package.json +++ b/package.json @@ -28,6 +28,6 @@ "url": "https://github.com/macek/jquery-serialize-object/issues" }, "devDependencies": { - "uglify-js": "^2.4.32" + "uglify-js": "^2.4.16" } } From 9bc1bc2dd49fd0766f263b022890c89e9cc2c19b Mon Sep 17 00:00:00 2001 From: Peter Bex Date: Fri, 16 Jan 2015 09:39:51 +0100 Subject: [PATCH 2/3] use "xdg-open" instead of "open". At least on Debian, "open" is an alias for "openvt", which results in the error "Couldn't get a file descriptor referring to the console". --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 9ef4a9f..94a971b 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "serialize form fields into an object or JSON", "main": "./jquery.serialize-object.js", "scripts": { - "test": "npm run-script build && open ./test/test.html", + "test": "npm run-script build && xdg-open ./test/test.html", "build": "npm run-script minify", "minify": "uglifyjs jquery.serialize-object.js -m -c --comments > dist/jquery.serialize-object.min.js" }, From b2c8399749b0031c44bbb3fe008afbfd57259dc2 Mon Sep 17 00:00:00 2001 From: Peter Bex Date: Fri, 16 Jan 2015 09:42:56 +0100 Subject: [PATCH 3/3] Fix jQuery Bower dependency to be less strict. The version doesn't matter so much because it doesn't use much core functionality. Tests still all pass with latest jQuery 2.1.3. --- bower.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bower.json b/bower.json index a5bf48d..b42e0fa 100644 --- a/bower.json +++ b/bower.json @@ -6,7 +6,7 @@ "Paul Macek (https://github.com/macek)" ], "dependencies": { - "jquery": "^1.11.1" + "jquery": "1.11.1 - 2.1.x" }, "repository": { "type": "git",