Skip to content

Commit

Permalink
4.0.1; consolidate requires
Browse files Browse the repository at this point in the history
  • Loading branch information
mbostock committed Jul 2, 2021
1 parent cd5d3ec commit 3c8561c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/arrow.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export default async function arrow(require) {
return await require("apache-arrow@4.0.0/Arrow.es2015.min.js");
return await require("apache-arrow@4.0.1/Arrow.es2015.min.js");
}
3 changes: 2 additions & 1 deletion src/library.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import {require as requireDefault} from "d3-require";
import arrow from "./arrow.js";
import DOM from "./dom/index.js";
import Files from "./files/index.js";
import {NoFileAttachments} from "./fileAttachment.js";
Expand All @@ -20,7 +21,7 @@ export default Object.assign(function Library(resolver) {
const require = requirer(resolver);
Object.defineProperties(this, properties({
FileAttachment: () => NoFileAttachments,
Arrow: () => require("apache-arrow@4.0.0/Arrow.es2015.min.js"),
Arrow: () => arrow(require),
Inputs: () => require("@observablehq/inputs@0.8.0/dist/inputs.umd.min.js"),
Mutable: () => Mutable,
Plot: () => require("@observablehq/plot@0.1.0/dist/plot.umd.min.js"),
Expand Down

0 comments on commit 3c8561c

Please sign in to comment.