Skip to content
Permalink
Browse files

Chore: Simplify path to utils

  • Loading branch information
sarvaje committed Nov 5, 2019
1 parent c177cc9 commit be6b5025a83ac2501baa9b33a5535c8056bd428b
Showing with 148 additions and 187 deletions.
  1. +1 βˆ’1 packages/extension-browser/src/content-script/fetcher.ts
  2. +1 βˆ’2 packages/extension-browser/src/content-script/formatter.ts
  3. +1 βˆ’1 packages/extension-browser/src/devtools/utils/categories.ts
  4. +1 βˆ’1 packages/extension-browser/src/devtools/views/controls/feedback-link.tsx
  5. +1 βˆ’1 packages/extension-browser/src/devtools/views/pages/config/sections/categories.tsx
  6. +2 βˆ’2 packages/extension-browser/src/devtools/views/pages/results/category-summary.tsx
  7. +1 βˆ’1 packages/extension-browser/src/devtools/views/pages/results/category.tsx
  8. +1 βˆ’2 packages/extension-browser/src/devtools/views/pages/results/hint.tsx
  9. +1 βˆ’1 packages/extension-browser/src/devtools/views/pages/results/message-group.tsx
  10. +1 βˆ’1 packages/extension-browser/src/devtools/views/pages/results/problem.tsx
  11. +1 βˆ’1 packages/extension-browser/src/shared/headers.ts
  12. +1 βˆ’2 packages/extension-browser/src/shared/types.ts
  13. +1 βˆ’1 packages/extension-browser/src/shims/get-message.ts
  14. +1 βˆ’1 packages/extension-browser/tests/content-script.ts
  15. +1 βˆ’2 packages/extension-browser/webpack.config.js
  16. +1 βˆ’2 packages/hint-apple-touch-icons/src/hint.ts
  17. +1 βˆ’1 packages/hint-axe/scripts/create/create-metas.js
  18. +1 βˆ’1 packages/hint-axe/src/meta/aria.ts
  19. +1 βˆ’1 packages/hint-axe/src/meta/color.ts
  20. +1 βˆ’1 packages/hint-axe/src/meta/forms.ts
  21. +1 βˆ’1 packages/hint-axe/src/meta/keyboard.ts
  22. +1 βˆ’1 packages/hint-axe/src/meta/language.ts
  23. +1 βˆ’1 packages/hint-axe/src/meta/name-role-value.ts
  24. +1 βˆ’1 packages/hint-axe/src/meta/other.ts
  25. +1 βˆ’1 packages/hint-axe/src/meta/parsing.ts
  26. +1 βˆ’1 packages/hint-axe/src/meta/semantics.ts
  27. +1 βˆ’1 packages/hint-axe/src/meta/sensory-and-visual-cues.ts
  28. +1 βˆ’1 packages/hint-axe/src/meta/structure.ts
  29. +1 βˆ’1 packages/hint-axe/src/meta/tables.ts
  30. +1 βˆ’1 packages/hint-axe/src/meta/text-alternatives.ts
  31. +1 βˆ’1 packages/hint-axe/src/meta/time-and-media.ts
  32. +3 βˆ’4 packages/hint-axe/src/util/axe.ts
  33. +1 βˆ’1 packages/hint-button-type/src/meta.ts
  34. +1 βˆ’2 packages/hint-compat-api/src/html.ts
  35. +1 βˆ’1 packages/hint-compat-api/src/meta/css.ts
  36. +2 βˆ’3 packages/hint-content-type/src/hint.ts
  37. +1 βˆ’1 packages/hint-content-type/src/meta.ts
  38. +1 βˆ’1 packages/hint-create-element-svg/src/meta.ts
  39. +1 βˆ’2 packages/hint-css-prefix-order/src/hint.ts
  40. +1 βˆ’1 packages/hint-css-prefix-order/src/meta.ts
  41. +3 βˆ’5 packages/hint-disown-opener/src/hint.ts
  42. +4 βˆ’5 packages/hint-highest-available-document-mode/src/hint.ts
  43. +1 βˆ’1 packages/hint-highest-available-document-mode/src/meta.ts
  44. +1 βˆ’2 packages/hint-http-cache/src/hint.ts
  45. +1 βˆ’1 packages/hint-http-cache/src/meta.ts
  46. +1 βˆ’1 packages/hint-image-optimization-cloudinary/src/cloudinary-types.ts
  47. +1 βˆ’1 packages/hint-manifest-app-name/src/hint.ts
  48. +1 βˆ’1 packages/hint-manifest-app-name/src/meta.ts
  49. +1 βˆ’1 packages/hint-manifest-file-extension/src/hint.ts
  50. +1 βˆ’1 packages/hint-manifest-file-extension/src/meta.ts
  51. +1 βˆ’1 packages/hint-manifest-is-valid/src/hint.ts
  52. +1 βˆ’1 packages/hint-manifest-is-valid/src/meta.ts
  53. +1 βˆ’1 packages/hint-meta-charset-utf-8/src/meta.ts
  54. +1 βˆ’1 packages/hint-meta-theme-color/src/hint.ts
  55. +1 βˆ’2 packages/hint-meta-viewport/src/hint.ts
  56. +1 βˆ’1 packages/hint-meta-viewport/src/meta.ts
  57. +1 βˆ’1 packages/hint-minified-js/src/meta.ts
  58. +1 βˆ’1 packages/hint-no-broken-links/src/hint.ts
  59. +2 βˆ’6 packages/hint-no-disallowed-headers/src/hint.ts
  60. +1 βˆ’1 packages/hint-no-disallowed-headers/src/meta.ts
  61. +2 βˆ’4 packages/hint-no-html-only-headers/src/hint.ts
  62. +1 βˆ’1 packages/hint-no-html-only-headers/src/meta.ts
  63. +1 βˆ’1 packages/hint-no-http-redirects/src/meta.ts
  64. +1 βˆ’1 packages/hint-no-protocol-relative-urls/src/meta.ts
  65. +3 βˆ’4 packages/hint-no-vulnerable-javascript-libraries/src/hint.ts
  66. +1 βˆ’1 packages/hint-no-vulnerable-javascript-libraries/src/meta.ts
  67. +2 βˆ’3 packages/hint-scoped-svg-styles/src/hint.ts
  68. +1 βˆ’1 packages/hint-scoped-svg-styles/src/meta.ts
  69. +2 βˆ’2 packages/hint-sri/src/hint.ts
  70. +1 βˆ’1 packages/hint-sri/src/meta.ts
  71. +2 βˆ’3 packages/hint-strict-transport-security/src/hint.ts
  72. +3 βˆ’3 packages/hint-strict-transport-security/tests/_common.ts
  73. +1 βˆ’1 packages/hint-stylesheet-limits/src/meta.ts
  74. +1 βˆ’1 packages/hint-typescript-config/src/helpers/config-checker.ts
  75. +2 βˆ’3 packages/hint-validate-set-cookie-header/src/hint.ts
  76. +1 βˆ’1 packages/hint-validate-set-cookie-header/src/meta.ts
  77. +2 βˆ’2 packages/hint-x-content-type-options/src/hint.ts
  78. +1 βˆ’1 packages/hint-x-content-type-options/src/meta.ts
  79. +1 βˆ’1 packages/hint/src/lib/config.ts
  80. +2 βˆ’2 packages/hint/src/lib/config/config-hints.ts
  81. +1 βˆ’2 packages/hint/src/lib/config/config-validator.ts
  82. +2 βˆ’5 packages/hint/src/lib/engine.ts
  83. +3 βˆ’5 packages/hint/src/lib/hint-context.ts
  84. +1 βˆ’1 packages/hint/src/lib/types/analyzer.ts
  85. +2 βˆ’3 packages/hint/src/lib/types/connector.ts
  86. +2 βˆ’3 packages/hint/src/lib/types/events.ts
  87. +1 βˆ’1 packages/hint/src/lib/types/formatters.ts
  88. +1 βˆ’1 packages/hint/src/lib/types/hint-meta.ts
  89. +1 βˆ’1 packages/hint/src/lib/types/network.ts
  90. +1 βˆ’1 packages/hint/tests/lib/analyzer.ts
  91. +1 βˆ’2 packages/hint/tests/lib/cli/analyze.ts
  92. +2 βˆ’2 packages/hint/tests/lib/engine.ts
  93. +1 βˆ’1 packages/hint/tests/lib/hint-context.ts
  94. +1 βˆ’1 packages/parser-babel-config/src/types.ts
  95. +1 βˆ’1 packages/parser-css/src/parser.ts
  96. +1 βˆ’1 packages/parser-css/src/types.ts
  97. +1 βˆ’1 packages/parser-css/tests/helpers/mocks.ts
  98. +1 βˆ’1 packages/parser-html/src/parser.ts
  99. +1 βˆ’1 packages/parser-html/src/types.ts
  100. +1 βˆ’1 packages/parser-javascript/src/parser.ts
  101. +1 βˆ’1 packages/parser-javascript/src/types.ts
  102. +1 βˆ’1 packages/parser-javascript/tests/tests.ts
  103. +1 βˆ’3 packages/parser-jsx/src/parser.ts
  104. +1 βˆ’1 packages/parser-less/src/parser.ts
  105. +1 βˆ’1 packages/parser-less/tests/helpers/mocks.ts
  106. +3 βˆ’6 packages/parser-manifest/src/parser.ts
  107. +1 βˆ’1 packages/parser-package-json/src/types.ts
  108. +1 βˆ’1 packages/parser-sass/src/parser.ts
  109. +1 βˆ’1 packages/parser-sass/tests/helpers/mocks.ts
  110. +2 βˆ’3 packages/utils-json/src/final-config.ts
  111. +5 βˆ’3 packages/utils-json/tests/final-config.ts
  112. +1 βˆ’3 packages/utils-network/src/as-uri.ts
  113. +1 βˆ’1 packages/utils-network/src/normalize-header-value.ts
  114. +1 βˆ’1 scripts/create-i18n.js
@@ -1,4 +1,4 @@
import { HttpHeaders } from '@hint/utils-types/dist/src/http-headers';
import { HttpHeaders } from '@hint/utils-types';
import { FetchEnd, NetworkData } from 'hint/dist/src/lib/types';
import { getContentTypeData } from '@hint/utils/dist/src/content-type';

@@ -1,5 +1,4 @@
import { Category } from '@hint/utils-types/dist/src/category';
import { Problem } from '@hint/utils-types/dist/src/problems';
import { Category, Problem } from '@hint/utils-types';
import { FormatterOptions, HintResources, IFormatter, IHintConstructor } from 'hint/dist/src/lib/types';

import { browser } from '../shared/globals';
@@ -1,4 +1,4 @@
import { Category } from '@hint/utils-types/dist/src/category';
import { Category } from '@hint/utils-types';

import metas from '../../shared/metas.import';

@@ -8,7 +8,7 @@ import ExternalLink from './external-link';
import { evaluate } from '../../utils/inject';
import { getCategories } from '../../utils/categories';
import escapeRegExp = require('lodash/escapeRegExp');
import { getCategoryName } from '@hint/utils-i18n/dist/src/get-category-name';
import { getCategoryName } from '@hint/utils-i18n';

const categories = getCategories();

@@ -1,7 +1,7 @@
import * as React from 'react';
import { useCallback, FormEvent } from 'react';

import { getCategoryName } from '@hint/utils-i18n/dist/src/get-category-name';
import { getCategoryName } from '@hint/utils-i18n';

import { getMessage } from '../../../../utils/i18n';
import { getCategories } from '../../../../utils/categories';
@@ -1,7 +1,7 @@
import * as React from 'react';

import { getCategoryName } from '@hint/utils-i18n/dist/src/get-category-name';
import { Severity } from '@hint/utils-types/dist/src/severity';
import { getCategoryName } from '@hint/utils-i18n';
import { Severity } from '@hint/utils-types';

import { CategoryResults, HintResults } from '../../../../shared/types';

@@ -1,6 +1,6 @@
import * as React from 'react';

import { getCategoryName } from '@hint/utils-i18n/dist/src/get-category-name';
import { getCategoryName } from '@hint/utils-i18n';

import { CategoryResults } from '../../../../shared/types';

@@ -1,7 +1,6 @@
import * as React from 'react';

import { Problem as ProblemData } from '@hint/utils-types/dist/src/problems';
import { Severity } from '@hint/utils-types/dist/src/severity';
import { Problem as ProblemData, Severity } from '@hint/utils-types';

import { HintResults } from '../../../../shared/types';

@@ -1,6 +1,6 @@
import * as React from 'react';

import { Problem as ProblemData } from '@hint/utils-types/dist/src/problems';
import { Problem as ProblemData } from '@hint/utils-types';

import Summary from '../../controls/summary';

@@ -1,7 +1,7 @@
import * as React from 'react';
import { useCallback, MouseEvent } from 'react';

import { Problem as ProblemData } from '@hint/utils-types/dist/src/problems';
import { Problem as ProblemData } from '@hint/utils-types';

import { browser } from '../../../../shared/globals';

@@ -1,4 +1,4 @@
import { HttpHeaders } from '@hint/utils-types/dist/src/http-headers';
import { HttpHeaders } from '@hint/utils-types';

/** Convert `webRequest` or `devtools.network` headers to `hint` headers. */
export const mapHeaders = (webRequestHeaders: { name: string; value?: string }[]): HttpHeaders => {
@@ -1,5 +1,4 @@
import { Category } from '@hint/utils-types/dist/src/category';
import { Problem } from '@hint/utils-types/dist/src/problems';
import { Category, Problem } from '@hint/utils-types';
import { FetchEnd, FetchStart } from 'hint/dist/src/lib/types';

export type Config = {
@@ -2,7 +2,7 @@ import camelCase = require('lodash/camelCase');

import { getMessage as extensionGetMessage } from '../devtools/utils/i18n';

type GetMessage = typeof import('@hint/utils-i18n/dist/src/get-message').getMessage;
type GetMessage = typeof import('@hint/utils-i18n').getMessage;

export const getMessage: GetMessage = (key, path, options?) => {
/*
@@ -3,7 +3,7 @@ import * as proxyquire from 'proxyquire';
import * as sinon from 'sinon';
import test from 'ava';

import { Category } from '@hint/utils-types/dist/src/category';
import { Category } from '@hint/utils-types';
import { FetchEnd } from 'hint/dist/src/lib/types';

import { Config, Events, Results } from '../src/shared/types';
@@ -83,8 +83,7 @@ module.exports = (env) => {
resolve: {
alias: {
'./get-message$': path.resolve(__dirname, 'dist/src/shims/get-message.js'),
'@hint/utils-i18n/dist/src/get-message$': path.resolve(__dirname, 'dist/src/shims/get-message.js'),
'@hint/utils-network/dist/src/request-async$': path.resolve(__dirname, 'dist/src/shims/request-async.js'),
'./request-async$': path.resolve(__dirname, 'dist/src/shims/request-async.js'),
'acorn-jsx$': path.resolve(__dirname, 'dist/src/shims/acorn-jsx.js'),
'acorn-jsx-walk$': path.resolve(__dirname, 'dist/src/shims/acorn-jsx-walk.js'),
'axe-core': require.resolve('axe-core/axe.min.js'),
@@ -7,8 +7,7 @@ import { normalizeString } from '@hint/utils';
import { isRegularProtocol } from '@hint/utils-network';
import { debug as d } from '@hint/utils-debug';
import { HintContext, IHint, NetworkData, TraverseEnd } from 'hint';
import { HTMLDocument } from '@hint/utils-dom/dist/src/htmldocument';
import { HTMLElement } from '@hint/utils-dom/dist/src/htmlelement';
import { HTMLDocument, HTMLElement } from '@hint/utils-dom';

import meta from './meta';
import { getMessage } from './i18n.import';
@@ -16,7 +16,7 @@ const createMeta = async (category, rules) => {
});

const content = `// autogenerated by scripts/create/create-metas.js
import { Category } from '@hint/utils-types/dist/src/category';
import { Category } from '@hint/utils-types';
import { HintScope } from 'hint/dist/src/lib/enums/hint-scope';
import { HintMetadata } from 'hint/dist/src/lib/types';
@@ -1,5 +1,5 @@
// autogenerated by scripts/create/create-metas.js
import { Category } from '@hint/utils-types/dist/src/category';
import { Category } from '@hint/utils-types';
import { HintScope } from 'hint/dist/src/lib/enums/hint-scope';
import { HintMetadata } from 'hint/dist/src/lib/types';

@@ -1,5 +1,5 @@
// autogenerated by scripts/create/create-metas.js
import { Category } from '@hint/utils-types/dist/src/category';
import { Category } from '@hint/utils-types';
import { HintScope } from 'hint/dist/src/lib/enums/hint-scope';
import { HintMetadata } from 'hint/dist/src/lib/types';

@@ -1,5 +1,5 @@
// autogenerated by scripts/create/create-metas.js
import { Category } from '@hint/utils-types/dist/src/category';
import { Category } from '@hint/utils-types';
import { HintScope } from 'hint/dist/src/lib/enums/hint-scope';
import { HintMetadata } from 'hint/dist/src/lib/types';

@@ -1,5 +1,5 @@
// autogenerated by scripts/create/create-metas.js
import { Category } from '@hint/utils-types/dist/src/category';
import { Category } from '@hint/utils-types';
import { HintScope } from 'hint/dist/src/lib/enums/hint-scope';
import { HintMetadata } from 'hint/dist/src/lib/types';

@@ -1,5 +1,5 @@
// autogenerated by scripts/create/create-metas.js
import { Category } from '@hint/utils-types/dist/src/category';
import { Category } from '@hint/utils-types';
import { HintScope } from 'hint/dist/src/lib/enums/hint-scope';
import { HintMetadata } from 'hint/dist/src/lib/types';

@@ -1,5 +1,5 @@
// autogenerated by scripts/create/create-metas.js
import { Category } from '@hint/utils-types/dist/src/category';
import { Category } from '@hint/utils-types';
import { HintScope } from 'hint/dist/src/lib/enums/hint-scope';
import { HintMetadata } from 'hint/dist/src/lib/types';

@@ -1,5 +1,5 @@
// autogenerated by scripts/create/create-metas.js
import { Category } from '@hint/utils-types/dist/src/category';
import { Category } from '@hint/utils-types';
import { HintScope } from 'hint/dist/src/lib/enums/hint-scope';
import { HintMetadata } from 'hint/dist/src/lib/types';

@@ -1,5 +1,5 @@
// autogenerated by scripts/create/create-metas.js
import { Category } from '@hint/utils-types/dist/src/category';
import { Category } from '@hint/utils-types';
import { HintScope } from 'hint/dist/src/lib/enums/hint-scope';
import { HintMetadata } from 'hint/dist/src/lib/types';

@@ -1,5 +1,5 @@
// autogenerated by scripts/create/create-metas.js
import { Category } from '@hint/utils-types/dist/src/category';
import { Category } from '@hint/utils-types';
import { HintScope } from 'hint/dist/src/lib/enums/hint-scope';
import { HintMetadata } from 'hint/dist/src/lib/types';

@@ -1,5 +1,5 @@
// autogenerated by scripts/create/create-metas.js
import { Category } from '@hint/utils-types/dist/src/category';
import { Category } from '@hint/utils-types';
import { HintScope } from 'hint/dist/src/lib/enums/hint-scope';
import { HintMetadata } from 'hint/dist/src/lib/types';

@@ -1,5 +1,5 @@
// autogenerated by scripts/create/create-metas.js
import { Category } from '@hint/utils-types/dist/src/category';
import { Category } from '@hint/utils-types';
import { HintScope } from 'hint/dist/src/lib/enums/hint-scope';
import { HintMetadata } from 'hint/dist/src/lib/types';

@@ -1,5 +1,5 @@
// autogenerated by scripts/create/create-metas.js
import { Category } from '@hint/utils-types/dist/src/category';
import { Category } from '@hint/utils-types';
import { HintScope } from 'hint/dist/src/lib/enums/hint-scope';
import { HintMetadata } from 'hint/dist/src/lib/types';

@@ -1,5 +1,5 @@
// autogenerated by scripts/create/create-metas.js
import { Category } from '@hint/utils-types/dist/src/category';
import { Category } from '@hint/utils-types';
import { HintScope } from 'hint/dist/src/lib/enums/hint-scope';
import { HintMetadata } from 'hint/dist/src/lib/types';

@@ -1,5 +1,5 @@
// autogenerated by scripts/create/create-metas.js
import { Category } from '@hint/utils-types/dist/src/category';
import { Category } from '@hint/utils-types';
import { HintScope } from 'hint/dist/src/lib/enums/hint-scope';
import { HintMetadata } from 'hint/dist/src/lib/types';

@@ -1,11 +1,10 @@
import { CheckResult, AxeResults, ImpactValue, NodeResult as AxeNodeResult } from 'axe-core';

import { HTMLDocument } from '@hint/utils-dom/dist/src/htmldocument';
import { HTMLElement } from '@hint/utils-dom/dist/src/htmlelement';
import { readFileAsync } from '@hint/utils-fs/dist/src/read-file-async';
import { HTMLDocument, HTMLElement } from '@hint/utils-dom';
import { readFileAsync } from '@hint/utils-fs';
import { CanEvaluateScript } from 'hint/dist/src/lib/types';
import { HintContext } from 'hint/dist/src/lib/hint-context';
import { Severity } from '@hint/utils-types/dist/src/severity';
import { Severity } from '@hint/utils-types';

import { getMessage } from '../i18n.import';

@@ -1,4 +1,4 @@
import { Category } from '@hint/utils-types/dist/src/category';
import { Category } from '@hint/utils-types';
import { HintScope } from 'hint/dist/src/lib/enums/hint-scope';
import { HintMetadata } from 'hint/dist/src/lib/types';

@@ -4,8 +4,7 @@

import { HintContext } from 'hint/dist/src/lib/hint-context';
import { IHint } from 'hint/dist/src/lib/types';
import { HTMLElement } from '@hint/utils-dom/dist/src/htmlelement';
import { HTMLAttribute } from '@hint/utils-dom/dist/src/types';
import { HTMLAttribute, HTMLElement } from '@hint/utils-dom';
import { getUnsupportedDetails, UnsupportedBrowsers } from '@hint/utils-compat-data';

import { filterBrowsers, joinBrowsers } from './utils/browsers';
@@ -1,4 +1,4 @@
import { Category } from '@hint/utils-types/dist/src/category';
import { Category } from '@hint/utils-types';
import { HintScope } from 'hint/dist/src/lib/enums/hint-scope';
import { HintMetadata } from 'hint/dist/src/lib/types';

@@ -12,9 +12,8 @@
import { MediaType, parse } from 'content-type';

import { debug as d } from '@hint/utils-debug';
import { normalizeString } from '@hint/utils/dist/src/misc/normalize-string';
import { isDataURI } from '@hint/utils-network/dist/src/is-data-uri';
import { normalizeHeaderValue } from '@hint/utils-network/dist/src/normalize-header-value';
import { normalizeString } from '@hint/utils-string';
import { isDataURI, normalizeHeaderValue } from '@hint/utils-network';
import { IHint, FetchEnd } from 'hint/dist/src/lib/types';
import { isTextMediaType } from '@hint/utils/dist/src/content-type';
import { HintContext } from 'hint/dist/src/lib/hint-context';
@@ -1,4 +1,4 @@
import { Category } from '@hint/utils-types/dist/src/category';
import { Category } from '@hint/utils-types';
import { HintScope } from 'hint/dist/src/lib/enums/hint-scope';
import { HintMetadata } from 'hint/dist/src/lib/types';

@@ -1,4 +1,4 @@
import { Category } from '@hint/utils-types/dist/src/category';
import { Category } from '@hint/utils-types';
import { HintScope } from 'hint/dist/src/lib/enums/hint-scope';
import { HintMetadata } from 'hint/dist/src/lib/types';

@@ -8,8 +8,7 @@ import { vendor, Declaration, Rule } from 'postcss';
import { HintContext } from 'hint/dist/src/lib/hint-context';
import { IHint } from 'hint/dist/src/lib/types';
import { debug as d } from '@hint/utils-debug';
import { getCSSCodeSnippet } from '@hint/utils-css/dist/src/get-css-code-snippet';
import { getCSSLocationFromNode } from '@hint/utils-css/dist/src/get-css-location-from-node';
import { getCSSCodeSnippet, getCSSLocationFromNode } from '@hint/utils-css';
import { StyleEvents, StyleParse } from '@hint/parser-css';

import meta from './meta';
@@ -1,4 +1,4 @@
import { Category } from '@hint/utils-types/dist/src/category';
import { Category } from '@hint/utils-types';
import { HintScope } from 'hint/dist/src/lib/enums/hint-scope';
import { HintMetadata } from 'hint/dist/src/lib/types';

@@ -14,11 +14,9 @@ import { URL } from 'url';

import { debug as d } from '@hint/utils-debug';
import { isSupported } from '@hint/utils-compat-data';
import { isRegularProtocol } from '@hint/utils-network/dist/src/is-regular-protocol';
import { cutString } from '@hint/utils/dist/src/misc/cut-string';
import { normalizeString } from '@hint/utils/dist/src/misc/normalize-string';
import { prettyPrintArray } from '@hint/utils/dist/src/misc/pretty-print-array';
import { HTMLElement } from '@hint/utils-dom/dist/src/htmlelement';
import { isRegularProtocol } from '@hint/utils-network';
import { cutString, normalizeString, prettyPrintArray } from '@hint/utils-string';
import { HTMLElement } from '@hint/utils-dom';
import { ElementFound, IHint } from 'hint/dist/src/lib/types';
import { HintContext } from 'hint/dist/src/lib/hint-context';

@@ -9,11 +9,10 @@
* ------------------------------------------------------------------------------
*/

import { HttpHeaders } from '@hint/utils-types/dist/src/http-headers';
import { normalizeString } from '@hint/utils/dist/src/misc/normalize-string';
import { isLocalFile } from '@hint/utils-network/dist/src/is-local-file';
import { HTMLElement } from '@hint/utils-dom/dist/src/htmlelement';
import { HTMLDocument } from '@hint/utils-dom/dist/src/htmldocument';
import { HttpHeaders } from '@hint/utils-types';
import { normalizeString } from '@hint/utils-string';
import { isLocalFile } from '@hint/utils-network';
import { HTMLDocument, HTMLElement } from '@hint/utils-dom';
import { IHint, TraverseEnd } from 'hint/dist/src/lib/types';
import { HintContext } from 'hint/dist/src/lib/hint-context';

@@ -1,4 +1,4 @@
import { Category } from '@hint/utils-types/dist/src/category';
import { Category } from '@hint/utils-types';
import { HintScope } from 'hint/dist/src/lib/enums/hint-scope';
import { HintMetadata } from 'hint/dist/src/lib/types';

@@ -3,8 +3,7 @@
*/

import { debug as d } from '@hint/utils-debug';
import { isDataURI } from '@hint/utils-network/dist/src/is-data-uri';
import { normalizeHeaderValue } from '@hint/utils-network/dist/src/normalize-header-value';
import { isDataURI, normalizeHeaderValue } from '@hint/utils-network';
import { IHint, FetchEnd } from 'hint/dist/src/lib/types';
import { HintContext } from 'hint/dist/src/lib/hint-context';

@@ -1,4 +1,4 @@
import { Category } from '@hint/utils-types/dist/src/category';
import { Category } from '@hint/utils-types';
import { HintScope } from 'hint/dist/src/lib/enums/hint-scope';
import { HintMetadata } from 'hint/dist/src/lib/types';

@@ -1,5 +1,5 @@
/* eslint-disable camelcase */
import { HTMLElement } from '@hint/utils-dom/dist/src/htmlelement';
import { HTMLElement } from '@hint/utils-dom';

export type cloudinaryResult = {
bytes: number;
@@ -12,7 +12,7 @@
import { ucs2 } from 'punycode';

import { IHint } from 'hint/dist/src/lib/types';
import { JSONLocationFunction } from '@hint/utils-json/dist/src/types';
import { JSONLocationFunction } from '@hint/utils-json';
import { ManifestEvents, ManifestParsed } from '@hint/parser-manifest';
import { HintContext } from 'hint/dist/src/lib/hint-context';

@@ -1,4 +1,4 @@
import { Category } from '@hint/utils-types/dist/src/category';
import { Category } from '@hint/utils-types';
import { HintScope } from 'hint/dist/src/lib/enums/hint-scope';
import { HintMetadata } from 'hint/dist/src/lib/types';

@@ -10,7 +10,7 @@
*/

import { normalizeString } from '@hint/utils/dist/src/misc/normalize-string';
import { fileExtension as getFileExtension } from '@hint/utils-fs/dist/src/file-extension';
import { fileExtension as getFileExtension } from '@hint/utils-fs';
import { ElementFound, IHint } from 'hint/dist/src/lib/types';
import { HintContext } from 'hint/dist/src/lib/hint-context';

0 comments on commit be6b502

Please sign in to comment.
You can’t perform that action at this time.