@dereekb/dbx-web 13.12.8 → 13.12.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1679,16 +1679,10 @@ function _unsupported_iterable_to_array(o, minLen) {
1679
1679
  var result = false;
1680
1680
  if ((callee === null || callee === void 0 ? void 0 : callee.type) === 'Identifier') {
1681
1681
  var name = callee.name;
1682
- if (ANGULAR_CORE_SIGNAL_FACTORIES.has(name) && isImportedFrom(imports, name, ANGULAR_CORE_MODULE)) {
1683
- result = true;
1684
- } else if (ANGULAR_CORE_RXJS_INTEROP_SIGNAL_FACTORIES.has(name) && isImportedFrom(imports, name, ANGULAR_CORE_RXJS_INTEROP_MODULE)) {
1685
- result = true;
1686
- }
1682
+ result = ANGULAR_CORE_SIGNAL_FACTORIES.has(name) && isImportedFrom(imports, name, ANGULAR_CORE_MODULE) || ANGULAR_CORE_RXJS_INTEROP_SIGNAL_FACTORIES.has(name) && isImportedFrom(imports, name, ANGULAR_CORE_RXJS_INTEROP_MODULE);
1687
1683
  } else if ((callee === null || callee === void 0 ? void 0 : callee.type) === 'MemberExpression' && callee.computed === false && ((_callee_object = callee.object) === null || _callee_object === void 0 ? void 0 : _callee_object.type) === 'Identifier' && ((_callee_property = callee.property) === null || _callee_property === void 0 ? void 0 : _callee_property.type) === 'Identifier' && callee.property.name === 'required') {
1688
1684
  var rootName = callee.object.name;
1689
- if (ANGULAR_CORE_REQUIRED_FACTORIES.has(rootName) && isImportedFrom(imports, rootName, ANGULAR_CORE_MODULE)) {
1690
- result = true;
1691
- }
1685
+ result = ANGULAR_CORE_REQUIRED_FACTORIES.has(rootName) && isImportedFrom(imports, rootName, ANGULAR_CORE_MODULE);
1692
1686
  }
1693
1687
  return result;
1694
1688
  }
@@ -1924,10 +1918,6 @@ function _unsupported_iterable_to_array(o, minLen) {
1924
1918
  */ function walkChildren(node, conditional, state) {
1925
1919
  switch(node.type){
1926
1920
  case 'IfStatement':
1927
- walk(node.test, conditional, state);
1928
- walk(node.consequent, true, state);
1929
- walk(node.alternate, true, state);
1930
- break;
1931
1921
  case 'ConditionalExpression':
1932
1922
  walk(node.test, conditional, state);
1933
1923
  walk(node.consequent, true, state);
@@ -1677,16 +1677,10 @@ function _unsupported_iterable_to_array(o, minLen) {
1677
1677
  var result = false;
1678
1678
  if ((callee === null || callee === void 0 ? void 0 : callee.type) === 'Identifier') {
1679
1679
  var name = callee.name;
1680
- if (ANGULAR_CORE_SIGNAL_FACTORIES.has(name) && isImportedFrom(imports, name, ANGULAR_CORE_MODULE)) {
1681
- result = true;
1682
- } else if (ANGULAR_CORE_RXJS_INTEROP_SIGNAL_FACTORIES.has(name) && isImportedFrom(imports, name, ANGULAR_CORE_RXJS_INTEROP_MODULE)) {
1683
- result = true;
1684
- }
1680
+ result = ANGULAR_CORE_SIGNAL_FACTORIES.has(name) && isImportedFrom(imports, name, ANGULAR_CORE_MODULE) || ANGULAR_CORE_RXJS_INTEROP_SIGNAL_FACTORIES.has(name) && isImportedFrom(imports, name, ANGULAR_CORE_RXJS_INTEROP_MODULE);
1685
1681
  } else if ((callee === null || callee === void 0 ? void 0 : callee.type) === 'MemberExpression' && callee.computed === false && ((_callee_object = callee.object) === null || _callee_object === void 0 ? void 0 : _callee_object.type) === 'Identifier' && ((_callee_property = callee.property) === null || _callee_property === void 0 ? void 0 : _callee_property.type) === 'Identifier' && callee.property.name === 'required') {
1686
1682
  var rootName = callee.object.name;
1687
- if (ANGULAR_CORE_REQUIRED_FACTORIES.has(rootName) && isImportedFrom(imports, rootName, ANGULAR_CORE_MODULE)) {
1688
- result = true;
1689
- }
1683
+ result = ANGULAR_CORE_REQUIRED_FACTORIES.has(rootName) && isImportedFrom(imports, rootName, ANGULAR_CORE_MODULE);
1690
1684
  }
1691
1685
  return result;
1692
1686
  }
@@ -1922,10 +1916,6 @@ function _unsupported_iterable_to_array(o, minLen) {
1922
1916
  */ function walkChildren(node, conditional, state) {
1923
1917
  switch(node.type){
1924
1918
  case 'IfStatement':
1925
- walk(node.test, conditional, state);
1926
- walk(node.consequent, true, state);
1927
- walk(node.alternate, true, state);
1928
- break;
1929
1919
  case 'ConditionalExpression':
1930
1920
  walk(node.test, conditional, state);
1931
1921
  walk(node.consequent, true, state);
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@dereekb/dbx-web/eslint",
3
- "version": "13.12.8",
3
+ "version": "13.12.9",
4
4
  "peerDependencies": {
5
- "@dereekb/util": "13.12.8",
5
+ "@dereekb/util": "13.12.9",
6
6
  "@typescript-eslint/utils": "8.59.3"
7
7
  },
8
8
  "devDependencies": {
9
9
  "@angular/core": "21.2.11",
10
- "@dereekb/dbx-core": "13.12.8",
11
- "@dereekb/rxjs": "13.12.8",
10
+ "@dereekb/dbx-core": "13.12.9",
11
+ "@dereekb/rxjs": "13.12.9",
12
12
  "@typescript-eslint/parser": "8.59.3",
13
13
  "eslint": "10.4.0",
14
14
  "rxjs": "^7.8.2"
@@ -8768,9 +8768,9 @@ function injectCopyToClipboardFunctionWithSnackbarMessage(config) {
8768
8768
  const _setSnackbarMessagesConfig = (config) => {
8769
8769
  if (config != null) {
8770
8770
  const { successMessage: inputSuccessMessage, failureMessage: inputFailureMessage, snackbarDuration: inputSnackbarDuration } = config;
8771
- successMessage = (inputSuccessMessage === undefined ? successMessage : inputSuccessMessage) ?? DEFAULT_SUCCESS_MESSAGE;
8772
- failureMessage = (inputFailureMessage === undefined ? failureMessage : inputFailureMessage) ?? DEFAULT_FAILURE_MESSAGE;
8773
- snackbarDuration = (inputSnackbarDuration === undefined ? snackbarDuration : inputSnackbarDuration) ?? DEFAULT_SNACKBAR_DURATION;
8771
+ successMessage = inputSuccessMessage ?? successMessage ?? DEFAULT_SUCCESS_MESSAGE;
8772
+ failureMessage = inputFailureMessage ?? failureMessage ?? DEFAULT_FAILURE_MESSAGE;
8773
+ snackbarDuration = inputSnackbarDuration ?? snackbarDuration ?? DEFAULT_SNACKBAR_DURATION;
8774
8774
  }
8775
8775
  };
8776
8776
  if (config) {