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

jhipster-core

Package Overview
Dependencies
Maintainers
2
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jhipster-core - npm Package Compare versions

Comparing version 1.1.7 to 1.1.8

3

lib/core/jhipster/database_types.js

@@ -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": {},

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