Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update typescript-eslint monorepo to v4 (major) #526

Merged
merged 1 commit into from
Sep 8, 2020

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 31, 2020

This PR contains the following updates:

Package Type Update Change
@typescript-eslint/eslint-plugin devDependencies major 3.10.1 -> 4.1.0
@typescript-eslint/parser devDependencies major 3.10.1 -> 4.1.0

Release Notes

typescript-eslint/typescript-eslint

v4.1.0

Compare Source

Bug Fixes
  • eslint-plugin: [explicit-module-boundary-types] cyclical reference infinite recursion crash (#​2482) (8693653)
  • eslint-plugin: [no-unused-vars] correct detection of unused vars in a declared module with export = (#​2505) (3d07a99)
  • eslint-plugin: [no-unused-vars] properly handle ambient declaration exports (#​2496) (4d3ce5f)
  • eslint-plugin: [no-use-before-define] false positive with jsx pragma reference (#​2503) (5afeeab), closes #​2502
  • eslint-plugin: [typedef] false positive for rest parameter with array destructuring (#​2441) (2ada5af)
  • eslint-plugin: handle missing message IDs in eslint v5/v6 (#​2461) (ffdfade)
  • scope-manager: add const as a global type variable (#​2499) (eb3f6e3)
  • scope-manager: correctly handle inferred types in nested type scopes (#​2497) (95f6bf4)
  • scope-manager: don't create references for intrinsic JSX elements (#​2504) (cdb9807)
  • scope-manager: fallback to lib 'esnext' or 'es5' when ecma version is unsupported (#​2474) (20a7dcc)
  • scope-manager: support rest function type parameters (#​2491) (9d8b4c4), closes #​2449
  • scope-manager: support tagged template string generic type parameters (#​2492) (a2686c0)
  • scope-manager: support type predicates (#​2493) (a40f54c), closes #​2462
  • scope-manager: treat type imports as both values and types (#​2494) (916e95a), closes #​2453
Features

4.0.1 (2020-08-31)

Bug Fixes

v4.0.1

Compare Source

Bug Fixes

v4.0.0

Compare Source

Please see the release notes for v4.0.0

Bug Fixes
  • eslint-plugin: [no-shadow] fix false-positive on enum declaration (#​2374) (9de669f)
  • eslint-plugin: [no-unused-vars] handle TSCallSignature (#​2336) (c70f54f)
  • correct decorator traversal for AssignmentPattern (#​2375) (d738fa4)
  • scope-manager: correct analysis of abstract class properties (#​2420) (cd84549)
  • typescript-estree: correct ChainExpression interaction with parentheses and non-nulls (#​2380) (762bc99)
Features
  • consume new scope analysis package (#​2039) (3be125d)
  • support ESTree optional chaining representation (#​2308) (e9d2ab6)
  • eslint-plugin: [ban-ts-comment] change default for ts-expect-error to allow-with-description (#​2351) (a3f163a), closes #​2146
  • eslint-plugin: [no-unnecessary-condition][strict-boolean-expressions] add option to make the rules error on files without strictNullChecks turned on (#​2345) (9273441)
  • eslint-plugin: [typedef] remove all defaults (#​2352) (a9cd6fb)
  • eslint-plugin: add consistent-type-imports rule (#​2367) (58b1c2d)
  • typescript-estree: switch to globby (#​2418) (3a7ec9b), closes #​2398
BREAKING CHANGES
  • typescript-estree: - removes the ability to supply a RegExp to projectFolderIgnoreList, and changes the meaning of the string value from a regex to a glob.

    • Removed decorators property from several Nodes that could never semantically have them (FunctionDeclaration, TSEnumDeclaration, and TSInterfaceDeclaration)
  • Removed AST_NODE_TYPES.Import. This is a minor breaking change as the node type that used this was removed ages ago.

  • eslint-plugin: Default rule options is a breaking change.

3.10.1 (2020-08-25)

Bug Fixes
  • eslint-plugin: [no-unnecessary-condition] correct regression with unary negations (#​2422) (d1f0887), closes #​2421

Renovate configuration

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

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

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

@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch 18 times, most recently from b3d8824 to 7282568 Compare September 7, 2020 17:25
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch from 7282568 to 9f8e44c Compare September 8, 2020 07:30
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch from 9f8e44c to 2648ffb Compare September 8, 2020 15:07
@Thomaash Thomaash merged commit 242cabf into master Sep 8, 2020
@Thomaash Thomaash deleted the renovate/major-typescript-eslint-monorepo branch September 8, 2020 19:20
Thomaash added a commit that referenced this pull request Dec 22, 2020
* feat(build): use common build process

#144

* test(cypress): update for the new .d.ts structure
Thomaash added a commit that referenced this pull request Jan 7, 2021
* feat(build): use common build process

#144

* test(cypress): update for the new .d.ts structure
yotamberk pushed a commit that referenced this pull request Jan 8, 2021
* Implemented option `activatable` for Timeline and Graph2d

* Implemented `activatable` support for Network

* Renamed option `activatable` to `clickToUse`

* Renamed "Link" to "Edge" in manipulation menu

* removed mousetrap, added keycharm

* Fixed #448: added some styles to prevent conflicts with bootstrap css styles

* Fixed clickToUse

* Moved validator and ConfigurationSystem to ./lib/shared, and continue with options on error

* fixed bounding box bug, added function filter to configuration system

* Implemented configurator for Graph2d. Fixed Configurator displaying nothing when `filter: true`.

* more examples, more tweaks, small expansion of the validator to check locally for matches.

* fixed numerous clustering bugs, added more examples, numerous other bug fixes

* fixed alot of bugs, expanded configurator, added more examples, updated docs, updated update interval

* fixed little bug in configurator

* fixed #892, added case for any format

* added stochastic option check to the testing. Fixed few bugs

* Fixed #893, #911: the `clickToUse` option of Network, Graph2d, and Network was blocking click events in the web page.

* Fixed #897: Timeline option `{snap: null}` did give a validation error

* Removed left over console.log statement

* proper fix for validator locales

* Fixed #964: `Timeline`, `Graph2d`, and `Network` not working on IE9

* - Added getOptionsFromConfigurator method.

* added configChange event

* added popup to configurator to explain the behaviour

* - Improved the positioning and CSS of the configurator and the color picker.

* appended history, fixed getPositions, moved color backer back to container from document root

* fixes positioning of colorpicker BUT ALSO HAS A BUG

not sure but for some reason, once the colorpicker is open, the buttons won't work correctly and the huecircle jumps back.

* - Fixed upscaling when the window size increases.
- Accepted pull request #1544, thanks @felixhayashi!
- Fixed documented bug in #1544.

* added clearfix + updated example

See almende/vis#1568 (comment)

* - Added options to customize the hierarchical layout without the use of physics.
added example. Improved handling of options for hierarchical view.

* [Timeline] Added HTML tool-tip support (#2498)

* Added HTML tooltip support for Timeline

* Fixed tooltip position on Firefox

* Added Timeline tooltip example

* Updated tooltip location to be next to the mouse

* Added HTML element to example

* Fixed tool-tip surviving after item deleted (#2545)

* Added followMouse & overflowMethod to tooltip options (#2544)

- Also updated docs and examples for this
 - Fixed the positioning of the tooltip if groups was enabled
 - Removed missing parameters from Popup docstring

* replacing all ES6 imports with CJS require calls (#3063)

* replacing all ES6 imports with CJS require calls
resolves #2934
used the following regex to apply the changes in lib:
s/import\s+(\w+)\s+from\s+(.*);\s*$/var $1 = require($2).default;/
s/import\s+(\w+)\s+from\s+(.*)\s*$/var $1 = require($2).default;/

* cleaning up inconsistencies

* Refactoring and unit testing of Validator module (#3106)

* Added unit test for Validator, minimum viable version.

* Added test-console to package list

* Completed minimum viable unit test for Validator

* Added Validator unit test for explicit 'undefined'

* lint shared (#3309)

* lint shared

* Re-introduce semi-colons to () => {} variables in ColorPicker

* Removes redundant .eslintrc from graph3d, lints the rest of the code … (#3363)

* Removes redundant .eslintrc from graph3d, lints the rest of the code base, and enables valid-jsdoc lint rule

* Corrects lint violations

* Adds missing @extends/@constructor to jsdoc (#3372)

* Adds missing @extends for constructors

* Adds names to constructors

* Enables "ClassDeclaration" for require-jsdoc lint rule, and adds all missing class-level jsdoc (#3373)

* Enable jsdoc-require MethodDefinition (#3382)

* Enables require MethodDefinition for require-jsdoc lint rule and corrects 66% of missing Method Definitions

* Adds jsdoc for all remaining methods and corrects @class/@constructor documentation

* Define values more accurately

* Correct bugs that prevent jsdoc generation

* Fixed #3395: allow for multiline titles (#3396)

(#3395)

* Addresses code review comments from PR 3382 (#3398)

* Corrects usage of @static jsdoc annotation

* Correct unresolvable types

* Correct types in jsdoc and remove extraneous @Class & @constructor jsdoc

* Remove incorrect @static jsdoc

* Adds missing jsdoc for param copyFromGlobals

* correct jsdoc in util

* Corrects casing on jsdocs

* Swaps @inheritdoc to @ignore for constructors where constructor args are documented in the class

* Instantiates Errors with `new`

* Addresses improperly defined @callback tags.

* Split callbacks out to separate jsdoc

* Moves constructor jsdocs back to constructor and drop @ignore.

* Adjust for-in loops so they can deal with added properties in Array and Object prototypes (#3471)

* Added unit test for Array.prototype mangling - first passing version

* Enhanced unit test for prototype stressing to catch more illegal for-in loops

* Fixed all for-in linting violations

* Adding unit tests for lib/shared (#3600)

* Adds code coverage report the output of `npm test` and adds detailed html code coverage report using the command `npm run-script test-cov`

* Switch over to using functions in lib/ rather than dist/, so that code coverage stats are complete.

* Import vis at the top level to keep ItemSet passing

* Remove requirement for dist/vis in TimelineItemSet

* Adds tests for Popup

* Tests and sinon dependency introduced

* Code changes to modules to tighten up code

* Corrects broken tests and adds more tests to ColorPicker

* Adds additional tests to DataSet

* Adds tests for uuid

* Removes unused functions from util

* Adds tests for utils: recursiveDomDelete, isDate, convert and isType

* removes redundant code

* Adds additional util tests

* Address spacing, and unnecessary tests

* Correct test description

* Adds isDate tests

* Adds sanity check assertions to popup destroy tests

* use rollup instead of gulp/webpack (#1)

* chore: remove no longer needed bower.json

* chore: do not use gulp for linting

* chore: use individual js files for examples

* chore: change from require to import

* chore: use vis.min.js for basic examples for testing

* feat: use rollup to generate individual libs

* chore: remove gulp and its dependencies

* chore: add vscode mocha debug config

* fix: fix tests

* chore: move utils to vis-util repository

* add and improve test coverage (#8)

* Update vis-data and commit package-lock

* Prepare the package for TypeScript

* Update dependencies

* Fix coverage reports

* Fix Mocha never finishing

* New package lock (who knows why)

* Regenerate package lock

If anybody has any advice about merging package locks I'm all ears.

* Add coverage to root index.html

* Set up ESLint with Prettier for TS files

Prettier is not used for JavaScript files at the moment.

* Add tsconfig

* Install missing deps

* Fix ESLint config

* Add NodesHandler test

Brings the coverage from red/yellow to yellow/green numbers.

* chore(build): use Rollup to bundle CSS (#69)

* chore(build): bundle CSS using Rollup

* chore(package): remove no longer needed deps

* chore(dist): update

* fix(click-to-use): fix errors and styling (#132)

Closes #121.

* feat(build): add standalone and peer builds (#85)

* feat(build): add standalone and peer builds

* chore(dist): update

* style: reformat new files

* fix(build): update to core-js 3

Also ditches rollup-plugin-babel-minify in favor of directly configuring
babel plugin as the former doesn't work with core-js 3.

* fix(build): make it actually work without errors

* chore(dist): update

* chore(package): fix clean script

It missed all the new vis-network.* files. Now it deletes them.

* fix(build): use folder structure instead of big mess

* chore(types): remove useless d.ts file

I have no idea why I put it there, it's not imported from anywhere.

* fix(build): fix image copying and watch

* chore(examples): use standalone build

* chore(examples): add standalone/peer build examples

* fix(build): get rid of default import from util

Every UMD package overwrites the default and breaks everything. This
will work as long as no two packages use the same name for one of their
exports (seems to be the case right now).

* fix(build): don't reexport data and util from peer

DataSet, utils etc. can't be reexported because that would cause stack
overflow in UMD builds. They all export vis namespace therefore
reexporting leads to loading vis to load vis to load vis…

* chore(dist): update

* fix(build): update d.ts files for recent changes

* chore(examples): fix script and style paths

* style: reformat

* chore(examples): add code examples to basic usage

* chore(examples): add new builds examples to the index

* chore(examples): add legacy build example

* chore(examples): fix URL errors

* docs: update how to

* docs: fix typo

* fix(build): don't capitalize nonconstructor objects

* docs: update Gephi and DOT exports

* chore(dist): update

* chore(build): transpile dependencies

This ensures that all dependencies match our browser list.

* chore(dist): update

* chore(build): don't ignore declarations

* chore(dist): update

* chore(build): use concat instead of flatMap

This greatly increases compatibility as Array.prototype.flatMap is quite
new and only recently supported by Node.

* chore(build): add styles to files

* chore(scripts): clean all generated files

* feat(physics): add wind (#334)

“Wind”: a physics force that pushes all node in a given direction.

* feat(build): use common build process (#526)

* feat(build): use common build process

#144

* test(cypress): update for the new .d.ts structure

* perf: use more named imports and rewrite some CJS to ESM (#818)

* perf: use only named imports (mainly) from Vis Util

This slims down the standalone build by about 165 kB (due to an error in
importing, we had two copies of Vis Util so only about 60 kB is thanks
to named exports).

* perf: rewrite some more code to ESM + named imports

* style: lint JS (#885)

* style: reconfigure linting

* style: fix linting errors

* style: prefer const over let and let over var

* style: eslint --fix

* style: fix linting errors

Co-authored-by: Vis Bot <[email protected]>

* style: prohibit trailing spaces (#901)

* style: prohibit traling spaces

Trailing spaces are invisible to some and annoying to others. Also some
editors remove them by default which leads to weird unrelated changes in
PRs and then misleading git blame or annoying exchanges with
contributors about restoring the spaces.

Reformating also changes what git blame reports but with commits like
“style: eslint --fix” it's immediately obvious what happened.

* style: eslint --fix

Co-authored-by: Vis Bot <[email protected]>

* style: lint lib (#1059)

* style: include lib in linting

* style: reformat

* style: manual tweaks

Co-authored-by: Vis Bot <[email protected]>

* fix: purge instanceof Array from the codebase (#1131)

Array.isArray works with arrays that came from other contexts like web
workers, instanceof Array wouldn't consider such array to be an array
even though it is perfectly valid array.

* refactor(activator): various changes (#1254)

Remove the dependency on Keycharm: All it really did was translate
`"esc"` to `event.keyCode === 27` (which is deprecated by the way). We
can just use `"key" in event ? event.key === "Escape" : event.keyCode
=== 27` instead of Keycharm and not relly solely on depracated APIs.

Remove the use of `addClassName` and `removeClassName`: These basically
polyfill IE9 and it's contemporaries (this is Windows Vista, iOS 4.3 and
Android Gingerbread era) which we don't otherwise polyfill so they don't
work one way or another.

Various other minor refactoring such as prefixing private properties
with underscore.

* fix(xss): don't use innerHTML to set text (#1242)

We had a lot of instances of innerHTML that were simply setting text, in
quite a few cases parsing it as HTML was even counter productive as it
could theoreticly result in syntax errors and corrupted output (e.g. the
output of JSON.stringify definitely shouldn't be parsed as HTML).

There is only one occurence of innerHTML left and that is for the
node/edge title as the docs clearly state that any string passed will be
parsed as HTML.

* refactor(shared): prepare shared folder and hammer module for extraction (#1255)

* refactor: rework all imports and exports to ESM

* refactor(color-picker): inline onTouch from hammerUtil

Similarly as with the Activator, it was used only for one very simple
thing so there isn't really a need to drag this over to Vis Util.

* refactor(hammer): move it into shared

Everything from shared will be moved to Vis Util so that it can be
shared among all of the projects. The code in shared already depends on
Hammer heavily so it needs to be there. Vis Util can export this
together with the other shared stuff.

* refactor(shared): turn into an encapsulated module

This way it will be quite easy to import from Vis Util later on.

* refactor(configurator): final refactoring before extraction (#1262)

* refactor(configurator): final refactoring before extraction

- Exctract hardcoded physics solver and wind code from the configurator into reusable hideOptions function passed in the constructor.
- Add TS types explicitly declaring the structure of the input (in other words: formally declare the API of the configurator).

* chore: update copyright

* refactor(shared): move into src

* refactor(shared): integrate into the codebase

* fix(shared)!: don't interpret popup as HTML by default

BREAKING CHANGE: This fixes potential XSS issues that recless people may
unintentionally introduce. Those who sanitize the HTML or have other
strategy (e.g. hardcoded HTML) to prevent XSS (or don't care) can pass
an element.

Co-authored-by: jos <[email protected]>
Co-authored-by: Alex de Mulder <[email protected]>
Co-authored-by: Alex de Mulder <[email protected]>
Co-authored-by: Felix Hayashi <[email protected]>
Co-authored-by: Lewis B <[email protected]>
Co-authored-by: Pat Sissons <[email protected]>
Co-authored-by: wimrijnders <[email protected]>
Co-authored-by: macleodbroad-wf <[email protected]>
Co-authored-by: michel404 <[email protected]>
Co-authored-by: Alexander Wunschik <[email protected]>
Co-authored-by: Alexander Wunschik <[email protected]>
Co-authored-by: ylarom <[email protected]>
Co-authored-by: Vis Bot <[email protected]>
@vis-bot
Copy link
Collaborator

vis-bot commented Jan 8, 2021

🎉 This PR is included in version 5.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants