@dataform/crossdb
Advanced tools
Comparing version 0.1.0 to 1.0.0-alpha
@@ -7,3 +7,3 @@ (function (factory) { | ||
else if (typeof define === "function" && define.amd) { | ||
define("@dataform/crossdb", ["require", "exports", "@dataform/core"], factory); | ||
define("@dataform/crossdb", ["require", "exports"], factory); | ||
} | ||
@@ -13,3 +13,2 @@ })(function (require, exports) { | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const core_1 = require("@dataform/core"); | ||
function currentTimestampUTC(warehouse) { | ||
@@ -20,6 +19,6 @@ return { | ||
snowflake: "convert_timezone('UTC', current_timestamp())::timestamp" | ||
}[warehouse || core_1.session.config.warehouse]; | ||
}[warehouse || global.session.config.warehouse]; | ||
} | ||
exports.currentTimestampUTC = currentTimestampUTC; | ||
}); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9jcm9zc2RiL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7O0lBQUEseUNBQXlDO0lBRXpDLFNBQWdCLG1CQUFtQixDQUFDLFNBQWtCO1FBQ3BELE9BQVE7WUFDTixRQUFRLEVBQUUscUJBQXFCO1lBQy9CLFFBQVEsRUFBRSw4QkFBOEI7WUFDeEMsU0FBUyxFQUFFLHlEQUF5RDtTQUN2QyxDQUFDLFNBQVMsSUFBSSxjQUFPLENBQUMsTUFBTSxDQUFDLFNBQVMsQ0FBQyxDQUFDO0lBQ3pFLENBQUM7SUFORCxrREFNQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IHNlc3Npb24gfSBmcm9tIFwiQGRhdGFmb3JtL2NvcmVcIjtcblxuZXhwb3J0IGZ1bmN0aW9uIGN1cnJlbnRUaW1lc3RhbXBVVEMod2FyZWhvdXNlPzogc3RyaW5nKTogc3RyaW5nIHtcbiAgcmV0dXJuICh7X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1VUQycsIGN1cnJlbnRfdGltZXN0YW1wKCkpOjp0aW1lc3RhbXBcIlxuICB9IGFzIHsgW2tleTogc3RyaW5nXTogc3RyaW5nIH0pW3dhcmVob3VzZSB8fCAoZ2xvYmFsIGFzIGFueSkuc2Vzc2lvbi5jb25maWcud2FyZWhvdXNlXTtcbn1cbiJdfQ== |
{ | ||
"name": "@dataform/crossdb", | ||
"version": "0.1.0", | ||
"description": "Cross database utilities for dataform.", | ||
"dependencies": { | ||
"@dataform/core": "^0.1.0" | ||
}, | ||
"main": "index.js", | ||
"types": "index.d.ts", | ||
"publishConfig": { | ||
"access": "public" | ||
} | ||
} | ||
"name": "@dataform/crossdb", | ||
"version": "1.0.0-alpha", | ||
"description": "Cross database utilities for dataform.", | ||
"dependencies": { | ||
"@dataform/core": "^0.1.0" | ||
}, | ||
"main": "index.js", | ||
"types": "index.d.ts", | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"homepage": "https://github.com/dataform-co/dataform", | ||
"license": "MIT", | ||
"keywords": [ | ||
"dataform", | ||
"etl", | ||
"data-pipeline", | ||
"big-data", | ||
"data-modelling", | ||
"sql", | ||
"bigquery", | ||
"redshift", | ||
"dataops" | ||
] | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No License Found
License(Experimental) License information could not be found.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
2476
0
1
22
1