Skip to content

Commit

Permalink
Merge branch 'release/0.4.8'
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiasrw committed Jul 14, 2018
2 parents f4927ce + c69ac98 commit 76eee0e
Show file tree
Hide file tree
Showing 23 changed files with 12,624 additions and 12,681 deletions.
1 change: 0 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ lib/
partners/
test/
src/
bin/
*.md
.bithoundrc
.codeclimate.yml
Expand Down
40 changes: 22 additions & 18 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,38 +1,42 @@
# Changelog

_0.4.7 "???" (xx.08.2018)_

* ...

> 0.4.11 "Lawdar" (xx.11.2018)
> 0.4.10 "Maoshk" (xx.10.2018)
> 0.4.9 "Alsalfiah" (xx.09.2018)
## 0.4.8 "Nafhan" (14.07.2018)

* Fix: Error when installing caused by missing cli file in npm


## 0.4.7 "Tarim" (14.07.2018)

* Better: Always find global object

_0.4.6 "Tarim" (14.07.2018)_

* Better: Always find global object


## 0.4.6 "Rahbah" (14.06.2018)

* Better: `Use strict` mode for javascript
* Better: `Use strict` mode for javascript


## 0.4.5 "Marib" (24.01.2018)

* Fix: Aggregate functions applied to empty sets (#964)
* Fix: missing ORDER BY direction when calling toString on AST (#970)
* Fix: Converting the syntax tree back to SQL with multple joins (#972)

* Fix: Aggregate functions applied to empty sets (#964)
* Fix: missing ORDER BY direction when calling toString on AST (#970)
* Fix: Converting the syntax tree back to SQL with multple joins (#972)

## 0.4.4 "Alsowm" (03.012.2017)

* Better: Better usage via unpkg.com
* Better: Better usage via jsdelivr.com



## 0.4.3 "Hajjah" (05.09.2017)

* Update: Removed implicit "any" in definition file
* Fix: Tabletop reads in empty cells as numeric 0 instead of empty string
* Fix: DISTINCT on emtpy table produced error

* Update: Removed implicit "any" in definition file
* Fix: Tabletop reads in empty cells as numeric 0 instead of empty string
* Fix: DISTINCT on emtpy table produced error


## 0.4.2 "Baraqish" (17.08.2017)

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
_AlaSQL is an open source project used on more than one million page views per month - and we appreciate any and all contributions we can get. [Please help out](https://github.com/agershun/alasql/labels/Please%20help%20out%21)._
_AlaSQL is an open source project used on more than two million page views per month - and we appreciate any and all contributions we can get. [Please help out](https://github.com/agershun/alasql/labels/Please%20help%20out%21)._

_Got a question? Ask on [Stack Overflow](http://stackoverflow.com/questions/ask?tags=AlaSQL) and tag with "alasql"._

Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@
"bin",
"lib"
],
"version": "0.4.7"
"version": "0.4.8"
}
4 changes: 2 additions & 2 deletions dist/alasql-worker.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//! AlaSQL v0.4.7 | © 2014-2016 Andrey Gershun & Mathias Rangel Wulff | License: MIT
//! AlaSQL v0.4.8 | © 2014-2016 Andrey Gershun & Mathias Rangel Wulff | License: MIT
/*
@module alasql
@version 0.4.7
@version 0.4.8
AlaSQL - JavaScript SQL database
© 2014-2016 Andrey Gershun & Mathias Rangel Wulff
Expand Down
2 changes: 1 addition & 1 deletion dist/alasql-worker.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

58 changes: 24 additions & 34 deletions dist/alasql.fs.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//! AlaSQL v0.4.7 | © 2014-2016 Andrey Gershun & Mathias Rangel Wulff | License: MIT
//! AlaSQL v0.4.8 | © 2014-2016 Andrey Gershun & Mathias Rangel Wulff | License: MIT
/*
@module alasql
@version 0.4.7
@version 0.4.8

AlaSQL - JavaScript SQL database
© 2014-2016 Andrey Gershun & Mathias Rangel Wulff
Expand Down Expand Up @@ -142,7 +142,7 @@ var alasql = function(sql, params, cb, scope) {
Current version of alasql
@constant {string}
*/
alasql.version = '0.4.7';
alasql.version = '0.4.8';

/**
Debug flag
Expand Down Expand Up @@ -4145,13 +4145,13 @@ if (!Array.isArray) {
*/

var xlsnc = (utils.xlsnc = function(i) {
var addr = String.fromCharCode(65 + (i % 26));
var addr = String.fromCharCode(65 + i % 26);
if (i >= 26) {
i = ((i / 26) | 0) - 1;
addr = String.fromCharCode(65 + (i % 26)) + addr;
addr = String.fromCharCode(65 + i % 26) + addr;
if (i > 26) {
i = ((i / 26) | 0) - 1;
addr = String.fromCharCode(65 + (i % 26)) + addr;
addr = String.fromCharCode(65 + i % 26) + addr;
}
}
return addr;
Expand Down Expand Up @@ -4931,18 +4931,14 @@ if (!utils.global.Promise) {
function(e) {
j(t, e);
}
);
);
}
function w(t, n, r) {
n.constructor === t.constructor && r === et && constructor.resolve === nt
? b(t, n)
: r === ut
? j(t, ut.error)
: void 0 === r
? S(t, n)
: e(r)
? m(t, n, r)
: S(t, n);
: void 0 === r ? S(t, n) : e(r) ? m(t, n, r) : S(t, n);
}
function g(e, n) {
e === n ? j(e, _()) : t(n) ? w(e, n, v(n)) : S(e, n);
Expand Down Expand Up @@ -5032,10 +5028,10 @@ if (!utils.global.Promise) {
? function(n, r) {
for (var o = t.length, i = 0; o > i; i++)
e.resolve(t[i]).then(n, r);
}
}
: function(t, e) {
e(new TypeError('You must pass an array to race.'));
}
}
);
}
function F(t) {
Expand Down Expand Up @@ -5066,14 +5062,14 @@ if (!utils.global.Promise) {
this.promise[rt] || k(this.promise),
Array.isArray(e)
? ((this._input = e),
(this.length = e.length),
(this._remaining = e.length),
(this._result = new Array(this.length)),
0 === this.length
(this.length = e.length),
(this._remaining = e.length),
(this._result = new Array(this.length)),
0 === this.length
? S(this.promise, this._result)
: ((this.length = this.length || 0),
this._enumerate(),
0 === this._remaining && S(this.promise, this._result)))
this._enumerate(),
0 === this._remaining && S(this.promise, this._result)))
: j(this.promise, U());
}
function U() {
Expand Down Expand Up @@ -5102,7 +5098,7 @@ if (!utils.global.Promise) {
? Array.isArray
: function(t) {
return '[object Array]' === Object.prototype.toString.call(t);
};
};
var B,
G,
H,
Expand All @@ -5125,13 +5121,7 @@ if (!utils.global.Promise) {
tt = new Array(1e3);
H = Z
? o()
: X
? s()
: $
? u()
: void 0 === R && 'function' == typeof require
? f()
: c();
: X ? s() : $ ? u() : void 0 === R && 'function' == typeof require ? f() : c();
var et = l,
nt = h,
rt = Math.random()
Expand Down Expand Up @@ -5209,7 +5199,7 @@ if (!utils.global.Promise) {
'function' == typeof define && define.amd
? define(function() {
return vt;
})
})
: 'undefined' != typeof module && module.exports
? (module.exports = vt)
: 'undefined' != typeof this && (this.ES6Promise = vt),
Expand Down Expand Up @@ -7227,7 +7217,7 @@ function doLimit(query) {
}
var limit;
if (query.percent) {
limit = (((query.data.length * query.limit) / 100) | 0) + offset;
limit = ((query.data.length * query.limit / 100) | 0) + offset;
} else {
limit = (query.limit | 0) + offset;
}
Expand Down Expand Up @@ -11996,7 +11986,7 @@ alasql.aggr.QUART = function(v, s, stage, nth) {

nth = !nth ? 1 : nth;
var r = s.sort();
var p = (nth * (r.length + 1)) / 4;
var p = nth * (r.length + 1) / 4;
if (Number.isInteger(p)) {
return r[p - 1]; //Integer value
}
Expand Down Expand Up @@ -13399,7 +13389,7 @@ stdfn.YEAR = function(d) {

var PERIODS = {
year: 1000 * 3600 * 24 * 365,
quarter: (1000 * 3600 * 24 * 365) / 4,
quarter: 1000 * 3600 * 24 * 365 / 4,
month: 1000 * 3600 * 24 * 30,
week: 1000 * 3600 * 24 * 7,
day: 1000 * 3600 * 24,
Expand Down Expand Up @@ -15915,7 +15905,7 @@ function scrollTo(element, to, duration) {
return;
}
var difference = to - element.scrollTop;
var perTick = (difference / duration) * 10;
var perTick = difference / duration * 10;

setTimeout(function() {
if (element.scrollTop === to) {
Expand Down Expand Up @@ -19622,7 +19612,7 @@ var saveAs =
: reader.result.replace(
/^data:[^;]*;/,
'data:attachment/file;'
);
);
var popup = view.open(url, '_blank');
if (!popup) view.location.href = url;
url = undefined; // release reference before dispatching
Expand Down
Loading

0 comments on commit 76eee0e

Please sign in to comment.