@malloydata/render 0.0.116-dev231225141229 → 0.0.116-dev231227024817

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,13 +21,9 @@
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
- };
27
24
  Object.defineProperty(exports, "__esModule", { value: true });
28
25
  exports.VegaRendererFactory = exports.HTMLVegaSpecRenderer = exports.isDataContainer = exports.vegaSpecs = exports.DEFAULT_SPEC = void 0;
29
26
  const chart_1 = require("./chart");
30
- const cloneDeep_1 = __importDefault(require("lodash/cloneDeep"));
31
27
  const utils_1 = require("./utils");
32
28
  const renderer_factory_1 = require("../renderer_factory");
33
29
  exports.DEFAULT_SPEC = {
@@ -525,7 +521,7 @@ class HTMLVegaSpecRenderer extends chart_1.HTMLChartRenderer {
525
521
  if (data.isNull() || !data.isArray()) {
526
522
  throw new Error('Expected struct value not to be null.');
527
523
  }
528
- const newSpec = (0, cloneDeep_1.default)(this.spec);
524
+ const newSpec = structuredClone(this.spec);
529
525
  this.translateFields(newSpec, data.field);
530
526
  const rdata = {
531
527
  values: this.mapData(data),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@malloydata/render",
3
- "version": "0.0.116-dev231225141229",
3
+ "version": "0.0.116-dev231227024817",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -24,7 +24,7 @@
24
24
  },
25
25
  "dependencies": {
26
26
  "@lit/context": "^1.1.0",
27
- "@malloydata/malloy": "^0.0.116-dev231225141229",
27
+ "@malloydata/malloy": "^0.0.116-dev231227024817",
28
28
  "@types/luxon": "^2.4.0",
29
29
  "lit": "^3.0.2",
30
30
  "lodash": "^4.17.20",