Skip to content

Commit 95ab01e

Browse files
committed
chore: Dropped support of Node.js 4
Some NPM dependencies dropped support of Node.js 4. It is easier to drop it too, that looking for workarounds to get the testing build running, or claim the support without actually testing it. Add testing with Node.js 10. BREAKING CHANGE: Dropped support of Node.js 4
1 parent bea0431 commit 95ab01e

13 files changed

+39
-27
lines changed

.travis.yml

+2-6
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,11 @@ cache:
66
notifications:
77
email: false
88
node_js:
9+
- '10'
910
- '8'
1011
- '6'
11-
- '4'
12-
before_install:
13-
- npm install -g npm
14-
before_script:
15-
- npm prune
1612
after_success:
17-
- npm run semantic-release
13+
- npm run travis-deploy-once "npm run semantic-release"
1814
branches:
1915
except:
2016
- /^v\d+\.\d+\.\d+$/

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2014 Ferdinand Prantl <[email protected]>
1+
Copyright (c) 2014-2018 Ferdinand Prantl <[email protected]>
22

33
Permission is hereby granted, free of charge, to any person
44
obtaining a copy of this software and associated documentation

asynctaskqueue-min.js

+2-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

asynctaskqueue-min.js.map

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

asynctaskqueue-min.map

-1
This file was deleted.

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name" : "asynctaskqueue.js",
3-
"version" : "1.0.0",
3+
"version" : "2.0.0",
44
"main" : "asynctaskqueue.js",
55
"keywords" : ["worker", "queue", "asynchronous", "server", "client", "browser"],
66
"ignore" : ["docs", "test", "*.yml", "*.map"]

component.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
"repo" : "prantlf/asynctaskqueue.js",
66
"main" : "asynctaskqueue.js",
77
"scripts" : ["asynctaskqueue.js"],
8-
"version" : "1.0.0",
8+
"version" : "2.0.0",
99
"license" : "MIT"
1010
}

docs/asynctaskqueue.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,7 @@ <h4 id="private-methods">Private Methods</h4>
695695
<span class="hljs-keyword">this</span>.processing.length &lt; <span class="hljs-keyword">this</span>.parallelism &amp;&amp;
696696
(task = <span class="hljs-keyword">this</span>.scheduler.pop(<span class="hljs-keyword">this</span>.pending))) {
697697
<span class="hljs-keyword">this</span>.processing.push(task);
698-
<span class="hljs-keyword">this</span>.deferred.notify({ scheduled: <span class="hljs-literal">true</span> });
698+
<span class="hljs-keyword">this</span>.deferred.notify({ <span class="hljs-attr">scheduled</span>: <span class="hljs-literal">true</span> });
699699
<span class="hljs-keyword">this</span>._execute(task);</pre></div></div>
700700

701701
</li>
@@ -909,7 +909,7 @@ <h4 id="private-methods">Private Methods</h4>
909909
<span class="hljs-keyword">return</span> i;
910910
}
911911
}
912-
<span class="hljs-keyword">return</span> -<span class="hljs-number">1</span>;
912+
<span class="hljs-keyword">return</span> <span class="hljs-number">-1</span>;
913913
}
914914

915915
});

docs/docco.css

+18-6
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@
2121
}
2222

2323
@font-face {
24-
font-family: 'novecento-bold';
25-
src: url('public/fonts/novecento-bold.eot');
26-
src: url('public/fonts/novecento-bold.eot?#iefix') format('embedded-opentype'),
27-
url('public/fonts/novecento-bold.woff') format('woff'),
28-
url('public/fonts/novecento-bold.ttf') format('truetype');
24+
font-family: 'roboto-black';
25+
src: url('public/fonts/roboto-black.eot');
26+
src: url('public/fonts/roboto-black.eot?#iefix') format('embedded-opentype'),
27+
url('public/fonts/roboto-black.woff') format('woff'),
28+
url('public/fonts/roboto-black.ttf') format('truetype');
2929
font-weight: normal;
3030
font-style: normal;
3131
}
@@ -67,14 +67,17 @@ h1, h2, h3, h4, h5, h6 {
6767
color: #112233;
6868
line-height: 1em;
6969
font-weight: normal;
70-
font-family: "novecento-bold";
70+
font-family: "roboto-black";
7171
text-transform: uppercase;
7272
margin: 30px 0 15px 0;
7373
}
7474

7575
h1 {
7676
margin-top: 40px;
7777
}
78+
h2 {
79+
font-size: 1.26em;
80+
}
7881

7982
hr {
8083
border: 0;
@@ -180,9 +183,18 @@ ul.sections > li > div {
180183
display: block;
181184
}
182185

186+
#jump_page_wrapper{
187+
position: fixed;
188+
right: 0;
189+
top: 0;
190+
bottom: 0;
191+
}
192+
183193
#jump_page {
184194
padding: 5px 0 3px;
185195
margin: 0 0 25px 25px;
196+
max-height: 100%;
197+
overflow: auto;
186198
}
187199

188200
#jump_page .source {

docs/public/fonts/roboto-black.eot

20.2 KB
Binary file not shown.

docs/public/fonts/roboto-black.ttf

43.8 KB
Binary file not shown.

docs/public/fonts/roboto-black.woff

24 KB
Binary file not shown.

package.json

+11-6
Original file line numberDiff line numberDiff line change
@@ -17,21 +17,26 @@
1717
},
1818
"main": "asynctaskqueue.js",
1919
"version": "0.0.0-development",
20+
"engines": {
21+
"node": ">=6"
22+
},
2023
"dependencies": {
21-
"underscore": "1.8.3",
22-
"jquery": "3.2.1"
24+
"underscore": "1.9.0",
25+
"jquery": "3.3.1"
2326
},
2427
"devDependencies": {
2528
"docco": "0.8.x",
2629
"phantomjs": "2.1.x",
27-
"uglify-js": "3.2.x",
28-
"semantic-release": "^11.0.2"
30+
"uglify-js": "3.3.x",
31+
"semantic-release": "^15.1.7",
32+
"travis-deploy-once": "^4.4.1"
2933
},
3034
"scripts": {
3135
"test": "phantomjs test/vendor/runner.js test/index.html?noglobals=true",
32-
"build": "uglifyjs asynctaskqueue.js -c \"evaluate=false\" --comments \"/ .*/\" -m --source-map asynctaskqueue-min.map -o asynctaskqueue-min.js",
36+
"build": "uglifyjs asynctaskqueue.js -c \"evaluate=false\" --comments=\"/ .*/\" -m --source-map -o asynctaskqueue-min.js",
3337
"doc": "docco asynctaskqueue.js",
34-
"semantic-release": "semantic-release"
38+
"semantic-release": "semantic-release",
39+
"travis-deploy-once": "travis-deploy-once"
3540
},
3641
"licenses": [
3742
{

0 commit comments

Comments
 (0)