zrrrzzt / tfk-api-unoconv

Unoconv as a webservice
MIT License
62 stars 50 forks source link

Update dependency standard to v16 #229

Closed renovate[bot] closed 4 years ago

renovate[bot] commented 4 years ago

This PR contains the following updates:

Package Type Update Change
standard (source) devDependencies major 14.3.4 -> 16.0.0

Release Notes

standard/standard ### [`v16.0.0`](https://togithub.com/standard/standard/blob/master/CHANGELOG.md#​1600---2020-10-28) [Compare Source](https://togithub.com/standard/standard/compare/v15.0.1...v16.0.0) We're super excited to announce `standard` 16! As with every new major release, there are lots of new rules in 16.0.0 designed to help catch bugs and make programmer intent more explicit. This release brings better JSX and React support! ⚛️ When you upgrade, consider running `standard --fix` to automatically format your code to match the newly added rules. ❤️ If you enjoy StandardJS and want to support future releases, please [support the maintainer](https://togithub.com/users/feross/sponsorship). ##### New features - 🏎 Better performance: the filesystem doesn't need to be traversed multiple times! [#​1023](https://togithub.com/standard/standard/issues/1023) - Massive improvements (on the order of minutes!) for projects with huge folders which are are ignored with `.gitignore` - 🌟 Support the `.gitignore` ignore syntax from the command line [#​1117](https://togithub.com/standard/standard/issues/1117) - In older versions, the command `standard src` would not lint the `src/` folder - Instead, a glob pattern needed like `standard src/**/*.js` was required - This is now fixed! You can run `standard src` to lint the `src/` folder! - 🌟 Support relative paths from the command line (e.g. `standard ../src/*.js`) [#​1384](https://togithub.com/standard/standard/issues/1384) - 🌟 New `extensions` option for linting additional extensions besides `.js`, `.jsx`, `.mjs`, and `.cjs` - Can be configured with the `--ext` command line flag or in `package.json`: - Example: ```bash standard --ext .ts ``` ```json { "standard": { "extensions": [".ts"] } } ``` ##### Changed features - Update `eslint` from `~7.11.0` to `~7.12.1` - Update `standard-engine` from `^12` to `^14` - Fix inaccurate `--help` command which indicates that `bundle.js` is automatically ignored when it is not [standard-engine/#​224](https://togithub.com/standard/standard-engine/pull/224) - New cache directory location, respecting `XDG_CACHE_HOME` preference, with fallback to `~/.cache/standard` [standard-engine/#​214](https://togithub.com/standard/standard-engine/pull/214) - Remove `deglob` package and use built-in ESLint folder-traversal support - Paths with square brackets (e.g. `[` and `]`) are no longer skipped [#​1333](https://togithub.com/standard/standard/issues/1333) - This pattern is particularly common in Next.js apps, e.g. `blog/[slug].js` - You may notice new errors in these files since they were not being linted before - Better mono-repo support: Nested `node_modules/` folders are ignored by default [#​1182](https://togithub.com/standard/standard/issues/1182) - Remove `eslint-plugin-standard` [#​1316](https://togithub.com/standard/standard/issues/1316) - We migrated the remaining `no-callback-literal` rule into `eslint-plugin-node` ##### New rules _(Estimated % of affected standard users, based on test suite in parens)_ - Require let or const instead of var ([no-var](https://eslint.org/docs/rules/no-var)) [#​633](https://togithub.com/standard/standard/issues/633) [75%][automatic fixing reduces to 11%] - Enforce return statements in `Array` method callbacks ([array-callback-return](https://eslint.org/docs/rules/array-callback-return)) [#​859](https://togithub.com/standard/standard/issues/859) [7%] - Disallow empty block statements ([no-empty](https://eslint.org/docs/rules/no-empty)) [#​796](https://togithub.com/standard/standard/issues/796) [2%] - Enforce default parameters to be last ([default-param-last](https://eslint.org/docs/rules/default-param-last)) [#​1414](https://togithub.com/standard/standard/issues/1414) [1%] - Disallow use of the `RegExp` constructor in favor of regular expression literals ([prefer-regex-literals](https://eslint.org/docs/rules/prefer-regex-literals)) [#​1413](https://togithub.com/standard/standard/issues/1413) [1%] - Disallow spaces inside of computed keys of class methods, getters and setters ([computed-property-spacing](https://eslint.org/docs/rules/computed-property-spacing)) [#​1416](https://togithub.com/standard/standard/issues/1416) [0%] - Disallow `case NaN`, `switch(NaN)`, `indexOf(NaN)`, and `lastIndexOf(NaN)` ([use-isnan](https://eslint.org/docs/rules/use-isnan)) [#​1429](https://togithub.com/standard/standard/issues/1429) [0%] - Disallow assigning to imported bindings ([no-import-assign](https://eslint.org/docs/rules/no-import-assign)) [#​1412](https://togithub.com/standard/standard/issues/1412) [0%] - Enforce getter/setter pairs in classes ([accessor-pairs](https://eslint.org/docs/rules/accessor-pairs)) [#​1415](https://togithub.com/standard/standard/issues/1415) [0%] - Node: Disallow assignment to `exports` ([node/no-exports-assign](https://togithub.com/mysticatea/eslint-plugin-node/blob/master/docs/rules/no-exports-assign.md)) [#​1400](https://togithub.com/standard/standard/issues/1400) [0%] - React: Prevent usage of the return value of `ReactDOM.render` ([react/no-render-return-value](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/no-render-return-value.md)) [#​1568](https://togithub.com/standard/standard/issues/1568) [1%] - React: Prevent usage of deprecated methods ([react/no-deprecated](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/no-deprecated.md)) [#​1572](https://togithub.com/standard/standard/issues/1572) [1%] - React: Prevent direct mutation of `this.state` ([react/no-direct-mutation-state](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/no-direct-mutation-state.md)) [#​1571](https://togithub.com/standard/standard/issues/1571) [0%] - React: Prevent usage of `findDOMNode` ([react/no-find-dom-node](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/no-find-dom-node.md)) [#​1570](https://togithub.com/standard/standard/issues/1570) [0%] - React: Prevent usage of `isMounted` ([react/no-is-mounted](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/no-is-mounted.md)) [#​1569](https://togithub.com/standard/standard/issues/1569) [0%] - React: Prevent using string refs ([react/no-string-refs](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/no-string-refs.md)) [#​1567](https://togithub.com/standard/standard/issues/1567) [0%] - JSX: Prevent missing parentheses around multiline JSX ([react/jsx-wrap-multilines](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-wrap-multilines.md)) [#​710](https://togithub.com/standard/standard/issues/710) [#​1382](https://togithub.com/standard/standard/issues/1382) (0%) - JSX: Check if shorthand fragment syntax requires a key prop ([react/jsx-key](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-key.md)) [#​1575](https://togithub.com/standard/standard/issues/1575) [0%] - JSX: Prevent passing of children as props ([react/no-children-prop](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/no-children-prop.md)) [#​1574](https://togithub.com/standard/standard/issues/1574) [0%] - JSX: Prevent using children and dangerouslySetInnerHTML as props at the same time ([react/no-danger-with-children](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/no-danger-with-children.md)) [#​1573](https://togithub.com/standard/standard/issues/1573) [0%] - JSX: Prevent invalid characters from appearing in markup ([react/no-unescaped-entities](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/no-unescaped-entities.md)) [#​1566](https://togithub.com/standard/standard/issues/1566) [0%] - JSX: Enforce JSX value is returned in component render function ([react/require-render-return](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/require-render-return.md)) [#​1565](https://togithub.com/standard/standard/issues/1565) [0%] - JSX: Prevent usage of unsafe `target='_blank'` on any component named `Link` ([react/jsx-no-target-blank](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-no-target-blank.md)) [#​1576](https://togithub.com/standard/standard/issues/1576) [0%] ##### Changed rules - Relax rule: JSX: Consider the global scope when checking for defined Components [#​1115](https://togithub.com/standard/standard/issues/1115) - Relax rule: JSX: Remove conflicting indentation rule in `indent` [#​1499](https://togithub.com/standard/standard/issues/1499) ### [`v15.0.1`](https://togithub.com/standard/standard/blob/master/CHANGELOG.md#​1501---2020-10-27) [Compare Source](https://togithub.com/standard/standard/compare/v15.0.0...v15.0.1) - Relax rule: Remove conflicting JSX indenting with `indent` rule [eslint-config-standard/#​177](https://togithub.com/standard/eslint-config-standard/issues/177) ### [`v15.0.0`](https://togithub.com/standard/standard/blob/master/CHANGELOG.md#​1500---2020-10-21) [Compare Source](https://togithub.com/standard/standard/compare/v14.3.4...v15.0.0) We're super excited to announce `standard` 15! As with every new major release, there are lots of new rules in 15.0.0 designed to help catch bugs and make programmer intent more explicit. This release brings support for ES 2021, the latest version of the ECMAScript specification, as well as many quality-of-life improvements, including ESLint v7. When you upgrade, consider running `standard --fix` to automatically format your code to match the newly added rules. ❤️ If you enjoy StandardJS and want to support future releases, check out Feross's [GitHub Sponsors page](https://togithub.com/users/feross/sponsorship). ##### New features - Support ES 2021, the latest version of the ECMAScript specification, which includes support for [logical assignment operators](https://togithub.com/tc39/proposal-logical-assignment) and [numeric separators](https://togithub.com/tc39/proposal-numeric-separator) [#​1551](https://togithub.com/standard/standard/issues/1551) - Support ES 2020 features such as [optional chaining](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Optional_chaining), the [nullish coalescing operator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Nullish_coalescing_operator), `export * as ns from 'source'`, and [`import.meta`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import.meta). - Support global variables from ES 2017 (`Atomics`, `SharedArrayBuffer`), ES 2020 (`BigInt`, `BigInt64Array`, `BigUint64Array`, `globalThis`), and ES 2021 (`FinalizationRegistry`, `WeakRef`). [#​1436](https://togithub.com/standard/standard/issues/1436) [#​1557](https://togithub.com/standard/standard/issues/1557) [eslint-config-standard/#​156](https://togithub.com/standard/eslint-config-standard/pull/156) - The documentation is now available in Indonesian 🇮🇩! [#​1544](https://togithub.com/standard/standard/pull/1544) - Thanks to [@​yoga1234](https://togithub.com/yoga1234) for the excellent work! - Other community contributed translations exist in Spanish, French, Italian, Japanese, Korean, Portuguese, Simplified Chinese, and Taiwanese Mandarin. - More translations are always welcome! ##### Changed features - BREAKING: Node.js 8 is no longer supported - Node.js 8 is EOL and will no longer be receiving security updates. - To prevent breaking CI for projects which still support Node 8, `standard` silently passes when run by an unsupported version of Node - Update `eslint` from `~6.8.0` to `~7.11.0` ##### New rules _(Estimated % of affected standard users, based on test suite in parens)_ - Require indentation for values of ternary expressions ([indent](https://eslint.org/docs/rules/indent)) [#​927](https://togithub.com/standard/standard/issues/927) [4%] - Enforce newlines between operands of ternary expressions if the expression spans multiple lines ([multiline-ternary](https://eslint.org/docs/rules/multiline-ternary)) [#​1558](https://togithub.com/standard/standard/issues/1558) [3%] - Disallow loops with a body that allows only one iteration ([no-unreachable-loop](https://eslint.org/docs/rules/no-unreachable-loop)) [#​1556](https://togithub.com/standard/standard/issues/1556) [0%] - Disallow useless backreferences in regular expressions ([no-useless-backreference](https://eslint.org/docs/rules/no-useless-backreference)) [#​1554](https://togithub.com/standard/standard/issues/1554) [0%] - Enforce default clauses in switch statements to be last ([default-case-last](https://eslint.org/docs/rules/default-case-last)) [#​1553](https://togithub.com/standard/standard/issues/1553) [0%] - Disallow Number Literals That Lose Precision ([no-loss-of-precision](https://eslint.org/docs/rules/no-loss-of-precision)) [#​1552](https://togithub.com/standard/standard/issues/1552) [0%] ##### Changed rules - Relax rule: Allow function declarations in nested blocks [#​1406](https://togithub.com/standard/standard/issues/1406) - Relax rule: Removed redundant `no-negated-in-lhs` rule, already enforced by `no-unsafe-negation` [eslint-config-standard/#​160](https://togithub.com/standard/eslint-config-standard/pull/160)

Renovate configuration

:date: Schedule: At any time (no schedule defined).

:vertical_traffic_light: Automerge: Enabled.

:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

:no_bell: Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by WhiteSource Renovate. View repository job log here.