typhonjs-escomplex-commons
Advanced tools
Comparing version 0.0.13 to 0.0.14
@@ -19,5 +19,5 @@ 'use strict'; | ||
cyclomatic: new _Trait2.default('cyclomatic', cyclomatic), | ||
operators: new _HalsteadArray2.default('operators', (0, _safeArray2.default)(operators)), | ||
operands: new _HalsteadArray2.default('operands', (0, _safeArray2.default)(operands)), | ||
ignoreKeys: new _Trait2.default('ignoreKeys', (0, _safeArray2.default)(ignoreKeys)), | ||
operators: new _HalsteadArray2.default('operators', _TraitUtil2.default.safeArray(operators)), | ||
operands: new _HalsteadArray2.default('operands', _TraitUtil2.default.safeArray(operands)), | ||
ignoreKeys: new _Trait2.default('ignoreKeys', _TraitUtil2.default.safeArray(ignoreKeys)), | ||
newScope: new _Trait2.default('newScope', newScope), | ||
@@ -36,5 +36,5 @@ dependencies: new _Trait2.default('dependencies', dependencies) | ||
var _safeArray = require('./safeArray'); | ||
var _TraitUtil = require('./TraitUtil'); | ||
var _safeArray2 = _interopRequireDefault(_safeArray); | ||
var _TraitUtil2 = _interopRequireDefault(_TraitUtil); | ||
@@ -41,0 +41,0 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } |
{ | ||
"name": "typhonjs-escomplex-commons", | ||
"version": "0.0.13", | ||
"version": "0.0.14", | ||
"homepage": "https://github.com/typhonjs-node-escomplex/typhonjs-escomplex-commons/", | ||
@@ -5,0 +5,0 @@ "description": "Provides core common utilities for typhonjs-escomplex modules and plugins.", |
import HalsteadArray from './HalsteadArray'; | ||
import Trait from './Trait'; | ||
import TraitUtil from './TraitUtil'; | ||
import safeArray from './safeArray'; | ||
/** | ||
@@ -25,5 +24,5 @@ * Provides a helper method to format core traits for escomplex processing. | ||
cyclomatic: new Trait('cyclomatic', cyclomatic), | ||
operators: new HalsteadArray('operators', safeArray(operators)), | ||
operands: new HalsteadArray('operands', safeArray(operands)), | ||
ignoreKeys: new Trait('ignoreKeys', safeArray(ignoreKeys)), | ||
operators: new HalsteadArray('operators', TraitUtil.safeArray(operators)), | ||
operands: new HalsteadArray('operands', TraitUtil.safeArray(operands)), | ||
ignoreKeys: new Trait('ignoreKeys', TraitUtil.safeArray(ignoreKeys)), | ||
newScope: new Trait('newScope', newScope), | ||
@@ -30,0 +29,0 @@ dependencies: new Trait('dependencies', dependencies) |
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
539649
102
12763