alasql 2.5.0 → 2.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "alasql",
3
3
  "description": "Use SQL to select and filter javascript data - including relational joins and search in nested objects (JSON). Export to and import from Excel and CSV",
4
- "version": "2.5.0",
4
+ "version": "2.5.2",
5
5
  "author": "Andrey Gershun <agershun@gmail.com>",
6
6
  "contributors": [
7
7
  "Mathias Wulff <m@rawu.dk>"
@@ -59,6 +59,7 @@
59
59
  "eslint": "^8.30.0",
60
60
  "eslint-config-standard": "^17.0.0",
61
61
  "eslint-plugin-import": "^2.26.0",
62
+ "eslint-plugin-n": "^15.6.0",
62
63
  "eslint-plugin-node": "^11.1.0",
63
64
  "eslint-plugin-promise": "^6.1.1",
64
65
  "eslint-plugin-standard": "^5.0.0",
@@ -76,7 +77,7 @@
76
77
  "mocha": "10.2.0",
77
78
  "mocha.parallel": "0.15.6",
78
79
  "open": "8.4.0",
79
- "prettier": "2.8.1",
80
+ "prettier": "2.8.3",
80
81
  "strftime": "0.10.1",
81
82
  "tabletop": "1.6.3",
82
83
  "uglify-js": "3.17.4"
@@ -84,25 +85,26 @@
84
85
  "resolutions": {
85
86
  "got": "^12.0.0",
86
87
  "axios": "^1.0.0",
88
+ "json5": "^2.2.2",
87
89
  "marked": "^4.0.10",
88
90
  "underscore": "^1.12.1",
89
91
  "glob-parent": "^6.0.0",
90
92
  "decode-uri-component": "^0.2.1"
91
93
  },
92
94
  "engines": {
93
- "node": "*"
95
+ "node": ">=15"
94
96
  },
95
97
  "repository": {
96
98
  "type": "git",
97
- "url": "http://github.com/agershun/alasql.git"
99
+ "url": "http://github.com/alasql/alasql.git"
98
100
  },
99
101
  "bugs": {
100
- "url": "https://github.com/agershun/alasql/issues"
102
+ "url": "https://github.com/alasql/alasql/issues"
101
103
  },
102
104
  "bin": {
103
105
  "alasql": "./bin/alasql-cli.js"
104
106
  },
105
- "homepage": "https://github.com/agershun/alasql",
107
+ "homepage": "https://github.com/alasql/alasql",
106
108
  "keywords": [
107
109
  "SQL",
108
110
  "javascript",
package/types/alasql.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // Project: https://github.com/agershun/alasql
1
+ // Project: https://github.com/alasql/alasql
2
2
 
3
3
  import * as xlsx from 'xlsx';
4
4
 
@@ -56,14 +56,14 @@ declare namespace alaSQLSpace {
56
56
  catch<U>(onRejected?: (error: any) => U | Thenable<U>): Thenable<U>;
57
57
  }
58
58
 
59
- // see https://github.com/agershun/alasql/wiki/User%20Defined%20Functions
59
+ // see https://github.com/alasql/alasql/wiki/User%20Defined%20Functions
60
60
  interface userDefinedFunction {
61
61
  (...x: any[]): any;
62
62
  }
63
63
  interface userDefinedFunctionLookUp {
64
64
  [x: string]: userDefinedFunction;
65
65
  }
66
- // see https://github.com/agershun/alasql/wiki/User%20Defined%20Functions
66
+ // see https://github.com/alasql/alasql/wiki/User%20Defined%20Functions
67
67
  interface userAggregator {
68
68
  (value: any, accumulator: any, stage: number): any;
69
69
  }
package/.editorconfig DELETED
@@ -1,11 +0,0 @@
1
- ; EditorConfig file: https://EditorConfig.org
2
- ; Install the "EditorConfig" plugin into your editor to use
3
-
4
- root = true
5
-
6
- [*]
7
- charset = utf-8
8
- end_of_line = lf
9
- insert_final_newline = true
10
- indent_style = tab
11
- trim_trailing_whitespace = true
package/.eslintignore DELETED
@@ -1,2 +0,0 @@
1
- **/*.min.js
2
- src/alasqlparser.js