@mapbox/cloudfriend
Advanced tools
Comparing version 5.0.0 to 5.0.1
# Changelog | ||
## v5.0.1 | ||
- Improves data type mappings between Glue and Presto when using the `GluePrestoView` shortcut. | ||
## v5.0.0 | ||
@@ -4,0 +7,0 @@ - The Lambda shortcuts now use `nodejs12.x` as the default runtime. |
@@ -39,3 +39,19 @@ 'use strict'; | ||
name: c.Name, | ||
type: c.Type.replace(/string/g, 'varchar') | ||
type: c.Type | ||
.replace(/:string/g, ':varchar') | ||
.replace(/^string/g, 'varchar') | ||
.replace(/<string/g, '(varchar') | ||
.replace(/, ?string/g, ',varchar') | ||
.replace(/:int/g, ':integer') | ||
.replace(/^int/g, 'integer') | ||
.replace(/<int/g, '(integer') | ||
.replace(/, ?int/g, ',integer') | ||
.replace(/:float/g, ':real') | ||
.replace(/^float/g, 'real') | ||
.replace(/<float/g, '(real') | ||
.replace(/, ?float/g, ',real') | ||
.replace(/struct/g, 'row') | ||
.replace(/</g, '(') | ||
.replace(/>/g, ')') | ||
.replace(/:/g, ' ') | ||
})); | ||
@@ -42,0 +58,0 @@ |
{ | ||
"name": "@mapbox/cloudfriend", | ||
"version": "5.0.0", | ||
"version": "5.0.1", | ||
"description": "Helper functions for assembling CloudFormation templates in JavaScript", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
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
471944
12981