@explorable-viz/fluid 0.7.86 → 0.7.87

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.
@@ -56243,14 +56243,14 @@ var require_ip = __commonJS({
56243
56243
  const interfaces = os_1.default.networkInterfaces();
56244
56244
  const family = normalizeFamily();
56245
56245
  const all3 = Object.values(interfaces).map((addrs = []) => {
56246
- const addresses = addrs.filter((details) => {
56246
+ const addresses2 = addrs.filter((details) => {
56247
56247
  const detailsFamily = normalizeFamily(details.family);
56248
56248
  if (detailsFamily !== family || exports.ip.isLoopback(details.address)) {
56249
56249
  return false;
56250
56250
  }
56251
56251
  return true;
56252
56252
  });
56253
- return addresses.length ? addresses[0].address : void 0;
56253
+ return addresses2.length ? addresses2[0].address : void 0;
56254
56254
  }).filter(Boolean);
56255
56255
  return !all3.length ? exports.ip.loopback(family) : all3[0];
56256
56256
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@explorable-viz/fluid",
3
- "version": "0.7.86",
3
+ "version": "0.7.87",
4
4
  "description": "Fluid is an experimental programming language which integrates a bidirectional dynamic analysis to connect outputs to data sources in a fine-grained way. Fluid is implemented in PureScript and runs in the browser.",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -3,10 +3,10 @@ set -xeu
3
3
 
4
4
  PREFIX=""
5
5
 
6
- while getopts "w:r" opt; do
6
+ while getopts "w:l" opt; do
7
7
  case $opt in
8
8
  w) WEBSITE="$OPTARG";;
9
- r) PREFIX=node_modules/@explorable-viz/fluid;;
9
+ l) PREFIX=node_modules/@explorable-viz/fluid;;
10
10
  esac
11
11
  done
12
12