jhipster-core
Advanced tools
Comparing version 1.1.7 to 1.1.8
@@ -6,2 +6,3 @@ 'use strict'; | ||
mysql: 'mysql', | ||
mariadb: 'mariadb', | ||
postgresql: 'postgresql', | ||
@@ -14,3 +15,3 @@ oracle: 'oracle', | ||
function isSql(type) { | ||
return TYPES.sql === type || TYPES.mysql === type || TYPES.postgresql === type || TYPES.oracle === type; | ||
return TYPES.sql === type || TYPES.mysql === type || TYPES.postgresql === type || TYPES.oracle === type || TYPES.mariadb === type; | ||
} | ||
@@ -17,0 +18,0 @@ module.exports = { |
@@ -142,2 +142,3 @@ 'use strict'; | ||
case DatabaseTypes.mysql: | ||
case DatabaseTypes.mariadb: | ||
case DatabaseTypes.postgresql: | ||
@@ -157,3 +158,3 @@ case DatabaseTypes.oracle: | ||
exceptions.IllegalArgument, | ||
"The passed database type must either be 'sql', 'mysql', 'postgresql', 'oracle', 'mongodb', or 'cassandra'"); | ||
"The passed database type must either be 'sql', 'mysql', 'mariadb', 'postgresql', 'oracle', 'mongodb', or 'cassandra'"); | ||
} | ||
@@ -160,0 +161,0 @@ return isType; |
@@ -159,2 +159,5 @@ 'use strict'; | ||
fieldData.fieldTypeBlobContent = 'any'; | ||
} else if (fieldData.fieldType === 'TextBlob') { | ||
fieldData.fieldType = 'byte[]'; | ||
fieldData.fieldTypeBlobContent = 'text'; | ||
} | ||
@@ -161,0 +164,0 @@ setValidationsOfField(jdlField, fieldData); |
{ | ||
"name": "jhipster-core", | ||
"version": "1.1.7", | ||
"version": "1.1.8", | ||
"description": "JHipster's own domain language and core objects", | ||
@@ -35,9 +35,9 @@ "main": "module/index.js", | ||
"dependencies": { | ||
"lodash": "4.14.2" | ||
"lodash": "4.15.0" | ||
}, | ||
"devDependencies": { | ||
"pegjs": "0.9.0", | ||
"pegjs": "0.10.0", | ||
"mocha": "3.0.2", | ||
"chai": "3.5.0", | ||
"istanbul": "0.4.4" | ||
"istanbul": "0.4.5" | ||
}, | ||
@@ -44,0 +44,0 @@ "peerDependencies": {}, |
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
407185
10860
+ Addedlodash@4.15.0(transitive)
- Removedlodash@4.14.2(transitive)
Updatedlodash@4.15.0