@uwdata/mosaic-duckdb 0.6.0 → 0.8.0

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.
Files changed (3) hide show
  1. package/LICENSE +19 -0
  2. package/package.json +5 -5
  3. package/src/Cache.js +1 -1
package/LICENSE CHANGED
@@ -26,3 +26,22 @@ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
26
26
  CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
27
27
  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28
28
  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29
+
30
+ ---
31
+
32
+ Portions of this software are derived from Observable Plot, which is released
33
+ under the ISC license.
34
+
35
+ Copyright 2020-2023 Observable, Inc.
36
+
37
+ Permission to use, copy, modify, and/or distribute this software for any purpose
38
+ with or without fee is hereby granted, provided that the above copyright notice
39
+ and this permission notice appear in all copies.
40
+
41
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
42
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
43
+ FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
44
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
45
+ OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
46
+ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
47
+ THIS SOFTWARE.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uwdata/mosaic-duckdb",
3
- "version": "0.6.0",
3
+ "version": "0.8.0",
4
4
  "description": "A Promise-based DuckDB API and Node.js data server.",
5
5
  "keywords": [
6
6
  "duckdb",
@@ -24,14 +24,14 @@
24
24
  "to-parquet": "./bin/to-parquet.js"
25
25
  },
26
26
  "scripts": {
27
- "lint": "eslint src test --ext .js",
27
+ "lint": "eslint src test",
28
28
  "server": "node bin/run-server.js",
29
29
  "test": "mocha 'test/**/*-test.js'",
30
30
  "prepublishOnly": "npm run test && npm run lint"
31
31
  },
32
32
  "dependencies": {
33
- "duckdb": "~0.10.0",
34
- "ws": "^8.16.0"
33
+ "duckdb": "~0.10.2",
34
+ "ws": "^8.17.0"
35
35
  },
36
- "gitHead": "51517b28e916e355f4ce0dc6e98aef3a1db3f7b2"
36
+ "gitHead": "a24b4c9f7dfa1c38c6af96ec17e075326c1af9b0"
37
37
  }
package/src/Cache.js CHANGED
@@ -93,7 +93,7 @@ async function readEntries(dir, cache) {
93
93
  let files;
94
94
  try {
95
95
  files = await fs.readdir(dir);
96
- } catch (err) {
96
+ } catch (err) { // eslint-disable-line no-unused-vars
97
97
  return; // dir does not exist, nothing to do
98
98
  }
99
99
  await Promise.allSettled(files.map(async file => {