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.2.7 to 1.2.8

4

lib/core/jhipster/reserved_keywords.js

@@ -9,2 +9,3 @@ 'use strict';

JAVA: ['ABSTRACT', 'CONTINUE', 'FOR', 'NEW', 'SWITCH', 'ASSERT', 'DEFAULT', 'GOTO', 'PACKAGE', 'SYNCHRONIZED', 'BOOLEAN', 'DO', 'IF', 'PRIVATE', 'THIS', 'BREAK', 'DOUBLE', 'IMPLEMENTS', 'PROTECTED', 'THROW', 'BYTE', 'ELSE', 'IMPORT', 'PUBLIC', 'THROWS', 'CASE', 'ENUM', 'INSTANCEOF', 'RETURN', 'TRANSIENT', 'CATCH', 'EXTENDS', 'INT', 'SHORT', 'TRY', 'CHAR', 'FINAL', 'INTERFACE', 'STATIC', 'VOID', 'CLASS', 'FINALLY', 'LONG', 'STRICTFP', 'VOLATILE', 'CONST', 'FLOAT', 'NATIVE', 'SUPER', 'WHILE'],
TYPESCRIPT: ['BREAK', 'CASE', 'CATCH', 'CLASS', 'CONST', 'CONSTRUCTOR', 'CONTINUE', 'DEBUGGER', 'DEFAULT', 'DELETE', 'DO', 'ELSE', 'ENUM', 'EXPORT', 'EXTENDS', 'FALSE', 'FINALLY', 'FOR', 'FUNCTION', 'IF', 'IMPORT', 'IN', 'INSTANCEOF', 'NEW', 'NULL', 'RETURN', 'SUPER', 'SWITCH', 'THIS', 'THROW', 'TRUE', 'TRY', 'TYPEOF', 'VAR', 'VOID', 'WHILE', 'WITH', 'IMPLEMENTS', 'INTERFACE', 'LET', 'PACKAGE', 'PRIVATE', 'PROTECTED', 'PUBLIC', 'STATIC', 'YIELD'],
MYSQL: MYSQL_RESERVED_WORDS,

@@ -35,3 +36,3 @@ MARIADB: MYSQL_RESERVED_WORDS,

function isReservedFieldName(keyword, databaseType) {
return isReserved(keyword, 'ANGULAR') || isReserved(keyword, 'JAVA') || isReservedTableName(keyword, databaseType);
return isReserved(keyword, 'ANGULAR') || isReserved(keyword, 'TYPESCRIPT') || isReserved(keyword, 'JAVA') || isReservedTableName(keyword, databaseType);
}

@@ -47,2 +48,3 @@

JAVA: RESERVED_WORDS.JAVA,
TYPESCRIPT: RESERVED_WORDS.TYPESCRIPT,
MYSQL: RESERVED_WORDS.MYSQL,

@@ -49,0 +51,0 @@ POSTGRESQL: RESERVED_WORDS.POSTGRESQL,

{
"name": "jhipster-core",
"version": "1.2.7",
"version": "1.2.8",
"description": "JHipster's own domain language and core objects",

@@ -11,8 +11,8 @@ "main": "module/index.js",

"scripts": {
"lint": "./node_modules/eslint/bin/eslint.js .",
"lint-fix": "./node_modules/eslint/bin/eslint.js . --fix",
"lint": "eslint .",
"lint-fix": "eslint.js . --fix",
"check-dependencies": "node ./scripts/check_dependencies.js",
"test": "./node_modules/mocha/bin/mocha test",
"coverage": "./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha test -- -t 5000",
"peg-parse": "./node_modules/pegjs/bin/pegjs -o lib/dsl/pegjs_parser.js lib/dsl/grammar.txt"
"test": "mocha test",
"coverage": "istanbul cover ./node_modules/mocha/bin/_mocha test --",
"peg-parse": "pegjs -o lib/dsl/pegjs_parser.js lib/dsl/grammar.txt"
},

@@ -39,7 +39,7 @@ "homepage": "https://github.com/jhipster/jhipster-core#readme",

"dependencies": {
"lodash": "4.17.2"
"lodash": "4.17.4"
},
"devDependencies": {
"chai": "3.5.0",
"eslint": "3.14.1",
"eslint": "3.15.0",
"istanbul": "0.4.5",

@@ -52,5 +52,5 @@ "mocha": "3.2.0",

"engines": {
"node": ">=4.0.0",
"node": ">=6.9.5",
"npm": ">=2.14.2"
}
}

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