@malloydata/render 0.0.22-dev230208210335 → 0.0.22

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.
@@ -21,10 +21,13 @@
21
21
  * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22
22
  * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23
23
  */
24
+ var __importDefault = (this && this.__importDefault) || function (mod) {
25
+ return (mod && mod.__esModule) ? mod : { "default": mod };
26
+ };
24
27
  Object.defineProperty(exports, "__esModule", { value: true });
25
28
  exports.HTMLVegaSpecRenderer = exports.isDataContainer = exports.vegaSpecs = exports.DEFAULT_SPEC = void 0;
26
29
  const chart_1 = require("./chart");
27
- const lodash_1 = require("lodash");
30
+ const cloneDeep_1 = __importDefault(require("lodash/cloneDeep"));
28
31
  const utils_1 = require("./utils");
29
32
  exports.DEFAULT_SPEC = {
30
33
  "$schema": "https://vega.github.io/schema/vega-lite/v5.json",
@@ -496,7 +499,7 @@ class HTMLVegaSpecRenderer extends chart_1.HTMLChartRenderer {
496
499
  if (data.isNull() || !data.isArray()) {
497
500
  throw new Error("Expected struct value not to be null.");
498
501
  }
499
- const newSpec = (0, lodash_1.cloneDeep)(this.spec);
502
+ const newSpec = (0, cloneDeep_1.default)(this.spec);
500
503
  this.translateFields(newSpec, data.field);
501
504
  const rdata = {
502
505
  "values": this.mapData(data)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@malloydata/render",
3
- "version": "0.0.22-dev230208210335",
3
+ "version": "0.0.22",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -18,7 +18,7 @@
18
18
  "prepublishOnly": "npm run build"
19
19
  },
20
20
  "dependencies": {
21
- "@malloydata/malloy": "^0.0.22-dev230208210335",
21
+ "@malloydata/malloy": "^0.0.22",
22
22
  "us-atlas": "^3.0.0",
23
23
  "vega": "^5.21.0",
24
24
  "vega-lite": "^5.2.0"