Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@dataform/core

Package Overview
Dependencies
Maintainers
1
Versions
249
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dataform/core - npm Package Compare versions

Comparing version 0.0.2-alpha.28 to 0.0.2-alpha.29

2

build/adapters/bigquery.js

@@ -23,3 +23,3 @@ "use strict";

else {
tasks.add(tasks_1.Task.statement(this.insertInto(m.target, m.parsedColumns, this.where(m.query, m.where))));
tasks.add(tasks_1.Task.statement(this.insertInto(m.target, Object.keys(m.descriptor), this.where(m.query, m.where))));
}

@@ -26,0 +26,0 @@ }

@@ -22,3 +22,3 @@ "use strict";

else {
tasks.add(tasks_1.Task.statement(this.insertInto(m.target, m.parsedColumns, this.where(m.query, m.where))));
tasks.add(tasks_1.Task.statement(this.insertInto(m.target, Object.keys(m.descriptor), this.where(m.query, m.where))));
}

@@ -25,0 +25,0 @@ }

@@ -9,4 +9,3 @@ import * as protos from "@dataform/protos";

import * as tasks from "./tasks";
import * as parser from "./parser";
export { adapters, utils, parser, tasks, Dataform, Materialization, MaterializationContext, MConfig, Operation, Assertion };
export { adapters, utils, tasks, Dataform, Materialization, MaterializationContext, MConfig, Operation, Assertion };
export declare const singleton: Dataform;

@@ -13,0 +12,0 @@ export declare const materialize: (name: string, queryOrConfig?: string | MConfig | ((ctx: MaterializationContext) => string)) => Materialization;

@@ -18,4 +18,2 @@ "use strict";

exports.tasks = tasks;
const parser = require("./parser");
exports.parser = parser;
if (require.extensions) {

@@ -22,0 +20,0 @@ require.extensions[".sql"] = function (module, file) {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const protos = require("@dataform/protos");
const parser = require("./parser");
class Materialization {

@@ -103,8 +102,2 @@ constructor() {

this.contextablePostOps = [];
try {
var tree = parser.parse(this.proto.query, {});
this.proto.parsedColumns = tree.statement[0].result.map(res => res.alias).map(column => column || "*");
}
catch (e) {
}
return this.proto;

@@ -111,0 +104,0 @@ }

{
"name": "@dataform/core",
"version": "0.0.2-alpha.28",
"version": "0.0.2-alpha.29",
"description": "Dataform core API.",

@@ -8,3 +8,3 @@ "main": "build/index.js",

"dependencies": {
"@dataform/protos": "^0.0.2-alpha.28",
"@dataform/protos": "^0.0.2-alpha.29",
"protobufjs": "^6.8.8"

@@ -15,3 +15,3 @@ },

},
"gitHead": "048c955795c1c47c29d12aac5ee9e8a60c02f6de"
"gitHead": "4ceddcbdffed7d7b86bbf3cb486e29556b5b00aa"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc