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

ng-jhipster

Package Overview
Dependencies
Maintainers
1
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ng-jhipster - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

.vscode/settings.json

9

index.js

@@ -27,3 +27,2 @@ "use strict";

var language_service_1 = require('./src/language/language.service');
var constants_1 = require('./src/constants');
var helper_1 = require('./src/helper');

@@ -62,10 +61,2 @@ var translate_partial_loader_1 = require('./src/language/translate-partial-loader');

NgJhipsterModule.forRoot = function (providedConfig) {
if (providedConfig === void 0) { providedConfig = {
sortIcon: constants_1.SORT_ICONS.icon,
sortAscIcon: constants_1.SORT_ICONS.ascIcon,
sortDescIcon: constants_1.SORT_ICONS.descIcon,
sortIconSelector: constants_1.SORT_ICONS.iconSelector,
defaultI18nLocation: constants_1.I18N.defaultLocation,
defaultI18nLang: constants_1.I18N.defaultLanguage
}; }
helper_1.ConfigHelper.setModuleConfigOptions(providedConfig);

@@ -72,0 +63,0 @@ return {

2

package.json

@@ -71,3 +71,3 @@ {

},
"version": "0.0.1"
"version": "0.0.2"
}
"use strict";
exports.SORT_ICONS = {
icon: 'fa-sort',
ascIcon: 'fa-sort-asc',
descIcon: 'fa-sort-desc',
iconSelector: 'span.fa'
exports.CONSTANTS = {
sortIcon: 'fa-sort',
sortAscIcon: 'fa-sort-asc',
sortDescIcon: 'fa-sort-desc',
sortIconSelector: 'span.fa',
defaultI18nLocation: 'global',
defaultI18nLang: 'en'
};
exports.I18N = {
defaultLocation: 'global',
defaultLanguage: 'en'
};

@@ -1,1 +0,1 @@

[{"__symbolic":"module","version":3,"metadata":{"SORT_ICONS":{"icon":"fa-sort","ascIcon":"fa-sort-asc","descIcon":"fa-sort-desc","iconSelector":"span.fa"},"I18N":{"defaultLocation":"global","defaultLanguage":"en"}}},{"__symbolic":"module","version":1,"metadata":{"SORT_ICONS":{"icon":"fa-sort","ascIcon":"fa-sort-asc","descIcon":"fa-sort-desc","iconSelector":"span.fa"},"I18N":{"defaultLocation":"global","defaultLanguage":"en"}}}]
[{"__symbolic":"module","version":3,"metadata":{"CONSTANTS":{"sortIcon":"fa-sort","sortAscIcon":"fa-sort-asc","sortDescIcon":"fa-sort-desc","sortIconSelector":"span.fa","defaultI18nLocation":"global","defaultI18nLang":"en"}}},{"__symbolic":"module","version":1,"metadata":{"CONSTANTS":{"sortIcon":"fa-sort","sortAscIcon":"fa-sort-asc","sortDescIcon":"fa-sort-desc","sortIconSelector":"span.fa","defaultI18nLocation":"global","defaultI18nLang":"en"}}}]
"use strict";
var constants_1 = require('./constants');
var CONFIG_OPTIONS;

@@ -7,2 +8,14 @@ var ConfigHelper = (function () {

ConfigHelper.setModuleConfigOptions = function (options) {
function setProperty(property) {
options[property] = options[property] ? options[property] : constants_1.CONSTANTS[property];
}
if (!options) {
options = {};
}
setProperty('sortIcon');
setProperty('sortAscIcon');
setProperty('sortDescIcon');
setProperty('sortIconSelector');
setProperty('defaultI18nLocation');
setProperty('defaultI18nLang');
CONFIG_OPTIONS = options;

@@ -9,0 +22,0 @@ };

@@ -1,1 +0,1 @@

[{"__symbolic":"module","version":3,"metadata":{"ConfigHelper":{"__symbolic":"class","statics":{"getConfig":{"__symbolic":"function","parameters":[],"value":{"__symbolic":"error","message":"Reference to a local symbol","line":2,"character":4,"context":{"name":"CONFIG_OPTIONS"}}}}}}},{"__symbolic":"module","version":1,"metadata":{"ConfigHelper":{"__symbolic":"class","statics":{"getConfig":{"__symbolic":"function","parameters":[],"value":{"__symbolic":"error","message":"Reference to a local symbol","line":2,"character":4,"context":{"name":"CONFIG_OPTIONS"}}}}}}}]
[{"__symbolic":"module","version":3,"metadata":{"ConfigHelper":{"__symbolic":"class","statics":{"getConfig":{"__symbolic":"function","parameters":[],"value":{"__symbolic":"error","message":"Reference to a local symbol","line":3,"character":4,"context":{"name":"CONFIG_OPTIONS"}}}}}}},{"__symbolic":"module","version":1,"metadata":{"ConfigHelper":{"__symbolic":"class","statics":{"getConfig":{"__symbolic":"function","parameters":[],"value":{"__symbolic":"error","message":"Reference to a local symbol","line":3,"character":4,"context":{"name":"CONFIG_OPTIONS"}}}}}}}]

@@ -10,2 +10,3 @@ "use strict";

this.suffix = suffix;
this.locations = [];
}

@@ -12,0 +13,0 @@ TranslatePartialLoader.prototype.setLocations = function (locations) {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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