profile
viewpoint
Cody Olsen stipsan FINN.no Oslo, Norway https://twitter.com/stipsan I'm a JS developer that used to be a designer a long long looooooooong time ago! Coder by day, Open Sourcerer by night 👀

downshift-js/downshift 8834

🏎 A set of primitives to build simple, flexible, WAI-ARIA compliant React autocomplete, combobox or select dropdown components.

stipsan/ioredis-mock 163

Emulates ioredis by performing all operations in-memory.

stipsan/compute-scroll-into-view 123

Utility for calculating what should be scrolled, how it's scrolled is up to you

stipsan/bulma-loader 33

A Webpack loader for Bulma, a modern CSS framework based on Flexbox

stipsan/epic 21

React example project, that takes you from fun development to high quality production

stipsan/Element.Style.Transform.js 9

Provides a cross browser way of letting you use the CSS3 transform property. Inspired by http://github.com/zachstronaut/jquery-css-transform

stipsan/gulp-md5-assets 4

md5 plugin for gulp

stipsan/express-pretty-error 1

Express compatible middleware for pretty errors in html, json, raw text, css and terminal contexts with stack traces included!

stipsan/graphql-field-resolver-to-typescript 1

Export ts definitions from your server .graphql files to strictly type your field resolvers

stipsan/gulp-purge-sourcemaps 1

Cleans up after gulp-sourcemaps have done a sourcemaps.write() allowing you to combine streams that generate both dev assets with sourcemaps and minified production assets.

push eventstipsan/hyperfokus

Cody Olsen

commit sha 6c49f1d7879778e0af11a4bc857eff9856e306f6

refactor: run next codemod

view details

push time in 11 hours

push eventstipsan/hyperfokus

Cody Olsen

commit sha 986ca65efbcd1c46860b1c36e4e0278397652e34

refactor: remove workaround

view details

push time in 11 hours

push eventstipsan/hyperfokus

Cody Olsen

commit sha 9b26ab66293aefc953736288cb905108e8bf4332

refactor: workaround no longer needed

view details

push time in 11 hours

issue closedstipsan/ioredis-mock

ioredis getset doesn't return null when saving new sets

Accordingly, the official Redis docs when you save a new set it should return a nil value instead of an empty string.

The current behaviour could seem here

closed time in 15 hours

jeanrauwers
PullRequestReviewEvent

push eventstipsan/ioredis-mock

Cody Olsen

commit sha 03953ea0636f2c8fa0d1e48aaedfc4784f58bafc

refactor: move from mocha to jest (#1002)

view details

push time in a day

delete branch stipsan/ioredis-mock

delete branch : migrate-to-jest

delete time in a day

push eventstipsan/ioredis-mock

Cody Olsen

commit sha e5723f78e6f623d5105b8d34d48ab79b43fb0f35

Update config.yml

view details

push time in 2 days

push eventstipsan/ioredis-mock

Cody Olsen

commit sha a4a2b8c103bcd36744b30e1978b90b8323138a60

Update README.md

view details

push time in 2 days

push eventstipsan/ioredis-mock

Cody Olsen

commit sha ba59acaf55baeb3f4d3c2156eab9f85576ae26ff

Update ci.yml

view details

push time in 2 days

push eventstipsan/ioredis-mock

Cody Olsen

commit sha e2c7190f9951f1eba2603157a680527f8025bf9f

collect coverage correctly

view details

push time in 2 days

push eventstipsan/ioredis-mock

Cody Olsen

commit sha 110adb813082620cbb449864f7fc1a4b02e6ca70

Update yarn.lock

view details

push time in 2 days

push eventstipsan/ioredis-mock

renovate[bot]

commit sha 7d0dcbf1721b6baf89e97980b434a8f0f974cd1e

chore(deps): update actions/checkout action to v2 (#1000) Co-authored-by: Renovate Bot <bot@renovateapp.com>

view details

push time in 2 days

PR merged stipsan/ioredis-mock

chore(deps): update actions/checkout action to v2

This PR contains the following updates:

Package Type Update Change
actions/checkout action major v1 -> v2

Release Notes

<details> <summary>actions/checkout</summary>

v2

Compare Source

</details>


Renovate configuration

:date: Schedule: "before 3am on Monday" (UTC).

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

: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.


  • [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

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

+2 -2

1 comment

2 changed files

renovate[bot]

pr closed time in 2 days

delete branch stipsan/ioredis-mock

delete branch : renovate/actions-checkout-2.x

delete time in 2 days

PR closed stipsan/ioredis-mock

chore(deps): lock file maintenance

This PR contains the following updates:

Update Change
lockFileMaintenance All locks refreshed

:wrench: This Pull Request updates lock files to use the latest dependency versions.


Renovate configuration

:date: Schedule: "before 3am on the first day of the month" (UTC).

:vertical_traffic_light: Automerge: Enabled.

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

:ghost: Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

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

+67 -204

1 comment

1 changed file

renovate[bot]

pr closed time in 2 days

push eventstipsan/ioredis-mock

renovate[bot]

commit sha c8b1cfa66eb0c82ddaae024bede6f27eac2e09e8

chore(deps): update linters (#995) Co-authored-by: Renovate Bot <bot@renovateapp.com>

view details

Cody Olsen

commit sha 8182e19bd6d2ba0eda26a2296300d7a8d6428e3a

Merge branch 'master' into migrate-to-jest

view details

push time in 2 days

PR opened stipsan/ioredis-mock

refactor: move from mocha to jest
+115 -381

0 comment

149 changed files

pr created time in 2 days

push eventstipsan/ioredis-mock

Cody Olsen

commit sha 0e5ba9b925f091380952aebeb5a447217ba26cb9

chore: sync eslint

view details

Cody Olsen

commit sha c665e614db1680dec1dec6e2b625b2c26a6572db

chore: moving to jest

view details

push time in 2 days

push eventstipsan/ioredis-mock

Cody Olsen

commit sha bbbc699880cf226b9818a0c5cc3993d7f97eeeba

refactor: run npx jest-codemods

view details

push time in 2 days

create barnchstipsan/ioredis-mock

branch : migrate-to-jest

created branch time in 2 days

pull request commentstipsan/ioredis-mock

fix: require node v10 and above

:tada: This PR is included in version 5.0.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

stipsan

comment created time in 2 days

pull request commentstipsan/ioredis-mock

chore(deps): update dev dependency mocha to ^8.2.0

:tada: This PR is included in version 5.0.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

renovate[bot]

comment created time in 2 days

pull request commentstipsan/ioredis-mock

chore(deps): update dev dependency eslint to ^7.11.0

:tada: This PR is included in version 5.0.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

renovate[bot]

comment created time in 2 days

pull request commentstipsan/ioredis-mock

chore(deps): update babel monorepo

:tada: This PR is included in version 5.0.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

renovate[bot]

comment created time in 2 days

pull request commentstipsan/ioredis-mock

chore(deps): lock file maintenance

:tada: This PR is included in version 5.0.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

renovate[bot]

comment created time in 2 days

release stipsan/ioredis-mock

v5.0.0

released time in 2 days

created tagstipsan/ioredis-mock

tagv5.0.0

Emulates ioredis by performing all operations in-memory.

created time in 2 days

push eventsibelius/ioredis-mock

Cody Olsen

commit sha 2da1aa662d912d41ea9eee7ccc329913295b42d4

fix: require node v10 and later (#998) BREAKING CHANGE: node v9 and older is no longer supported. They were soft dropped a long time ago, as the oldest version our node testing suite can run on is v10. But it's now being hard-dropped and the babel generated output will no longer target `v0.10.16`. Only node versions that receive security patches will be supported moving forward.

view details

Cody Olsen

commit sha e2dc1d501c2a2bb9affcdc7bc40604b8f1ff5948

Merge branch 'master' into fix/channels

view details

push time in 2 days

push eventstipsan/ioredis-mock

Cody Olsen

commit sha 2da1aa662d912d41ea9eee7ccc329913295b42d4

fix: require node v10 and later (#998) BREAKING CHANGE: node v9 and older is no longer supported. They were soft dropped a long time ago, as the oldest version our node testing suite can run on is v10. But it's now being hard-dropped and the babel generated output will no longer target `v0.10.16`. Only node versions that receive security patches will be supported moving forward.

view details

push time in 2 days

delete branch stipsan/ioredis-mock

delete branch : prettier-fix

delete time in 2 days

PR merged stipsan/ioredis-mock

fix: require node v10 and above

We've transpiled for node v0.10.16 for quite some time. We started off by supporting the same versions of node as ioredis itself, even though it's caused some disadvantages. Like locking us to mocha, as jest and other test frameworks don't work on old versions that lost support long ago.

This PR will bump our transpilation to require node v10 and later, as it's the oldest version still receiving security patches and it'll allow us to use different testing frameworks and make wide codebase refactors much much easier to do.

+853 -735

1 comment

192 changed files

stipsan

pr closed time in 2 days

push eventstipsan/ioredis-mock

Cody Olsen

commit sha a1a9b20d1c89af5699ce77690e658845c211923f

fix: bump node

view details

push time in 2 days

push eventstipsan/ioredis-mock

Cody Olsen

commit sha 8b23ad7f24c70fa0ef6939870f842f32d065f817

fix: use es6

view details

push time in 2 days

PR opened stipsan/ioredis-mock

fix: require node v10 and above

We've transpiled for node v0.10.16 for quite some time

+842 -727

0 comment

188 changed files

pr created time in 2 days

create barnchstipsan/ioredis-mock

branch : prettier-fix

created branch time in 2 days

pull request commentpodium-lib/utils

Add react support to assets

@digitalsadhu yes it does :)

digitalsadhu

comment created time in 2 days

issue commentstipsan/ioredis-mock

Pub/sub setup not consistent with ioredis

@nmargaritis actually it would be amazing if we had that setup running here. We could run the same tests in both environments and use the ioredis with redis on docker to verify that the mock is behaving in the same way 😄

nmargaritis

comment created time in 2 days

pull request commentstipsan/ioredis-mock

fix(pubsub): try to share same config data among redis instances, fix…

it should be enough, however, I ran into a lot of errors in the testing suite. It's unclear exactly what the cause is, so I added the export of RedisContextMap as a temporary fix while going over the tests to find out why they're failing.

sibelius

comment created time in 2 days

pull request commentstipsan/ioredis-mock

fix(pubsub): try to share same config data among redis instances, fix…

If you make these changes you'll be able to control the cleanup logic between tests:

A tests/hooks.js:

/* eslint-disable no-unused-vars */
import * as MockRedis from '../src';

export const mochaHooks = {
  afterEach(done) {
    // @TODO just a temporary workaround
    MockRedis.RedisContextMap.clear();

    // onst redis = new MockRedis();
    // redis.flushall().finally(() => done());
  },
};

M package.json:

-"test": "nyc mocha --require @babel/register --recursive",
+"test": "nyc mocha --require @babel/register --require test/hooks --recursive",

M src/index.js:

-const RedisContextMap = new Map();
+export const RedisContextMap = new Map();
sibelius

comment created time in 2 days

push eventstipsan/hyperfokus

renovate[bot]

commit sha ebf9463b67f750cf583b8dc75bd53c8f81f95dd2

fix(deps): update dependency next to ^9.5.6-canary.8 (#219) Co-authored-by: Renovate Bot <bot@renovateapp.com>

view details

push time in 3 days

delete branch stipsan/hyperfokus

delete branch : renovate/nextjs-monorepo

delete time in 3 days

PR merged stipsan/hyperfokus

fix(deps): update dependency next to ^9.5.6-canary.8

This PR contains the following updates:

Package Type Update Change
next (source) dependencies patch ^9.5.6-canary.6 -> ^9.5.6-canary.8

Release Notes

<details> <summary>vercel/next.js</summary>

v9.5.6-canary.8

Compare Source

Core Changes
  • Ensure root index GSP page's revalidate is recorded: #​18053

v9.5.6-canary.7

Compare Source

Core Changes
  • Remove multi-host support for image component and support quality pass-through: #​18038
  • Add width and height props to Image component: #​18031
Credits

Huge thanks to @​atcastle and @​styfle for helping!

</details>


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.


  • [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

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

+25 -25

0 comment

2 changed files

renovate[bot]

pr closed time in 3 days

pull request commentstipsan/ioredis-mock

fix(pubsub): try to share same config data among redis instances, fix…

For starters whenever flushall or flushdb is called, that's the right time to clear the data in the map. In fact ioredis itself is calling FLUSH ALL between each test in its own integration suite: https://github.com/luin/ioredis#running-tests

It's a bit tricky to define after use. The goal is after all to be as aligned to the real world behavior of ioredis and redis as possible. I'm not sure we can clear the map automatically without breaking that contract.

sibelius

comment created time in 3 days

pull request commentstipsan/ioredis-mock

fix(pubsub): try to share same config data among redis instances, fix…

Alright, step 1, we need to do a flush all between each testing suite 🤔

sibelius

comment created time in 3 days

issue commentstipsan/ioredis-mock

Pub/sub setup not consistent with ioredis

Yep it needs a rethink. I'd prefer setters and getters instead of calling this.getData() in the commands. The way things are mutating this.data in the various commands are also a problem. Right now we're somewhat "protected" against race conditions since each instance of the client has its own data, channel etc. Changing it to only be isolated if the server connection don't match we're far more susceptible to said race conditions. To avoid them I'd like to run JSON.parse(JSON.stringify()) whenever the data is fetched, to ensure that between the getter and the setter things can't unexpectedly mutate.

As for the Map that handles each "instance" based on connection options we could serialize the options to the redis format URL: https://github.com/luin/ioredis#connect-to-redis

nmargaritis

comment created time in 3 days

issue commentstipsan/ioredis-mock

Pub/sub setup not consistent with ioredis

Historically they've not been shared, and required the createConnectedClient opt-in, as it was the simplest way to implement it.

The right way to implement it would be to reuse the same expires, data, channels, and patternChannels properties for matching connection options. This would bring us much closer to real-world behavior.

In other words it would be super useful if ioredis-mock could do this:

const redis1 = new Redis();
const redis2 = new Redis(6379);
const redis3 = new Redis('127.0.0.1');
const redis4 = new Redis({ port: 6379, host: '127.0.0.1' });
// Different port, which signals a diff server and shouldn't share props with the others
const redis5 = new Redis(6380);

await redis.set('foo', 'bar');

await Promise.all([
  redis1.get('foo'),
  redis2.get('foo'),
  redis3.get('foo'),
  redis4.get('foo'),
  redis5.get('foo'),
]); // ["bar", "bar", "bar", "bar", undefined]

Then we could finally deprecate createConnectedClient 😄 I don't have time to work on this myself anytime soon, I can only look at PRs coming in :/

nmargaritis

comment created time in 3 days

issue commentstipsan/ioredis-mock

Pub/sub setup not consistent with ioredis

@sibelius yes we should, and PRs for that functionality is welcome 🙂

nmargaritis

comment created time in 3 days

push eventeik-lib/microbundle

Cody Olsen

commit sha d9b38146df9370cf75a6e2bca5f93bf4fdc4106b

0.2.10

view details

push time in 4 days

push eventeik-lib/microbundle

renovate[bot]

commit sha 7f10984102956a0c7940bc3d170afd606d4a3408

fix(deps): update dependency @eik/postcss-import-map to v1.2.2 (#12) Co-authored-by: Renovate Bot <bot@renovateapp.com>

view details

push time in 4 days

delete branch eik-lib/microbundle

delete branch : renovate/eik-postcss-import-map-1.x

delete time in 4 days

PR merged eik-lib/microbundle

fix(deps): update dependency @eik/postcss-import-map to v1.2.2

This PR contains the following updates:

Package Type Update Change
@eik/postcss-import-map dependencies minor 1.0.0 -> 1.2.2

Release Notes

<details> <summary>eik-lib/postcss-import-map</summary>

v1.2.2

Compare Source

Bug Fixes
  • try again to make the filter work (9e89a10)

v1.2.1

Compare Source

Bug Fixes
  • replace resolve workaround with filter (7b0dd77)

v1.2.0

Compare Source

Features
  • add utility for integrating with postcss-import (6fcbf06)

v1.1.0

Compare Source

Features

</details>


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.


  • [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

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

+4 -4

0 comment

2 changed files

renovate[bot]

pr closed time in 4 days

push eventstipsan/svgdiff

renovate[bot]

commit sha 2102b59ece3f02f80fcea8c6db68fb5768b64563

Update dependency next to v9 [SECURITY] (#223) * Update dependency next to v9 [SECURITY] * chore: fix * fix Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Cody Olsen <cody.olsen@finn.no>

view details

push time in 8 days

delete branch stipsan/svgdiff

delete branch : renovate/npm-next-vulnerability

delete time in 8 days

PR merged stipsan/svgdiff

Update dependency next to v9 [SECURITY]

This PR contains the following updates:

Package Type Update Change
next (source) dependencies major ^8.1.0 -> ^9.0.0

GitHub Vulnerability Alerts

CVE-2020-5284

Impact

  • Not affected: Deployments on ZEIT Now v2 (https://zeit.co) are not affected
  • Not affected: Deployments using the serverless target
  • Not affected: Deployments using next export
  • Affected: Users of Next.js below 9.3.2

We recommend everyone to upgrade regardless of whether you can reproduce the issue or not.

Patches

https://github.com/zeit/next.js/releases/tag/v9.3.2

References

https://github.com/zeit/next.js/releases/tag/v9.3.2


Release Notes

<details> <summary>vercel/next.js</summary>

v9.3.2

Compare Source

This upgrade is completely backwards compatible and recommended for all users on versions below 9.3.2. For future security related communications of our OSS projects, please join this mailing list.

Next.js has just been audited by one of the top security firms in the world.

They found that attackers could craft special requests to access files in the dist directory (.next).

This does not affect files outside of the dist directory (.next).

In general, the dist directory only holds build assets unless your application intentionally stores other assets under this directory.

We recommend upgrading to the latest version of Next.js to improve the overall security of your application.

How to Upgrade

  • We have released patch versions for both the stable and canary channels of Next.js.
  • To upgrade run npm install next@latest --save

Impact

  • Not affected: Deployments on ZEIT Now v2 (https://zeit.co) are not affected
  • Not affected: Deployments using the serverless target
  • Not affected: Deployments using next export
  • Affected: Users of Next.js below 9.3.2 that use next start

We recommend everyone to upgrade regardless of whether you can reproduce the issue or not.

How to Assess Impact

If you think sensitive code or data could have been exposed, you can filter logs of affected sites by ../ with a 200 response.

What is Being Done

As Next.js has grown in popularity, it has received the attention of security researchers and auditors. We are thankful to Luca Carettoni from Doyensec for their investigation and discovery of the original bug and subsequent responsible disclosure.

We've landed a patch that ensures only known filesystem paths of .next/static are made available under /_next/static. Regression tests for this attack were added to the security integration test suite.

  • We have notified known Next.js users in advance of this publication.
  • A public CVE was issued.
  • If you want to stay on top of our security related news impacting Next.js or other ZEIT projects, please join this mailing list.
  • We encourage responsible disclosure of future issues. Please email us at mailto:security@zeit.co. We are actively monitoring this mailbox.

Patches
  • Add Numeric Separator Support for TypeScript: #​11308
  • Update CLI custom config documentation link: #​11152
  • Add error when attempting to export GSSP page: #​11154
  • Update blog-starter example: #​11071
  • Add CSS file to build output: #​11145
  • Update <dir> reference in help text: 5274535
  • Clean up examples directory: #​11169
  • Remove react-ssr-prepass alias as it&#​39;s not longer needed: #​11170
  • Upgrade @​ampproject/toolbox-optimizer to 2.0.1: #​11168
  • Add section on reading files: #​11084
  • [Examples] fix remark link in blog-starter&#​39;s README: #​11177
  • Updated with-typescript example to SSG: #​11081
  • Add CMS example for Sanity: #​10907
  • Group CSS files in shared build output separate from JS files: #​11184
  • Updating min nodejs requirement: #​11181
  • Docs(ssr): req is an IncomingMessage instance, not HttpRequest: #​11194
  • Add support for baseUrl option in tsconfig and jsconfig: #​11203
  • [Example] with-passport: #​10529
  • CMS TakeShape Example: #​11038
  • Ensure hybrid AMP works correctly with SSG: #​11205
  • Update mocha example with yml configuration.: #​11214
  • Fix with-firebase-cloud-messaging example setup code: #​10686
  • Update wording of new data fetching methods recommendation: #​11221
  • Updated Api Routes Middleware example to use getServerSideProps: #​11128
  • With Firebase Client-Side example: #​11053
  • Docs(example): Load basic-css example on codesandbox: #​11227
  • Remove mkdirp, bump fs-extra to 9.0.0: #​11251
  • Add support for paths in tsconfig.json and jsconfig.json: #​11293
  • Add test for single alias: #​11296
  • Update GIP docs: #​11303
  • Add custom amp optimizer and skip validation mode: #​10705
  • Update handling for ENOENT from GSSP methods: #​11302
  • Docs: clarify how to customize next/babel presets: #​11316
  • Fix assignment of props in WithApollo.getInitialProps: #​11236
  • Fix: typo in isStaging in with-env example: #​11305
  • Skip paths that are routed to a .d.ts file: #​11322
  • Upgrade loader-utils: #​11324
  • Fix warning for API routes with next export: #​11330
  • Make sure to copy AMP SSG files during export: #​11331
  • Just a small typo I think, right?: #​11344
  • [docs] Mention our channels: #​11336
  • Use records to init store: #​11343
  • Update data-fetching.md: 074c60e
  • Fix preview-mode docs/examples typo: #​11345
  • Update to prevent re-using workers for getStaticPaths in dev mode: #​11347
Credits

Huge thanks to @​chibicode, @​ijjk, @​timneutkens, @​sebastianbenz, @​zhe, @​shaswatsaxena, @​prateekbh, @​vvo, @​lfades, @​bbortt, @​aviaryan, @​mgranados, @​julianbenegas, @​gregrickaby, @​dulmandakh, @​yosuke-furukawa, @​tinymachine, @​bgoerdt, @​nicolasrouanne, @​filipesmedeiros, @​rishabhsaxena, and @​queq1890 for helping!

v9.3.1

Compare Source

Patches
  • Correctly Count Object References: #​10903
  • Add warning when built-in CSS/SCSS support is disabled: #​10942
  • Add missing words in docs: #​10941
  • Update handling for patterns in custom routes: #​10523
  • Remove extra closing parenthesis: #​10948
  • Fix paths.params.type in getStaticPaths(document): #​10959
  • Check SSG Page via Route Lookup: #​10971
  • Make sure to not show pages/404 GIP error from _app having GIP: #​10974
  • Fix examples with relay-compiler: #​10976
  • Use core-js promise polyfill for nomodule browsers: #​10985
  • Improve Sass Error: #​10982
  • Add support for getStaticProps in pages/404: #​10984
  • Cms-datocms SerializableError fixes: #​10986
  • Fix Lint: 39ed664
  • Generic form of GetStaticProps and GetServerSideProps: #​10856
  • Add Array.flat polyfill to nomodule-polyfills: #​11004
  • Add "noreferrer" to the prerender indicator doc link: #​11005
  • Update RegExp test and remove extra script: #​11006
  • Update data-fetch example to SSG: #​11017
  • Feat: update api-routes example to SSG: #​11019
  • Fix Test for Windows: c135830
  • Update amp-first example to use GSSP: #​11028
  • Update with-zeit-fetch example to use SSG: #​11026
  • Update next-sass example to use built-in sass support: #​11015
  • Correct Cache-Control Behavior for GS(S)P: #​11022
  • Update custom-server-fastify example to not use internal fn: #​11040
  • Updated analyze-bundles example: #​11031
  • Use getServerSideProps for example: #​11057
  • Update custom-server-express example with getServerSideProps: #​11035
  • Upgrade next.js version on datocms example: #​11039
  • Update with-loading example to SSG: #​11050
  • Update form handler example: #​11059
  • Add support for static 404 when _error does not have custom GIP: #​11062
  • Update ssr-caching example with getServerSideProps: #​11032
  • Upgrade styled-jsx: #​11070
  • Update preset.ts: Remove any and use updated Node.js types: #​11075
  • Update @​next/bundle-analyzer dependencies: #​11068
  • Update introduction.md: #​11092
  • Fix prettier linting: a231315
  • Add experimental support for SCSS options: #​11063
  • Update API routes documentation to correctly mention middlewar…: #​11083
  • Update with-react-multi-carousel example to use GSSP: #​11069
  • Move public directory for development in examples/with-firebas…: #​11085
  • Update examples to use getStaticProps where possible: #​11136
Credits

Huge thanks to @​ijjk, @​chibicode, @​5alidz, @​watanabeyu, @​messa, @​timneutkens, @​followbl, @​herrstucki, @​danlutz, @​Spy-Seth, @​asotoglez, @​josiahwiebe, @​ragingwind, @​ruisaraiva19, @​SarKurd, @​bobaaaaa, @​akhila-ariyachandra, @​lfades, @​matamatanot, @​JazibJafri, @​tomdohnal, @​carlospavanetti, @​giuseppeg, @​lifeiscontent, @​7ma7X, @​PaulHale, @​john015, and @​petamoriken for helping!

v9.3.0

Compare Source

Minor Changes
Patches
  • Adds a missing dependency: #​10570
  • Add missin create permission for faunadb example: #​10575
  • Decrease number of expected preloads in safari: #​10578
  • Make sure to handle rejection when prefetching pages: #​10579
  • Add NextApiHandler type: #​10573
  • Update error message for invalid return value from getStaticPaths: #​10580
  • Update to latest watchpack with dynamic route rename fix: #​10351
  • Bump amphtml-validator to 1.0.30: #​10588
  • Add Failing CSS Test Case: #​10590
  • Do not cache 404 SSR responses: #​10596
  • Fix Nested Index Dynamic Routes in Development: #​10595
  • Emit ES5 Friendly Code in Program#exit Visitor: #​10591
  • Fixed pathname check in router: #​10547
  • Use clearInterval instead of clearTimer on a timer: #​10597
  • Fix AMP Validator Version: #​10600
  • Fix: Improve grammar of apollo.js comments: #​10601
  • Clean up landed experimental flags: #​10593
  • Updated links: #​10604
  • Add err.sh for invalid getStaticPaths return value: #​10605
  • Remove extra whitespace: 80bdf73
  • Upgrade next-transpile-modules to latest everywhere: #​10607
  • Disable setImmediate polyfill: #​10612
  • Add navigation test specific for Safari 10: #​10616
  • Make sure to handle failing to load _error: #​10617
  • Update legacy safari test for GitHub actions: #​10618
  • Add err.sh for getStaticProps error: #​10619
  • Add error messages for dynamic SSG page without getStaticPaths: #​10620
  • Remove next/link from chakra-ui example: #​10625
  • Update error-load-fail test to use check to handle reload taking longer on windows: #​10631
  • Remove deprecated static folder: #​10632
  • Fix Cookie Expiration: #​10634
  • Preview Mode Should Not Cache: #​10636
  • Invalidate cache for link[preload] in dev for CSS files: #​10630
  • Update link to GitHub Discussions beta: b331338
  • Make sure to log errors from data fetching in dev mode in the console: #​10652
  • Fix typo in invalid getStaticPaths value example: #​10657
  • Update with-mobx-keystone-typescript example: #​10638
  • Test Prerender in Emulated Serverless Mode: #​10660
  • Improve Nested Catch-All Coverage: #​10659
  • Fix Double URL Encoding for Serverless: #​10663
  • Add calling getStaticPaths in development before showing fallback: #​10611
  • Show better error when non-array is returned from custom-routes: #​10670
  • Update error load fail test so that webdriver can still connect to app: #​10673
  • Rename zeit.co/new → zeit.co/import: #​10674
  • Update example "with-typescript-graphql": #​10637
  • Create config.yml: cedd6fa
  • Update 1.Bug_report.md: fc9f18d
  • Fix apollo example: #​10696
  • Update head-manager to compress better: #​10687
  • Update README.md: c0f4283
  • Make sure rewrites are handled in serverless mode correctly: #​10697
  • Update url prop handling for pages with new data methods: #​10653
  • Add dataRoutes field to routes-manifest for SSG and serverProps routes: #​10622
  • Ability to Disable SSG Fallback: #​10701
  • Fix Error Message: 663f5c4
  • Add --example=<github-url> to create-next-app: #​10226
  • Rename getServerProps to getServerSideProps: #​10722
  • Remove unstable_ prefix from new methods: #​10723
  • Fix buildId being escaped breaking test with certain build ids: #​10728
  • Fix url-polyfill dep and re-enable native-url: #​10726
  • Extract sendPayload and prepareServerlessUrl: #​10732
  • Extract getStaticPaths helper: #​10731
  • Remove old eslint-ignores from unstable_ prefix: #​10740
  • Move upgrading guide to /docs: #​10727
  • Adding new types of performance monitoring: #​10421
  • Separate Low Priority Files from Main Files: #​10756
  • Consistently Type GS(S)P: #​10757
  • Correctly Dedupe Prefetching: #​10758
  • Add params to getStaticProps on err.sh: #​10751
  • Updating links to dynamic-routes section of docs: #​10759
  • Remove dangerousAsPath from RenderOpts: #​10773
  • Remove Dead Code from Next Server: #​10772
  • Examples: react-native-web: fix config to prefer .web.* exts: #​10774
  • Fix RenderOpts in next-server: #​10776
  • Fix next/config module mismatch in new serverless mode: #​10792
  • Remove old env from workflow since it is replaced with WebHook: #​10798
  • Measure getStaticProps, getServerSideProps: #​10800
  • Throw NoFallbackError instead of returning: #​10793
  • Add identifier to NEXT_DATA for gs(s)p: #​10812
  • Update to output jest data for posting failed tests comment: #​10814
  • Fix(cli): inspect flag is deprecated: #​10819
  • Update to make sure preview mode works with getServerSideProps: #​10813
  • Send Credentials for getServerSideProps Requests: #​10826
  • Update release stats with different name from pr stats: #​10827
  • Add docs for static 404 and pages/404: #​10811
  • Make sure to error when setting too large of preview data: #​10831
  • Ensure an accessible default viewport meta tag: #​10823
  • Update Pages and Data Fetching docs for SSG improvements: #​10837
  • Update Custom Server README&#​39;s: #​10843
  • Fix data fetching learn more links: a61dfb2
  • Re-add Sass Docs: #​10850
  • Update README-template.md: 69ba793
  • Fix getStaticPaths modules being cached in dev mode: #​10852
  • Add example for why-did-you-render: #​10662
  • Update method for attaching GS(S)P identifier to page: #​10859
  • Fix getServerSideProps Test Case: #​10862
  • Fix Prerender Test Cases: #​10861
  • Add Test Case for SSG Full Re-Export: #​10864
  • Test child_process with API route: #​10872
  • Typo on preview mode documentation: #​10892
  • Fix getStaticPaths example code: #​10893
  • Fix linting of markdown documentation: 83b4fd1
  • DatoCMS Example: #​10891
  • Upgrade webpack: #​10895
  • Fix Azure Pipelines: #​10896
  • Add demo URL for the DatoCMS example: #​10901
Credits

Huge thanks to @​arcanis, @​lgordey, @​ijjk, @​martpie, @​jaywink, @​fabianishere, @​dijs, @​TheRusskiy, @​quinnturner, @​timneutkens, @​lfades, @​vvo, @​adithwip, @​rafaelalmeidatk, @​bmathews, @​Spy-Seth, @​EvgeniyKumachev, @​chibicode, @​piglovesyou, @​HaNdTriX, @​Timer, @​janicklas-ralph, @​devknoll, @​prateekbh, @​ethanryan, @​MoOx, @​rifaidev, @​msweeneydev, @​motiko, and @​balazsorban44 for helping!

v9.2.2

Compare Source

Patches
  • Fix missing file extensions in docs: #​10251
  • De-dupe escape-regex with escape-string-regexp: #​10257
  • Update static check vars and fix types: #​10260
  • Update SSG types and clean up RenderOpts type: #​10259
  • Update _next/data URL handling in serverless-loader: #​10261
  • [example with-typescript-graphql] Fix type error: #​10269
  • Update built-in-css-support.md: c71694e
  • Update typo in typescript docs: #​10276
  • Update FaunaDB Example Instructions: #​10280
  • Add .jsx as a valid file extension in the pages directory: #​10281
  • Improved wording in comment: #​10277
  • Improve Stalled Requests Grammar: #​10283
  • Added support for BigInt to API routes: #​10215
  • Docs: remove --save from npm install; avoid system-ui: #​10252
  • Add catch all routes example and a link to it in docs: #​10202
  • Migrate CircleCi config to GitHub actions: #​10274
  • Fix Experimental Modern Mode with CSS: #​10289
  • Add initial support for unstable_getServerProps: #​10077
  • Fix with-orbit-components&#​39;s name in package.json: #​10307
  • Fix typo in FaunaDB example: #​10304
  • Updated PostCSS docs and added a link to it: #​10292
  • Make sure to exit publish script with correct code: #​10310
  • Allowing skipping local selenium server when not needed: #​10312
  • Fix missing file extensions in docs: #​10251
  • De-dupe escape-regex with escape-string-regexp: #​10257
  • Update static check vars and fix types: #​10260
  • Update SSG types and clean up RenderOpts type: #​10259
  • Update _next/data URL handling in serverless-loader: #​10261
  • [example with-typescript-graphql] Fix type error: #​10269
  • Update built-in-css-support.md: c71694e
  • Update typo in typescript docs: #​10276
  • Update FaunaDB Example Instructions: #​10280
  • Add .jsx as a valid file extension in the pages directory: #​10281
  • Improved wording in comment: #​10277
  • Improve Stalled Requests Grammar: #​10283
  • Added support for BigInt to API routes: #​10215
  • Docs: remove --save from npm install; avoid system-ui: #​10252
  • Add catch all routes example and a link to it in docs: #​10202
  • Migrate CircleCi config to GitHub actions: #​10274
  • Fix Experimental Modern Mode with CSS: #​10289
  • Add initial support for unstable_getServerProps: #​10077
  • Fix preprocessor loader error: #​10235
  • Enable static 404 config to allow static 404 page when availab…: #​10290
  • Small grammar fix: #​10317
  • Fix: 9919 Add warning when no config is exported from next.con…: #​10228
  • Update workflow for testing against react@next: #​10323
  • Repair advanced feature reference: #​10330
  • Disable caching for react@next workflow as its not supported: #​10331
  • [Experimental] Nomodule polyfills chunk: #​10212
  • Update note about public and pages overlap: #​10287
  • Update the default template of create-next-app: #​10327
  • Upgrade with-carbon-components to built-in SCSS: #​10321
  • Fixes #​10333 with-next-seo sample issues: #​10335
  • Fix api-routes-apollo-server-and-client-auth Example: #​10334
  • TypeScript documentation for _app.tsx: #​10345
  • Improve api-routes-apollo-server-and-client-auth Example: #​10358
  • Increase watch limit for GitHub actions testing: #​10367
  • Added fix for #​8893: #​10370
  • Make sure to not override initial navigation when refreshing static page&#​39;s query: #​10353
  • Add support for runtimeConfigs in serverless mode: #​10365
  • Add check that dynamic route is API route in handleApiRequest: #​10360
  • Implement experimental pages/404.js for custom 404 page: #​10329
  • Update Preact Example: #​10380
  • Custom AMP Validator Variable Name Collision Fix: #​10371
  • Fix bug in catch-all routes with SSG: #​10379
  • Update create app docs: #​10382
  • Make sure runtime config is set before any imports for serverless: #​10386
  • Update to not show API not ended warning when response is piped to: #​10342
  • Add TypeScript Definitions for Sass: #​10363
  • Remove Old Records: #​10398
  • Fix with-reasonml example: #​10399
  • New Jest Example: #​10396
  • Skip undefined attribute in Head: #​9856
  • Make sure runtime config works in dev mode for serverless targ…: #​10402
  • Check for invalid pages: #​10403
  • Remove builds from examples: #​10417
  • Detect Invalid Pages Before Optimize: #​10418
  • Add support for rewriting to external resources: #​10041
  • Modify splitChunksPlugin to give shared CSS chunks different names: #​10408
  • Re-enable native-url: #​10419
  • Update optimize event with static 404 status: #​10420
  • De-dupe paths returned in getStaticPaths: #​10423
  • Make apollo HOC composable: #​10422
  • Adjust README of example: #​10426
  • Remove old ts-ignores and extra value in routeInfo: #​10429
  • Update to use existing util to de-dupe path check: #​10431
  • Make missing param error message more specific: #​10433
  • Update size-limit test to be more fine grained: #​10434
  • Update utm links in create-next-app: #​10442
  • Remove unused dependency @​types/babel-types: #​10448
  • Add initial SSG fallback handling: #​10424
  • Redesign custom-routes output and show headers in output: #​10444
  • Make withApollo work with _app.js components: #​8801
  • With threejs example: #​10301
  • Add paths field for unstable_getStaticPaths: #​10454
  • Add error message when rewriting to dynamic SSG page: #​10458
  • Upgrade koa router in example: #​10469
  • Get the http2 example to work: #​10470
  • Make Missing Prerender Manifest Fatal: #​10485
  • Update next-server routes order for expected priority: #​10326
  • Add Stripe TypeScript Example: #​10482
  • Update README.md: #​10487
  • Use filter for create-next-app template: #​10496
  • Upgrade next-transpile-modules in workspace examples: #​10492
  • Builds with Warnings Still Complete: #​10498
  • Update deploy doc to surface ZEIT Now / DPS: #​10412
  • SSG Preview Mode: #​10459
  • Fix typo in ignoring-typescript-errors.md: #​10499
  • [Docs] Apply updates based on feedback: #​10352
  • Remove Now CLI reference from examples: #​10501
  • Adjust SSG Loading Behavior: #​10510
  • Update wording for custom server: #​10512
  • Retry Static Data Fetch on Hydration: #​10513
  • Remove with-data-prefetch Example: #​10514
  • Clean up async in next-server: #​10476
  • Improve error for invalid page configurations: #​10441
  • Add handling for default as named export in SSG transform: #​10486
  • Update withApollo example: #​10451
  • Add global CSS styles to example/with-stripe-typescript: #​10520
  • Remove native-url Again: #​10526
  • Make sure to encode pathname for custom-route destination: #​10536
  • Check next.config.js settings: #​10425
  • Migrate to AMP Optimizer 2.0: #​10535
  • Implement isFallback Router Property: #​10539
Credits

Huge thanks to @​borisowsky, @​piglovesyou, @​dannytatom, @​msweeneydev, @​bartdeslagmulder, @​stigkj, @​jamesmosier, @​chibicode, @​lfades, @​Timer, @​RobinCsl, @​apollonian, @​alejalapeno, @​dmitrika, @​micahalcorn, @​ijjk, @​pacocoursey, @​zhe, @​ivan-kleshnin, @​stryder03, @​38elements, @​msnider, @​TheDSCPL, @​vasco3, @​lachlanjc, @​AndyBitz, @​atcastle, @​pex, @​Janpot, @​HaNdTriX, @​afsanefda, @​Nainterceptor, @​areai51, @​thorsten-stripe, @​vvo, @​markhaslam, @​devknoll, and @​sebastianbenz for helping!

v9.2.1

Compare Source

Minor Changes
  • Allow mismatching href and as when manually provided: #​9837
  • [Experimental] Add built-in Sass support: #​10133
Patches
  • Add an example for Fauna using cookie based auth (round 2): #​9986
  • Honor exportTrailingSlash for default 404: #​10109
  • Rename Build SPR to SSG: #​10114
  • Add specific warning for require() PostCSS plugin: #​10121
  • Added amp-img example with fallback attribute: #​10122
  • Remove outdated readme: #​10123
  • Make example READMEs more consistent: #​10124
  • Support unnamed parameters in custom-routes correctly: #​9920
  • Error on query values in exportPathMap for auto export page: #​9908
  • Fix SSG data request failing with trailing slash: #​10140
  • Switch from defer to async: #​10143
  • Update readme.md: #​10136
  • Fix hydration with custom _app and granular chunks: #​10144
  • Update with-tailwindcss example: #​10141
  • Chore(examples): Update firebase version: #​10145
  • Update static-html-export.md: #​10155
  • Minor update for the "with-react-ga" example: #​10156
  • Add option arg to changeState when onlyAHashChange: #​10003
  • Fix broken link in error page: #​10159
  • Add initial support for static 404 page: #​10113
  • Remove @​zeit/next-css from docs: #​10168
  • Sends Google Analytics correct url path on fresh page load: #​10146
  • Remove native-url: #​10176
  • Test Query String Behavior: #​10102
  • Add error for invalid distDir value: #​10177
  • [docs] Added related links to next.config.js: #​10174
  • Feat(build): Transpile assuming higher version of runtime: #​9511
  • Delay hydration until after page is visible in development: #​10164
  • Add example: with-firebase-authentication-serverless: #​10078
  • Example: Convert _app.js to functional components: #​10115
  • Feat(examples:tailwind): add postcss-preset-env: #​10160
  • Serve public/ folder when page routes are disabled: #​10169
  • [with-emotion-10,11] Update emotion examples to v10 & v11: #​9646
  • Update Relay Modern example: #​10150
  • Add support for catch-all routes with SSG: #​10175
  • Add with-stencil example: #​10125
  • Improve user errors for invalid pageExtensions: #​10178
  • Test CSS/Media Caching in Production Suite: #​10184
  • Stabilize New Dev Test: #​10188
  • Don&#​39;t include core-js for default _document: #​10187
  • Test Query String with + Sign: #​10186
  • Disable core-js for server-side build: #​10189
  • Add hydration callback for testing: #​10195
  • Update tsconfig for tests: 592a2c2
  • Update error for failing to parse custom-route source: #​10197
  • Disable core-js on Next.js core files as it&#​39;s not transforming…: #​10193
  • Fix ESLint Ignores and Extract Fn: #​10205
  • Dedupe CSS Regexes: #​10206
  • Use builtins for React transform: #​10207
  • Extract CSS Loaders into Separate Files: #​10210
  • Updated docs: #​10213
  • Let users define their own database as easily as possible.: #​10209
  • Enable security tests cross browser: #​10217
  • Remove unnecessary exportPathMap from examples: #​10218
  • Disable invalid security tests for safari: #​10221
  • Update README.md for example project "form-handler": #​10224
  • Fix rewriting to API routes not including query: #​10223
  • Improve Link documentation: #​10225
  • Add Bitbucket Pipelines to errors/no-cache.md: #​10229
  • Fix Linting: 945f726
  • Revert "feat(build): Transpile assuming higher version of runt…: #​10233
  • Customizing PostCSS Configuration: #​10236
  • Check for invalid objects in rewrites/redirects/headers: #​10238
  • Check CSS Test Output: #​10237
  • Update tests running and add splitting by timings for Azure: #​10214
  • Add example with-xstate: #​10234
  • Add PostCSS Configuration to Sidebar: fb47360
  • Fix a typo in docs: #​10239
  • Add Apollo Server and Client Auth Example: #​9913
  • Explain Ignored PostCSS Plugin: #​10240
  • PostCSS Error When Exporting Function: #​10242
  • Add info on storing cache in GitHub Actions: #​10231
  • Tweak export test to be more stable: #​10241
  • Adding conformance webpack plugin: #​9716
  • Error on Invalid PostCSS Shape: #​10244
Credits

Huge thanks to @​vimota, @​ijjk, @​jplhomer, @​luciovilla, @​timneutkens, @​chibicode, @​OlegFilonchuk, @​zhe, @​ssong, @​orta, @​EvHaus, @​rscotten, @​lenaggar, @​lfades, @​shaneMLK, @​Timer, @​eps1lon, @​kmjennison, @​stramel, @​afzalsayed96, @​alreadyExisted, @​azizhk, @​thibaultboursier, @​rohmanhm, @​alejalapeno, @​fauna-brecht, @​smilevideo, @​mgrubinger, @​none23, @​lifeiscontent, @​amytych, and @​prateekbh for helping!

v9.2.0

Compare Source

Minor Changes
  • Enable New Chunking Behavior: #​9731
  • Enable New CSS Support by Default: #​9927
  • Separate Self Size and First Load Size: [#​1001</details>

Renovate configuration

:date: Schedule: "" (UTC).

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

:recycle: Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.

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


  • [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

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

+2568 -1793

0 comment

11 changed files

renovate[bot]

pr closed time in 8 days

push eventstipsan/svgdiff

renovate[bot]

commit sha 9285ad92570a87412b49784323000eef350c3b4a

Update dev dependency lint-staged to v10 (#192) Co-authored-by: Renovate Bot <bot@renovateapp.com>

view details

Cody Olsen

commit sha 2e53bb2dc2fb570dbfcffc4ddc46b8e06d0463cf

Merge branch 'master' into renovate/npm-next-vulnerability

view details

Cody Olsen

commit sha dd15549cbb54d1b1858dfb3ba8a337539583eef9

fix

view details

push time in 8 days

push eventstipsan/svgdiff

renovate[bot]

commit sha 9285ad92570a87412b49784323000eef350c3b4a

Update dev dependency lint-staged to v10 (#192) Co-authored-by: Renovate Bot <bot@renovateapp.com>

view details

push time in 8 days

delete branch stipsan/svgdiff

delete branch : renovate/lint-staged-10.x

delete time in 8 days

PR merged stipsan/svgdiff

Update dev dependency lint-staged to v10

This PR contains the following updates:

Package Type Update Change
lint-staged devDependencies major ^9.4.2 -> ^10.4.0

Release Notes

<details> <summary>okonet/lint-staged</summary>

v10.4.0

Compare Source

Features

v10.3.0

Compare Source

Features
  • Add support for adding lint-staged using pre-commit.com (#​910) (d404d7d)

v10.2.13

Compare Source

Bug Fixes

v10.2.12

Compare Source

Bug Fixes
  • always use the default short diff format for submodules #​902 (c7923ad)
  • ensure supportsColor.level exists before stringifying it (aa9898e)

v10.2.11

Compare Source

Bug Fixes
  • run all git commands with submodule.recurse=false (#​888) (86c9ed2)

v10.2.10

Compare Source

Bug Fixes
  • Git directory is not correctly resolved if GIT_WORK_TREE is set to relative path (#​887) (a1904ec)

v10.2.9

Compare Source

Bug Fixes
  • update listr@2.1.0 and add enquirer peer dependency (#​883) (0daae61)

v10.2.8

Compare Source

Bug Fixes
  • canceling lint-staged via SIGINT restores state and cleans up (#​881) (b078324)

v10.2.7

Compare Source

Bug Fixes
  • use machine output to avoid escaped and quoted filenames (ea80a3d)

v10.2.6

Compare Source

Bug Fixes
  • remove nanoid devDependency to remove ExperimentalWarning (#​874) (979da5d)

v10.2.5

Compare Source

Bug Fixes

v10.2.4

Compare Source

Bug Fixes

v10.2.3

Compare Source

Bug Fixes

v10.2.2

Compare Source

Bug Fixes
  • chunkFiles chunks normalized files even when maxArgLength is set (#​858) (fc72170)

v10.2.1

Compare Source

Bug Fixes
  • normalize chunked paths even when maxArgLength is not set (ba67f48)
  • resolve matched files to cwd instead of gitDir before adding (defe045)

v10.2.0

Compare Source

Bug Fixes
  • all lint-staged output respects the quiet option (aba3421)
  • do not show incorrect error when verbose and no output (b8df31a)
  • log task output after running listr to keep everything (d69c65b)
  • use test renderer during tests and when TERM=dumb (16848d8)
Features
  • add --verbose to show output even when tasks succeed (85de3a3)
  • allow specifying cwd using the Node.js API (a3bd9d7)
  • replace listr with listr2 and print errors inline (8f32a3e)

v10.1.7

Compare Source

Bug Fixes
  • use stash create/store to prevent files from disappearing from disk (c9adca5)

v10.1.6

Compare Source

Bug Fixes
  • deps: update dependencies (e093b1d)

v10.1.5

Compare Source

Bug Fixes
  • pass correct path to unstaged patch during cleanup (6066b07)

v10.1.4

Compare Source

Bug Fixes
  • allow lint-staged to run on empty git repo by disabling backup (0bf1fb0)

v10.1.3

Compare Source

Bug Fixes
  • only run git add on staged files matched to a task (d39573b)
  • run git add for staged file chunks serially (69acfa3)

v10.1.2

Compare Source

Bug Fixes
  • no longer include untracked files in backup stash (#​827) (2f15336)

v10.1.1

Compare Source

Bug Fixes
  • add -- to git add command to denote pathspec starting (#​821) (226ccdb)

v10.1.0

Compare Source

Bug Fixes
  • do not return string from runAll, add info symbol to "No staged files found." message (1e7298a)
  • force src and dst prefixes in diff to work around local diff.noprefix setting (7f2ef33)
  • unset GIT_LITERAL_PATHSPECS env variable before running (a653c55)
Features
  • add --no-stash option to disable the backup stash, and not revert in case of errors (c386e4c)
  • only hide/restore unstaged modifications to partially staged files (52125a9)

v10.0.10

Compare Source

Bug Fixes
  • support non-ASCII filenames when git is configured with core.quotepath on (2cb26a6)

v10.0.9

Compare Source

Bug Fixes
  • use path.join and normalize to improve msys compatibility in resolveGitRepo (1ad263a)

v10.0.8

Compare Source

Bug Fixes
  • do not drop backup stash when reverting to original state fails (f589336)
  • evaluate functional configuration only once (abe4b92)

v10.0.7

Compare Source

Bug Fixes

v10.0.6

Compare Source

Bug Fixes
  • make sure deleted files aren't restored due to git bugs (#​778) (6bfbe6c)

v10.0.5

Compare Source

Bug Fixes
  • always resolve real git config dir location if .git is a file (#​784) (b98a5ed)

v10.0.4

Compare Source

Bug Fixes

v10.0.3

Compare Source

Bug Fixes

v10.0.2

Compare Source

Bug Fixes
  • only warn about git add when it's the exact command (24febb3)
  • parse command string with string-argv unless --shell is used (4cb4dde)
  • print a better warning when the initial commit is missing (293547d)

v10.0.1

Compare Source

Bug Fixes

v10.0.0

Compare Source

Bug Fixes
  • add all modified files to git index with git add . (bf532c2)
  • automatically add modifications only to originally staged files (083b8e7)
  • better workaround for git stash --keep-index bug (f3ae378)
  • correctly leave only staged files for running tasks (cfde9ca)
  • correctly recover when unstaged changes cannot be restored (d091f71)
  • correctly restore untracked files from backup stash (c7d0592)
  • error handling skips dropping backup stash after internal git errors (30b4809)
  • fail with a message when backup stash is missing (1b64239)
  • gitWorkflow handles active merge mode (2f1e886)
  • handle git MERGE_* files separately; improve error handling (da22cf2)
  • improve debug logging (f88e226)
  • keep untracked files around by backing them up (fc03fdc)
  • max arg length is by default half of the allowed to prevent edge cases (80406c2)
  • prevent Listr from hiding git add warning (cce9809)
  • restore metadata about git merge before running tasks (f8ddfc2)
  • retry failing apply with 3-way merge (76cb08f)
  • support binary files (7b3a334)
  • try applying unstaged changes before handling errors (357934f)
  • update warning about git add, and to README (6467a66)
  • workaround for stashing deleted files for git < 2.23 (1a87333)
Features
  • automatically stage task modifications (74ed28d)
  • bump Node.js version dependency to at least 10.13.0 (#​747) (814b9df)
  • split tasks into chunks to support shells with limited max argument length (#​732) (cb43872)
  • support async function tasks (20d5c5d)
  • throw error to prevent empty commits unless --allow-empty is used (#​762) (8bdeec0)
  • use git stashes for gitWorkflow (40a5db1)
  • warn when task contains "git add" (5208399)
BREAKING CHANGES
  • Previously, lint-staged would allow empty commits in the situation where a linter task like "prettier --write" reverts all staged changes automatically. Now the default behaviour is to throw an error with a helpful warning message. The --allow empty option can be used to allow empty commits, or allowEmpty: true for the Node.js API.
  • Node.js v8 is no longer supported because it will reach EOL on 2019-12-31
  • Prior to version 10, tasks had to manually include git add as the final step. This behavior has been integrated into lint-staged itself in order to prevent race conditions with multiple tasks editing the same files. If lint-staged detects git add in task configurations, it will show a warning in the console. Please remove git add from your configuration after upgrading.

v9.5.0

Compare Source

Features
  • add support for concurrent CLI option (6af8307)

v9.4.3

Compare Source

Bug Fixes
  • deps: bump eslint-utils from 1.4.0 to 1.4.3 to fix a security vulnerability (#​722) (ed84d8e)

</details>


Renovate configuration

:date: Schedule: "before 4am on sunday" (UTC).

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

: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.


  • [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

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

+181 -299

0 comment

2 changed files

renovate[bot]

pr closed time in 8 days

push eventstipsan/svgdiff

Cody Olsen

commit sha b7edef8a123e3bb3b572b4e5a36545d6afe0d196

chore: fix

view details

push time in 8 days

PR merged stipsan/svgdiff

Bump yargs-parser from 13.0.0 to 13.1.2 dependencies

Bumps yargs-parser from 13.0.0 to 13.1.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/yargs/yargs-parser/releases">yargs-parser's releases</a>.</em></p> <blockquote> <h2>v13.1.1</h2> <h3>Bug Fixes</h3> <ul> <li>convert values to strings when tokenizing (<a href="https://www.github-redirect.dependabot.com/yargs/yargs-parser/issues/167">#167</a>) (<a href="https://www.github.com/yargs/yargs-parser/commit/57b7883">57b7883</a>)</li> <li>nargs should allow duplicates when duplicate-arguments-array=false (<a href="https://www.github-redirect.dependabot.com/yargs/yargs-parser/issues/164">#164</a>) (<a href="https://www.github.com/yargs/yargs-parser/commit/47ccb0b">47ccb0b</a>)</li> <li>should populate "" when given config with "short-option-groups" false (<a href="https://www.github-redirect.dependabot.com/yargs/yargs-parser/issues/179">#179</a>) (<a href="https://www.github.com/yargs/yargs-parser/commit/6055974">6055974</a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/yargs/yargs-parser/blob/master/docs/CHANGELOG-full.md">yargs-parser's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/yargs/yargs-parser/compare/v14.0.0...v15.0.0">15.0.0</a> (2019-10-07)</h2> <h3>Features</h3> <ul> <li>rework <code>collect-unknown-options</code> into <code>unknown-options-as-args</code>, providing more comprehensive functionality (<a href="https://github.com/yargs/yargs-parser/commit/ef771ca">ef771ca</a>)</li> </ul> <h3>BREAKING CHANGES</h3> <ul> <li>rework <code>collect-unknown-options</code> into <code>unknown-options-as-args</code>, providing more comprehensive functionality</li> </ul> <h2><a href="https://github.com/yargs/yargs-parser/compare/v13.1.1...v14.0.0">14.0.0</a> (2019-09-06)</h2> <h3>Bug Fixes</h3> <ul> <li>boolean arrays with default values (<a href="https://github-redirect.dependabot.com/yargs/yargs-parser/issues/185">#185</a>) (<a href="https://github.com/yargs/yargs-parser/commit/7d42572">7d42572</a>)</li> <li>boolean now behaves the same as other array types (<a href="https://github-redirect.dependabot.com/yargs/yargs-parser/issues/184">#184</a>) (<a href="https://github.com/yargs/yargs-parser/commit/17ca3bd">17ca3bd</a>)</li> <li>eatNargs() for 'opt.narg === 0' and boolean typed options (<a href="https://github-redirect.dependabot.com/yargs/yargs-parser/issues/188">#188</a>) (<a href="https://github.com/yargs/yargs-parser/commit/c5a1db0">c5a1db0</a>)</li> <li>maybeCoerceNumber now takes precedence over coerce return value (<a href="https://github-redirect.dependabot.com/yargs/yargs-parser/issues/182">#182</a>) (<a href="https://github.com/yargs/yargs-parser/commit/2f26436">2f26436</a>)</li> <li>take into account aliases when appending arrays from config object (<a href="https://github-redirect.dependabot.com/yargs/yargs-parser/issues/199">#199</a>) (<a href="https://github.com/yargs/yargs-parser/commit/f8a2d3f">f8a2d3f</a>)</li> </ul> <h3>Features</h3> <ul> <li>add configuration option to "collect-unknown-options" (<a href="https://github-redirect.dependabot.com/yargs/yargs-parser/issues/181">#181</a>) (<a href="https://github.com/yargs/yargs-parser/commit/7909cc4">7909cc4</a>)</li> <li>maybeCoerceNumber() now takes into account arrays (<a href="https://github-redirect.dependabot.com/yargs/yargs-parser/issues/187">#187</a>) (<a href="https://github.com/yargs/yargs-parser/commit/31c204b">31c204b</a>)</li> </ul> <h3>BREAKING CHANGES</h3> <ul> <li>unless "parse-numbers" is set to "false", arrays of numeric strings are now parsed as numbers, rather than strings.</li> <li>we have dropped the broken "defaulted" functionality; we would like to revisit adding this in the future.</li> <li>maybeCoerceNumber now takes precedence over coerce return value (<a href="https://github-redirect.dependabot.com/yargs/yargs-parser/issues/182">#182</a>)</li> </ul> <h3><a href="https://www.github.com/yargs/yargs-parser/compare/v13.1.0...v13.1.1">13.1.1</a> (2019-06-10)</h3> <h3>Bug Fixes</h3> <ul> <li>convert values to strings when tokenizing (<a href="https://www.github-redirect.dependabot.com/yargs/yargs-parser/issues/167">#167</a>) (<a href="https://www.github.com/yargs/yargs-parser/commit/57b7883">57b7883</a>)</li> <li>nargs should allow duplicates when duplicate-arguments-array=false (<a href="https://www.github-redirect.dependabot.com/yargs/yargs-parser/issues/164">#164</a>) (<a href="https://www.github.com/yargs/yargs-parser/commit/47ccb0b">47ccb0b</a>)</li> <li>should populate "" when given config with "short-option-groups" false (<a href="https://www.github-redirect.dependabot.com/yargs/yargs-parser/issues/179">#179</a>) (<a href="https://www.github.com/yargs/yargs-parser/commit/6055974">6055974</a>)</li> </ul> <h2><a href="https://github.com/yargs/yargs-parser/compare/v13.0.0...v13.1.0">13.1.0</a> (2019-05-05)</h2> <!-- raw HTML omitted --> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/yargs/yargs-parser/commits">compare view</a></li> </ul> </details> <details> <summary>Maintainer changes</summary> <p>This version was pushed to npm by <a href="https://www.npmjs.com/~oss-bot">oss-bot</a>, a new releaser for yargs-parser since your current version.</p> </details> <br />

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


<details> <summary>Dependabot commands and options</summary> <br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

</details>

+6 -6

0 comment

1 changed file

dependabot[bot]

pr closed time in 8 days

push eventstipsan/svgdiff

dependabot[bot]

commit sha 6ac43df310c40826a0a7aa61d777257bd78cd847

Bump yargs-parser from 13.0.0 to 13.1.2 (#281) Bumps [yargs-parser](https://github.com/yargs/yargs-parser) from 13.0.0 to 13.1.2. - [Release notes](https://github.com/yargs/yargs-parser/releases) - [Changelog](https://github.com/yargs/yargs-parser/blob/master/docs/CHANGELOG-full.md) - [Commits](https://github.com/yargs/yargs-parser/commits) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

view details

push time in 8 days

delete branch stipsan/svgdiff

delete branch : dependabot/npm_and_yarn/yargs-parser-13.1.2

delete time in 8 days

delete branch stipsan/svgdiff

delete branch : dependabot/npm_and_yarn/lodash-4.17.20

delete time in 8 days

push eventstipsan/svgdiff

dependabot[bot]

commit sha 952221a186d615281168d4d6c7afe24535279adc

Bump lodash from 4.17.11 to 4.17.20 (#278) Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.20. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.20) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

view details

push time in 8 days

PR merged stipsan/svgdiff

Bump lodash from 4.17.11 to 4.17.20 dependencies

Bumps lodash from 4.17.11 to 4.17.20. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/lodash/lodash/commit/ded9bc66583ed0b4e3b7dc906206d40757b4a90a"><code>ded9bc6</code></a> Bump to v4.17.20.</li> <li><a href="https://github.com/lodash/lodash/commit/63150ef7645ac07961b63a86490f419f356429aa"><code>63150ef</code></a> Documentation fixes.</li> <li><a href="https://github.com/lodash/lodash/commit/00f0f62a979d2f5fa0287c06eae70cf9a62d8794"><code>00f0f62</code></a> test.js: Remove trailing comma.</li> <li><a href="https://github.com/lodash/lodash/commit/846e434c7a5b5692c55ebf5715ed677b70a32389"><code>846e434</code></a> Temporarily use a custom fork of <code>lodash-cli</code>.</li> <li><a href="https://github.com/lodash/lodash/commit/5d046f39cbd27f573914768e3b36eeefcc4f1229"><code>5d046f3</code></a> Re-enable Travis tests on <code>4.17</code> branch.</li> <li><a href="https://github.com/lodash/lodash/commit/aa816b36d402a1ad9385142ce7188f17dae514fd"><code>aa816b3</code></a> Remove <code>/npm-package</code>.</li> <li><a href="https://github.com/lodash/lodash/commit/d7fbc52ee0466a6d248f047b5d5c3e6d1e099056"><code>d7fbc52</code></a> Bump to v4.17.19</li> <li><a href="https://github.com/lodash/lodash/commit/2e1c0f22f425e9c013815b2cd7c2ebd51f49a8d6"><code>2e1c0f2</code></a> Add npm-package</li> <li><a href="https://github.com/lodash/lodash/commit/1b6c282299f4e0271f932b466c67f0f822aa308e"><code>1b6c282</code></a> Bump to v4.17.18</li> <li><a href="https://github.com/lodash/lodash/commit/a370ac81408de2da77a82b3c4b61a01a3b9c2fac"><code>a370ac8</code></a> Bump to v4.17.17</li> <li>Additional commits viewable in <a href="https://github.com/lodash/lodash/compare/4.17.11...4.17.20">compare view</a></li> </ul> </details> <details> <summary>Maintainer changes</summary> <p>This version was pushed to npm by <a href="https://www.npmjs.com/~bnjmnt4n">bnjmnt4n</a>, a new releaser for lodash since your current version.</p> </details> <br />

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


<details> <summary>Dependabot commands and options</summary> <br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

</details>

+1 -11

0 comment

1 changed file

dependabot[bot]

pr closed time in 8 days

delete branch stipsan/svgdiff

delete branch : renovate/prettier-2.x

delete time in 8 days

push eventstipsan/svgdiff

renovate[bot]

commit sha 6b7b244c264b6eec6f514eb8312fea0424649cf0

Update dev dependency prettier to v2 (#214) Co-authored-by: Renovate Bot <bot@renovateapp.com>

view details

push time in 8 days

PR merged stipsan/svgdiff

Update dev dependency prettier to v2

This PR contains the following updates:

Package Type Update Change
prettier (source) devDependencies major ^1.19.1 -> ^2.1.2

Release Notes

<details> <summary>prettier/prettier</summary>

v2.1.2

Compare Source

diff

Fix formatting for directives in fields (#​9116 by @​sosukesuzuki)

<!-- prettier-ignore -->


v2.1.1

Compare Source

diff

Fix format on html with frontMatter (#​9043 by @​fisker)

<!-- prettier-ignore -->

<!-- Input -->
---
layout: foo
---

Test <a
href="https://prettier.io">abc</a>.

<!-- Prettier stable -->
TypeError: Cannot read property 'end' of undefined
  ...

<!-- Prettier master -->
---
layout: foo
---

Test <a href="https://prettier.io">abc</a>.
Fix broken format for ...infer T (#​9044 by @​fisker)

<!-- prettier-ignore -->

// Input
type Tail<T extends any[]> = T extends [infer U, ...infer R] ? R : never;

// Prettier stable
type Tail<T extends any[]> = T extends [infer U, ...(infer R)] ? R : never;

// Prettier master
type Tail<T extends any[]> = T extends [infer U, ...infer R] ? R : never;
Fix format on style[lang="sass"] (#​9051 by @​fisker)

<!-- prettier-ignore -->

<!-- Input -->
<style lang="sass">
.hero
  @&#8203;include background-centered
</style>

<!-- Prettier stable -->
<style lang="sass">
.hero @&#8203;include background-centered;
</style>

<!-- Prettier master -->
<style lang="sass">
  .hero
    @&#8203;include background-centered
</style>
Fix self-closing blocks and blocks with src attribute format (#​9052, #​9055 by @​fisker)

<!-- prettier-ignore -->

<!-- Input -->
<custom lang="markdown" src="./foo.md"></custom>
<custom lang="markdown" src="./foo.md" />
<custom lang="markdown" />

<!-- Prettier stable -->
<custom lang="markdown" src="./foo.md">

</custom>
<custom lang="markdown" src="./foo.md"

/>
<custom lang="markdown"

/>

<!-- Prettier master -->
<custom lang="markdown" src="./foo.md"></custom>
<custom lang="markdown" src="./foo.md" />
<custom lang="markdown" />

v2.1.0

Compare Source

diff

🔗 Release Notes

v2.0.5

Compare Source

diff

Less: Fix formatting of :extend (#​7984 by @​fisker)

<!-- prettier-ignore -->

// Input
.class {
  &:extend(.some-class .some-other-class .some-very-loooooooooooooong-class all);
}

// Prettier 2.0.4
.class {
  &:extend(
    .some-class .some-other-class .some-very-loooooooooooooong-class all
  );
}

// Prettier 2.0.4 (Second format)
.class {
  &: extend(
    .some-class .some-other-class .some-very-loooooooooooooong-class all
  );
}

// Prettier 2.0.5
.class {
  &:extend(
    .some-class .some-other-class .some-very-loooooooooooooong-class all
  );
}
Editor integration: Use resolve if builtin require.resolve is overridden (#​8072 by @​fisker)

This fixes issues that the users of Atom and WebStorm faced with 2.0.4.

Prettier now switches to using the resolve module for resolving configuration files and plugins if it detects that require.resolve isn't Node's builtin function (doesn't support the second argument), which happens in environments like editor extensions. To force the fallback, set the PRETTIER_FALLBACK_RESOLVE environment variable to true.

v2.0.4

Compare Source

diff

Revert #​7869, "[TypeScript] format TSAsExpression with same logic as BinaryExpression" (#​7958)

v2.0.3

Compare Source

diff

JavaScript
Fix prettier-ignore inside JSX (#​7877 by @​fisker)

<!-- prettier-ignore -->

// Input
<div>
{
  /* prettier-ignore */
  x     ?   <Y/> : <Z/>
}
</div>;

// Prettier 2.0.2 (first output)
<div>
  {/* prettier-ignore */
  x     ?   <Y/> : <Z/>}
</div>;

// Prettier 2.0.2 (second output)
<div>{/* prettier-ignore */ x     ?   <Y/> : <Z/>}</div>;

// Prettier 2.0.3
<div>
  {
    /* prettier-ignore */
    x     ?   <Y/> : <Z/>
  }
</div>;
Fix regressions in styled-components template literals (#​7883 by @​thorn0)

<!-- prettier-ignore -->

// Input
const Icon = styled.div`
  background:   var(--${background});
  ${Link}:not(:first-child) {
      fill:    rebeccapurple;
  }
`;

// Prettier 2.0.2
const Icon = styled.div`
  background: var(-- ${background});
  ${Link}:not (:first-child) {
    fill: rebeccapurple;
  }
`;

// Prettier 2.0.3
const Icon = styled.div`
  background: var(--${background});
  ${Link}:not(:first-child) {
    fill: rebeccapurple;
  }
`;
Fix: line endings were not always converted properly in multiline strings and comments (#​7891 by @​sidharthv96)

<!-- prettier-ignore -->

// Input
export const IAmIncredibleLongFunctionName = IAmAnotherFunctionName(<CRLF>
  (_0: IAmIncredibleLongParameterType) => {<CRLF>
    setTimeout(() => {<CRLF>
      /*<CRLF>
        Multiline comment<CRLF>
        Multiline comment<CRLF>
        Multiline comment<CRLF>
      */<CRLF>
      console.log(<CRLF>
        "Multiline string\<CRLF>
         Multiline string\<CRLF>
         Multiline string"<CRLF>
      );<CRLF>
    });<CRLF>
  }<CRLF>
);<CRLF>

// Prettier 2.0.2
export const IAmIncredibleLongFunctionName = IAmAnotherFunctionName(<CRLF>
  (_0: IAmIncredibleLongParameterType) => {<CRLF>
    setTimeout(() => {<CRLF>
      /*<LF>
        Multiline comment<LF>
        Multiline comment<LF>
        Multiline comment<LF>
      */<CRLF>
      console.log(<CRLF>
        "Multiline string\<LF>
         Multiline string\<LF>
         Multiline string"<CRLF>
      );<CRLF>
    });<CRLF>
  }<CRLF>
);<CRLF>

// Prettier 2.0.3: same as input
Fix bug with holes in array literals (#​7911 by @​bakkot)

<!-- prettier-ignore -->

// Input
new Test()
  .test()
  .test([, 0])
  .test();

// Prettier 2.0.2
[error] in.js: TypeError: Cannot read property 'type' of null

// Prettier 2.0.3
new Test().test().test([, 0]).test();
TypeScript
Wrap TSAsExpression (#​7869 by @​sosukesuzuki)

<!-- prettier-ignore -->

// Input
const value = thisIsAnIdentifier as ThisIsAReallyReallyReallyReallyReallyReallyReallyReallyReallyReallyReallyLongInterface;

// Prettier 2.0.2
const value = thisIsAnIdentifier as ThisIsAReallyReallyReallyReallyReallyReallyReallyReallyReallyReallyReallyLongInterface;

// Prettier 2.0.3
const value =
  thisIsAnIdentifier as
  ThisIsAReallyReallyReallyReallyReallyReallyReallyReallyReallyReallyReallyLongInterface;
Flow
Print dangling comments for inexact object type (#​7892 by @​sosukesuzuki)

<!-- prettier-ignore -->

// Input
type Foo = {
  // comment
  ...,
};

// Prettier 2.0.2
Error: Comment "comment" was not printed. Please report this error!

// Prettier 2.0.3
type Foo = {
  // comment
  ...,
};
Do not add comma for explicit inexact object with indexer property or no properties (#​7923 by @​DmitryGonchar)

<!-- prettier-ignore -->

// Input
type T = {
  [string]: number,
  ...,
}

type T = {
  // comment
  ...,
}

// Prettier 2.0.2
type T = {
  [string]: number,
  ...,
}

type T = {
  // comment
  ...,
}

// Prettier 2.0.3
type T = {
  [string]: number,
  ...
}

type T = {
  // comment
  ...
}
HTML
Fix printing of ignored empty inline elements (#​7867 by @​fisker)

<!-- prettier-ignore -->

<!-- Input-->
<!--prettier-ignore--><span></span>
<!--prettier-ignore--><span>_</span>

<!-- Prettier 2.0.2 (first output) -->
<!--prettier-ignore--><span
></span>
<!--prettier-ignore--><span>_</span>

<!-- Prettier 2.0.2 (second output) -->
<!--prettier-ignore--><span

></span>
<!--prettier-ignore--><span>_</span>

<!-- Prettier 2.0.3 -->
<!--prettier-ignore--><span></span>
<!--prettier-ignore--><span>_</span>
Format script and style inside tags with a colon in the name (#​7916 by @​fisker)

<!-- prettier-ignore -->

<!-- Input -->
<with:colon>
<script>function foo(){      return 1}</script>
<style>a         {color:         #f00}</style>
</with:colon>

<!-- Prettier 2.0.2 -->
<with:colon>
  <script>
    function foo(){ return 1}
  </script>
  <style>
    a {color: #f00}
  </style>
</with:colon>

<!-- Prettier 2.0.3 -->
<with:colon>
  <script>
    function foo() {
      return 1;
    }
  </script>
  <style>
    a {
      color: #f00;
    }
  </style>
</with:colon>
Other changes

v2.0.2

Compare Source

diff

2.0 regressions
JavaScript: Fix formatting of pseudo-elements and pseudo-classes in styled-components template literals (#​7842 by @​thorn0)

<!-- prettier-ignore -->

// Input
const Foo = styled.div`
  ${media.smallDown}::before {}
`;

// Prettier 2.0.0
const Foo = styled.div`
  ${media.smallDown}: : before{
  }
`;

// Prettier 2.0.2
const Foo = styled.div`
  ${media.smallDown}::before {
  }
`;
TypeScript: Avoid trailing commas on index signatures with only one parameter (#​7836 by @​bakkot)

TypeScript index signatures technically allow multiple parameters and trailing commas, but it's an error to have multiple parameters there, and Babel's TypeScript parser does not accept them. So Prettier now avoids putting a trailing comma there when you have only one parameter.

<!-- prettier-ignore -->

// Input
export type A = {
  a?: {
    [
      x: string
    ]: typeof SomeLongLongLongTypeName[keyof typeof SomeLongLongLongTypeName];
  } | null;
};

// Prettier 2.0.0
export type A = {
  a?: {
    [
      x: string,
    ]: typeof SomeLongLongLongTypeName[keyof typeof SomeLongLongLongTypeName];
  } | null;
};

// Prettier 2.0.2
export type A = {
  a?: {
    [
      x: string
    ]: typeof SomeLongLongLongTypeName[keyof typeof SomeLongLongLongTypeName];
  } | null;
};
Revert "markdown: fix redundant leading spaces in markdown list" (#​7847)

See #​7846

Other changes
TypeScript: Fix prettier-ignore in union types (#​7798 by @​thorn0)

<!-- prettier-ignore -->

// Input
export type a =
  // foo
  | foo1&foo2
  // prettier-ignore
  | bar1&bar2
  // baz
  | baz1&baz2;

// Prettier 2.0.0
export type a =
  // foo
  | foo1&foo2
    // prettier-ignore
  // prettier-ignore
  | (bar1 & bar2)
  // baz
  | (baz1 & baz2);

// Prettier 2.0.2
export type a =
  // foo
  | (foo1 & foo2)
  // prettier-ignore
  | bar1&bar2
  // baz
  | (baz1 & baz2);

v2.0.1

Compare Source

diff

API: Fix build script to not corrupt import-fresh module (#​7820 by @​thorn0)

v2.0.0

Compare Source

diff

🔗 Release Notes

</details>


Renovate configuration

:date: Schedule: "before 4am on sunday" (UTC).

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

: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.


  • [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

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

+5 -5

0 comment

2 changed files

renovate[bot]

pr closed time in 8 days

push eventstipsan/svgdiff

renovate[bot]

commit sha 59c4f3e4cf599a9705a20dd81095eaba238bc551

Update linters (#220) Co-authored-by: Renovate Bot <bot@renovateapp.com>

view details

push time in 8 days

delete branch stipsan/svgdiff

delete branch : renovate/major-linters

delete time in 8 days

PR merged stipsan/svgdiff

Update linters (major)

This PR contains the following updates:

Package Type Update Change
@typescript-eslint/eslint-plugin dependencies major ^2.34.0 -> ^4.4.1
@typescript-eslint/parser dependencies major ^2.34.0 -> ^4.4.1
eslint (source) devDependencies major ^6.8.0 -> ^7.11.0
eslint-plugin-flowtype devDependencies major ^4.7.0 -> ^5.2.0
eslint-plugin-react-hooks (source) devDependencies major ^2.5.1 -> ^4.1.2

Release Notes

<details> <summary>typescript-eslint/typescript-eslint</summary>

v4.4.1

Compare Source

Bug Fixes
  • eslint-plugin: [ban-ts-comment] support block comments (#​2644) (9c3c686)
  • eslint-plugin: [ban-types] allow banning types with specific parameters (#​2662) (77732a2)
  • eslint-plugin: [consistent-type-assertions] check type assertion in jsx props (#​2653) (393e925)
  • eslint-plugin: [no-duplicate-imports] distinguish member, default (#​2637) (c71f423)
  • eslint-plugin: [no-throw-literal] false positive with logical expressions (#​2645) (57aa6c7)
  • eslint-plugin: [no-unused-vars] fix false positives for duplicated names in namespaces (#​2659) (0d696c7)
  • eslint-plugin: [no-use-before-define] correctly handle typeof type references (#​2623) (8e44c78)
  • scope-manager: don't create a variable for global augmentation (#​2639) (6bc9325)

v4.4.0

Compare Source

Features
  • eslint-plugin: add consistent-indexed-object-style rule (#​2401) (d7dc108)
  • eslint-plugin: add extension rule no-duplicate-imports (#​2609) (498f397)

v4.3.0

Compare Source

Bug Fixes
  • eslint-plugin: added safe getTypeOfPropertyOfType wrapper (#​2567) (7cba2de)
  • experimental-utils: treat RuleTester arrays as readonly (#​2601) (8025777)
Features
  • eslint-plugin: [no-invalid-void-type] add option to allow this: void (#​2481) (ddf5660)

v4.2.0

Compare Source

Bug Fixes
  • eslint-plugin: [naming-convention] ignore properties inside object patterns (#​2566) (53a3cbc)
  • eslint-plugin: [prefer-ts-expect-error] support block comments (#​2541) (c6f72fb)
  • scope-manager: correct analysis of inferred types in conditional types (#​2537) (4f660fd)
Features

4.1.1 (2020-09-14)

Bug Fixes
  • eslint-plugin: [naming-convention] allow an array of selectors with types and modifiers (#​2415) (7ca54c3)
  • eslint-plugin: [no-implied-eval] handle the Function type (#​2435) (e1401dc)
  • eslint-plugin: [no-unused-vars] better handling for declared modules (#​2553) (02d72d4), closes #​2523
  • eslint-plugin: [no-use-before-define] false positive for function type arguments (#​2554) (189162d), closes #​2527
  • eslint-plugin: [prefer-function-type] handle this return (#​2437) (7c6fcee)
  • eslint-plugin: [return-await] don't error for in-try-catch if the return is in a catch without a finally (#​2356) (efdd521)
  • types: artificial fix needed to trigger release (b577daf)
  • types: artificial fix needed to trigger release (fc62ba8)

v4.1.1

Compare Source

Bug Fixes
  • eslint-plugin: [naming-convention] allow an array of selectors with types and modifiers (#​2415) (7ca54c3)
  • eslint-plugin: [no-implied-eval] handle the Function type (#​2435) (e1401dc)
  • eslint-plugin: [no-unused-vars] better handling for declared modules (#​2553) (02d72d4), closes #​2523
  • eslint-plugin: [no-use-before-define] false positive for function type arguments (#​2554) (189162d), closes #​2527
  • eslint-plugin: [prefer-function-type] handle this return (#​2437) (7c6fcee)
  • eslint-plugin: [return-await] don't error for in-try-catch if the return is in a catch without a finally (#​2356) (efdd521)
  • types: artificial fix needed to trigger release (b577daf)
  • types: artificial fix needed to trigger release (fc62ba8)

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

v3.10.1

Compare Source

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

v3.10.0

Compare Source

Bug Fixes
  • eslint-plugin: [explicit-module-boundary-types] ignore abstract setters (#​2410) (3764248)
  • eslint-plugin: [explicit-module-boundary-types] ignore all bodyless setters (#​2413) (a53f8c6)
  • eslint-plugin: [no-unnecessary-condition] better handling for unary negation (#​2382) (32fe2bb)
  • typescript-estree: ts.NamedTupleMember workaround for <TS4.0 (#​2405) (b62331a)
Features

3.9.1 (2020-08-17)

Bug Fixes
  • eslint-plugin: [no-unnecessary-condition] fix false positive with nullish coalescing (#​2385) (092c969)
  • eslint-plugin: [prefer-includes] don't auto fix when test method's argument type doesn't have an 'includes' method (#​2391) (71c4c72)

v3.9.1

Compare Source

Bug Fixes
  • eslint-plugin: [no-unnecessary-condition] fix false positive with nullish coalescing (#​2385) (092c969)
  • eslint-plugin: [prefer-includes] don't auto fix when test method's argument type doesn't have an 'includes' method (#​2391) (71c4c72)

v3.9.0

Compare Source

Bug Fixes
  • eslint-plugin: [no-throw-literal] support type assertions (#​2354) (470174a)
Features
  • eslint-plugin: [no-unsafe-assignment/return] allow assigning any => unknown (#​2371) (e7528e6)
  • typescript-estree: support TSv4 labelled tuple members (#​2378) (00d84ff)

v3.8.0

Compare Source

Bug Fixes
  • eslint-plugin: [no-implied-eval] don't report when Function is imported (#​2348) (fa169e7)
  • eslint-plugin: [no-unsafe-assignment] fix typo in message (#​2347) (2027bb1)
Features
  • eslint-plugin: [naming-convention] allow specifying an array of selectors (#​2335) (3ef6bd5)
  • eslint-plugin: add prefer-enum-initializers rule (#​2326) (4f38ea3)

3.7.1 (2020-07-27)

Bug Fixes
  • eslint-plugin: [adjacent-overload-signatures] fix false positive on call signatures and a method named call (#​2313) (30fafb0)
  • eslint-plugin: [no-extra-parens] stop reporting on calling generic functions with one argument and type parameters containing parentheses (#​2319) (616a841)
  • typescript-estree: correct AST regression introduced by TS4.0 upgrade (#​2316) (d7fefba)

v3.7.1

Compare Source

Bug Fixes
  • eslint-plugin: [adjacent-overload-signatures] fix false positive on call signatures and a method named call (#​2313) (30fafb0)
  • eslint-plugin: [no-extra-parens] stop reporting on calling generic functions with one argument and type parameters containing parentheses (#​2319) (616a841)
  • typescript-estree: correct AST regression introduced by TS4.0 upgrade (#​2316) (d7fefba)

v3.7.0

Compare Source

Features
  • eslint-plugin: [naming-convention] allow selecting only const variables (#​2291) (156d058)
  • eslint-plugin: [no-empty-function] add decoratedFunctions option (#​2295) (88f08f4)
  • typescript-estree: support short-circuiting assignment operators (#​2307) (2c90d9f)
  • typescript-estree: support type annotations on catch clauses (#​2306) (b5afe9c)

3.6.1 (2020-07-13)

Bug Fixes
  • eslint-plugin: [no-unnecessary-condition] handle computed member access (#​2288) (3a187ca)
  • eslint-plugin: [prefer-literal-enum-member] allow negative numbers (#​2277) (00ac9c3)
  • eslint-plugin: [space-before-function-paren] incorrect handling of abstract methods (#​2275) (ced6591), closes #​2274
  • eslint-plugin: [switch-exhaustiveness-check] handle special characters in enum keys (#​2207) (98ab010)

v3.6.1

Compare Source

Bug Fixes
  • eslint-plugin: [no-unnecessary-condition] handle computed member access (#​2288) (3a187ca)
  • eslint-plugin: [prefer-literal-enum-member] allow negative numbers (#​2277) (00ac9c3)
  • eslint-plugin: [space-before-function-paren] incorrect handling of abstract methods (#​2275) (ced6591), closes #​2274
  • eslint-plugin: [switch-exhaustiveness-check] handle special characters in enum keys (#​2207) (98ab010)

v3.6.0

Compare Source

Bug Fixes
  • eslint-plugin: [no-namespace] allow namespaces in nested declarations with allowDeclarations (#​2238) (c1df669)
  • eslint-plugin: [space-before-function-paren] handle abstract functions (#​2199) (88a3edf)
Features

v3.5.0

Compare Source

Bug Fixes
  • eslint-plugin: [naming-convention] support unicode in regex (#​2241) (5fdd21a)
  • typescript-estree: forward compatibility for new compound assignment operators (#​2253) (ba41680)
Features

v3.4.0

Compare Source

Bug Fixes
  • eslint-plugin: [no-base-to-string] handle intersection types (#​2170) (9cca3a9)
  • eslint-plugin: [unbound-method] handling destructuring (#​2228) (c3753c2)
  • experimental-utils: correct types for TS versions older than 3.8 (#​2217) (5e4dda2)
  • experimental-utils: getParserServices takes a readonly context (#​2235) (26da8de)
Features
  • eslint-plugin: [no-unnecessary-boolean-literal-compare] add option to check nullable booleans (#​1983) (c0b3057)
  • eslint-plugin: add extension rule no-loss-of-precision (#​2196) (535b0f2)

v3.3.0

Compare Source

Bug Fixes
  • eslint-plugin: [no-unused-expressions] handle ternary and short-circuit options (#​2194) (ee9f100)
  • typescript-estree: handle TS4.0 breaking change in TupleType (#​2197) (5d68129)
Features
  • eslint-plugin: [naming-convention] better error message and docs for prefix/suffix (#​2195) (a2ffe55)

v3.2.0

Compare Source

Bug Fixes
  • eslint-plugin: [explicit-module-boundary-types] dont report return type errors on constructor overloads (#​2158) (53232d7)
  • eslint-plugin: [explicit-module-boundary-types] handle bodyless arrow functions with explicit return types that return functions (#​2169) (58db655)
  • eslint-plugin: [explicit-module-boundary-types] handle nested functions and functions expressions in a typed variable declaration (#​2176) (6ff450d)
  • eslint-plugin: [no-extra-non-null-assertion] dont report for assertions not followed by the optional chain (#​2167) (e4c1834)
  • eslint-plugin: [no-unnecessary-conditionals] Handle comparison of generics and loose comparisons with undefined values (#​2152) (c86e2a2)
  • eslint-plugin: [prefer-optional-chain] handling first member expression (#​2156) (de18660)
  • eslint-plugin: [return-await] correct handling of ternaries (#​2168) (fe4c0bf)
Features
  • eslint-plugin: [naming-convention] put identifiers in quotes in error messages (#​2182) (fc61932), closes #​2178
  • eslint-plugin: [require-array-sort-compare] add ignoreStringArrays option (#​1972) (6dee784)
  • eslint-plugin: add rule ban-tslint-comment (#​2140) (43ee226)
  • eslint-plugin: add rule no-confusing-non-null-assertion (#​1941) (9b51c44)

v3.1.0

Compare Source

Bug Fixes
  • eslint-plugin: [explicit-module-boundary-types] don't check returned functions if parent function has return type (#​2084) (d7d4eeb)
  • eslint-plugin: [no-unnecessary-condition] handle comparison of any, unknown and loose comparisons with nullish values (#​2123) (1ae1d01)
  • eslint-plugin: [no-unnecessary-condition] improve optional chain handling (#​2111) (9ee399b)
  • eslint-plugin: [no-unnecessary-condition] improve optional chain handling 2 - electric boogaloo (#​2138) (c87cfaf)
  • eslint-plugin: [no-unused-expressions] ignore import expressions (#​2130) (e383691)
  • eslint-plugin: [no-var-requires] false negative for TSAsExpression and MemberExpression (#​2139) (df95338)
  • experimental-utils: downlevel type declarations for versions older than 3.8 (#​2133) (7925823)
Features
  • eslint-plugin: [ban-ts-comments] add "allow-with-description" option (#​2099) (8a0fd18)
  • eslint-plugin: [ban-types] allow selective disable of default options with false value (#​2137) (1cb8ca4)
  • eslint-plugin: [explicit-module-boundary-types] improve accuracy and coverage (#​2135) (caaa859)

3.0.2 (2020-05-27)

Bug Fixes

3.0.1 (2020-05-25)

Bug Fixes

v3.0.2

Compare Source

Bug Fixes

v3.0.1

Compare Source

Bug Fixes

v3.0.0

Compare Source

Please see the release notes for v3.0.0

Bug Fixes
  • eslint-plugin: [dot-notation] fix typo in schema (#​2040) (242328f)
  • eslint-plugin: correct parser peerDep version (fe59f69)
  • experimental-utils: add back SourceCode.isSpaceBetweenTokens (ae82ea4)
  • typescript-estree: remove now defunct Import node type (f199cbd)
  • typescript-estree: use TSEmptyBodyFunctionExpression for body-less nodes (#​1289) (82e7163)
Features
  • add index files to parser and typescript-estree (3dfc46d)
  • eslint-plugin: [no-floating-promises] ignore void operator by default (#​2003) (3626a67)
  • eslint-plugin: [no-unnecessary-condition] remove checkArrayPredicates and always check it (#​1579) (bfd9b60)
  • eslint-plugin: [no-unnecessary-condition] report when non-nullish is compared to null/undefined (#​1659) (7fa9060)
  • eslint-plugin: [prefer-nullish-coalescing][prefer-optional-chain] remove unsafe fixers (52b6085)
  • eslint-plugin: [restrict-template-expressions] allowNumber: true by default (#​2005) (643ec24)
  • eslint-plugin: [restrict-template-expressions] rename allowNullable to allowNullish (#​2006) (264b017)
  • experimental-utils: upgrade eslint types for v7 (#​2023) ([06869c9](https://togithub.com/typescript-eslint/typescript-eslint/commit/06869c9656fa3793612666</details>

Renovate configuration

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

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

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

:ghost: Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

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

+323 -261

0 comment

2 changed files

renovate[bot]

pr closed time in 8 days

push eventfinn-no/renovate-presets

Cody Olsen

commit sha 6694695aad7d14e74d643902e179f67e06065aeb

feat: enable dashboard issues https://docs.renovatebot.com/configuration-options/#dependencydashboard

view details

push time in 8 days

push eventstipsan/compute-scroll-into-view

Cody Olsen

commit sha 0706944656e332b2dcd9f8a332bdfdc0514eb820

Update renovate.json

view details

push time in 8 days

push eventstipsan/hyperfokus

renovate[bot]

commit sha 152c1ecd4b527499097e7dcfe49ada17c9bb7c94

chore(deps): update dependency webpack to ^5.1.0 (#204) Co-authored-by: Renovate Bot <bot@renovateapp.com>

view details

push time in 8 days

delete branch stipsan/hyperfokus

delete branch : renovate/webpack-packages

delete time in 8 days

PR merged stipsan/hyperfokus

chore(deps): update dependency webpack to ^5.1.0

This PR contains the following updates:

Package Type Update Change
webpack resolutions minor ^5.0.0-rc.6 -> ^5.1.0

Release Notes

<details> <summary>webpack/webpack</summary>

v5.1.0

Compare Source

Features
  • expose webpack property from Compiler
  • expose cleverMerge, EntryOptionPlugin, DynamicEntryPlugin
Bugfixes
  • missing require("..").xxx in try-catch produces a warning instead of an error now
  • handle reexports in concatenated modules correctly when they are side-effect-free
  • fix incorrect deprecation message for ModuleTemplate.hooks.hash

v5.0.0

Compare Source

Announcement and changelog

</details>


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.


  • [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

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

+5 -5

0 comment

2 changed files

renovate[bot]

pr closed time in 8 days

push eventstipsan/hyperfokus

Cody Olsen

commit sha 22d8be3720ea2e9e45531f61b231d863f17d3f40

Update renovate.json

view details

push time in 8 days

pull request commentpodium-lib/utils

Add react support to assets

Yeah I second the notion in calling them .toJsxAttributes()

digitalsadhu

comment created time in 11 days

push eventstipsan/ioredis-mock

renovate[bot]

commit sha 062850ffbc022cfd7398ac542f693b49a89a75f4

chore(deps): lock file maintenance (#964) Co-authored-by: Renovate Bot <bot@renovateapp.com>

view details

push time in 21 days

delete branch stipsan/ioredis-mock

delete branch : renovate/lock-file-maintenance

delete time in 21 days

PR merged stipsan/ioredis-mock

chore(deps): lock file maintenance

This PR contains the following updates:

Update Change
lockFileMaintenance All locks refreshed

:wrench: This Pull Request updates lock files to use the latest dependency versions.


Renovate configuration

:date: Schedule: "before 3am on the first day of the month" (UTC).

:vertical_traffic_light: Automerge: Enabled.

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

:ghost: Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

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

+210 -307

1 comment

1 changed file

renovate[bot]

pr closed time in 21 days

PullRequestReviewEvent
PullRequestReviewEvent

Pull request review commenteik-lib/eik-lib.github.io

docs: Add section about mapping modules

 Once created, we publish this Import Map to our Eik server and then create an al In each application we can now depend on and install lit-html through NPM as is common practice. Each application can then locally reference lit-html through its bare import statement like so:  ```js-import * as lit from 'lit-html';+import {html, render} from 'lit-html' ```  In the build tool used by the applications we can now add the appropiate Eik mapping utility which will read a set of defined Import Maps (in our example, "site-mapping") from the Eik server and apply these Import Maps to the application code. This will map our bare import statements into legal ESM import statements pointing to the lit-html alias defined in the Import Map:  ```js-import * as lit from '/npm/lit-html/v1';+import * as lit from '/npm/lit-html/v1/lit-html.js'; ```  Now our application defines an ESM import statement that points to the alias for lit-html which makes sure multiple applications on our site align to the same version of lit-html. By doing this, we're able to develop our application in isolation without depending or interfering with any other applications that utilise the same library.
Now our application defines an ESM import statement that points to the alias for lit-html which makes sure multiple applications on our site align to the same version of lit-html. By doing this, we're able to develop our application in isolation without depending or interfering with any other applications that utilize the same library.
trygve-lie

comment created time in 21 days

Pull request review commenteik-lib/eik-lib.github.io

docs: Add section about mapping modules

 In Eik, we utilize bare imports to align modules (ex; the applications in our ex  ## Import Maps -Import Maps are a fairly new and up and coming web standard. An Import Map is a simple object mapping between a bare import statement and a legal ESM import statement. The idea is that an Import Map should be used to map bare import statements to fully qualified import statements in ESM.+[Import Maps](https://github.com/WICG/import-maps) are a fairly new and up and coming web standard. An Import Map is a simple object mapping between a bare import statement and a legal ESM import statement. The idea is that an Import Map should be used to map bare import statements to fully qualified import statements in ESM.
[Import Maps](https://github.com/WICG/import-maps) is fairly new and up and coming web standard. An Import Map is a simple object mapping between a bare import statement and a legal ESM import statement. The idea is that an Import Map should be used to map bare import statements to fully qualified import statements in ESM.
trygve-lie

comment created time in 21 days

Pull request review commenteik-lib/eik-lib.github.io

docs: Add section about mapping modules

+---+id: mapping_import_map+title: Import Map+sidebar_label: Import Map+---++A key concept in Eik is to align dependents of a module to the same version. A part of this concept is [Import Maps](https://github.com/WICG/import-maps) which make it possible to map import statements in modules.++Import Maps are a fairly new concept and will hopefully be supported in browsers in close future. Import Maps allow [ECMA Script Modules (ESM)](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules) "bare" import specifiers, such as `import {html, render} from 'lit-html'` which will throw when used in a browser, to work by being mapped to relative or abosulte URLs the browser can use to load the module.++In other words; in a ESM we can import a module like so:++```js+import {html, render} from 'lit-html';+```++Then an Import Map can be loaded as follow in the browser:++```html+<script type="importmap">+{+  "imports": {+    "lit-html": "https://cdn.eik-server.com/npm/lit-html/v1/lit-html.js",+  }+}+</script>+```++When the Import Map is applied, our code will act as we have written:++```js+import {html, render} from 'lit-html';++import * as lit from 'https://cdn.eik-server.com/npm/lit-html/v1/lit-html.js'+```++## Choose a Strategy++Browser support for Import Maps are currently (October 2020) limited. There are polyfills available for Import Maps and its fully possible to apply Import Map to modules ahead of time through build tools. Eik does not dictate which strategy, a polyfill or ahead of time, one use to append Import Maps to modules but its adviced that an organization align on the same strategy accross its teams.++It is also worth keeping in mind that one are not locked to one strategy forever. An Import Map used to apply mapping ahead of time will work as intended in browsers the day there is full browser support for Import Maps.
It is also worth keeping in mind that one is not locked to one strategy forever. An Import Map used to apply mapping ahead of time will work as intended in browsers the day there is full browser support for Import Maps.
trygve-lie

comment created time in 21 days

Pull request review commenteik-lib/eik-lib.github.io

docs: Add section about mapping modules

 Once created, we publish this Import Map to our Eik server and then create an al In each application we can now depend on and install lit-html through NPM as is common practice. Each application can then locally reference lit-html through its bare import statement like so:  ```js-import * as lit from 'lit-html';+import {html, render} from 'lit-html' ```  In the build tool used by the applications we can now add the appropiate Eik mapping utility which will read a set of defined Import Maps (in our example, "site-mapping") from the Eik server and apply these Import Maps to the application code. This will map our bare import statements into legal ESM import statements pointing to the lit-html alias defined in the Import Map:
In the build tool used by the applications we can now add the appropriate Eik mapping utility which will read a set of defined Import Maps (in our example, "site-mapping") from the Eik server and apply these Import Maps to the application code. This will map our bare import statements into legal ESM import statements pointing to the lit-html alias defined in the Import Map:
trygve-lie

comment created time in 21 days

Pull request review commenteik-lib/eik-lib.github.io

docs: Add section about mapping modules

+---+id: mapping_import_map+title: Import Map+sidebar_label: Import Map+---++A key concept in Eik is to align dependents of a module to the same version. A part of this concept is [Import Maps](https://github.com/WICG/import-maps) which make it possible to map import statements in modules.++Import Maps are a fairly new concept and will hopefully be supported in browsers in close future. Import Maps allow [ECMA Script Modules (ESM)](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules) "bare" import specifiers, such as `import {html, render} from 'lit-html'` which will throw when used in a browser, to work by being mapped to relative or abosulte URLs the browser can use to load the module.++In other words; in a ESM we can import a module like so:++```js+import {html, render} from 'lit-html';+```++Then an Import Map can be loaded as follow in the browser:
Then an Import Map can be loaded as following in the browser:
trygve-lie

comment created time in 21 days

Pull request review commenteik-lib/eik-lib.github.io

docs: Add section about mapping modules

+---+id: mapping_plugins+title: Build Tool Plugins+sidebar_label: Build Tool Plugins+---++Eik provide a set of build tool plugins which cater for applying Import Maps ahead of time. 
Eik provides a set of build tool plugins that cater for applying Import Maps ahead of time. 
trygve-lie

comment created time in 21 days

Pull request review commenteik-lib/eik-lib.github.io

docs: Add section about mapping modules

+---+id: mapping_import_map+title: Import Map+sidebar_label: Import Map+---++A key concept in Eik is to align dependents of a module to the same version. A part of this concept is [Import Maps](https://github.com/WICG/import-maps) which make it possible to map import statements in modules.++Import Maps are a fairly new concept and will hopefully be supported in browsers in close future. Import Maps allow [ECMA Script Modules (ESM)](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules) "bare" import specifiers, such as `import {html, render} from 'lit-html'` which will throw when used in a browser, to work by being mapped to relative or abosulte URLs the browser can use to load the module.
Import Maps are a fairly new concept and will hopefully be supported in browsers in the close future. Import Maps allow [ECMA Script Modules (ESM)](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules) "bare" import specifiers, such as `import {html, render} from 'lit-html'` which will throw when used in a browser, to work by being mapped to a relative or absolute URLs the browser can use to load the module.
trygve-lie

comment created time in 21 days

Pull request review commenteik-lib/eik-lib.github.io

docs: Add section about mapping modules

+---+id: mapping_plugins+title: Build Tool Plugins+sidebar_label: Build Tool Plugins+---++Eik provide a set of build tool plugins which cater for applying Import Maps ahead of time. ++The common functionallity of these plugins is that they will, if found, load the `eik.json` in a project and fetch the defined Import Maps and then apply these to the code the build tool is processing.++When using a build tool to apply an Import Map ahead of time, the build process should be run before a module is published to a Eik server.
When using a build tool to apply an Import Map ahead of time, the build process should be run before a module is published to an Eik server.
trygve-lie

comment created time in 21 days

Pull request review commenteik-lib/eik-lib.github.io

docs: Add section about mapping modules

+---+id: mapping_import_map+title: Import Map+sidebar_label: Import Map+---++A key concept in Eik is to align dependents of a module to the same version. A part of this concept is [Import Maps](https://github.com/WICG/import-maps) which make it possible to map import statements in modules.++Import Maps are a fairly new concept and will hopefully be supported in browsers in close future. Import Maps allow [ECMA Script Modules (ESM)](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules) "bare" import specifiers, such as `import {html, render} from 'lit-html'` which will throw when used in a browser, to work by being mapped to relative or abosulte URLs the browser can use to load the module.++In other words; in a ESM we can import a module like so:++```js+import {html, render} from 'lit-html';+```++Then an Import Map can be loaded as follow in the browser:++```html+<script type="importmap">+{+  "imports": {+    "lit-html": "https://cdn.eik-server.com/npm/lit-html/v1/lit-html.js",+  }+}+</script>+```++When the Import Map is applied, our code will act as we have written:++```js+import {html, render} from 'lit-html';++import * as lit from 'https://cdn.eik-server.com/npm/lit-html/v1/lit-html.js'+```++## Choose a Strategy++Browser support for Import Maps are currently (October 2020) limited. There are polyfills available for Import Maps and its fully possible to apply Import Map to modules ahead of time through build tools. Eik does not dictate which strategy, a polyfill or ahead of time, one use to append Import Maps to modules but its adviced that an organization align on the same strategy accross its teams.
Browser support for Import Maps is currently (October 2020) limited. There are polyfills available for Import Maps and its fully possible to apply Import Map to modules ahead of time through build tools. Eik does not dictate which strategy, a polyfill or ahead of time, one uses to append Import Maps to modules but its advised that an organization aligns on the same strategy across its teams.
trygve-lie

comment created time in 21 days

Pull request review commenteik-lib/eik-lib.github.io

docs: Add section about mapping modules

+---+id: mapping_import_map+title: Import Map+sidebar_label: Import Map+---++A key concept in Eik is to align dependents of a module to the same version. A part of this concept is [Import Maps](https://github.com/WICG/import-maps) which make it possible to map import statements in modules.
A key concept in Eik is to align the dependents of a module to the same version. A part of this concept is [Import Maps](https://github.com/WICG/import-maps) which makes it possible to map import statements in modules.
trygve-lie

comment created time in 21 days

Pull request review commenteik-lib/eik-lib.github.io

docs: Add section about mapping modules

+---+id: mapping_import_map+title: Import Map+sidebar_label: Import Map+---++A key concept in Eik is to align dependents of a module to the same version. A part of this concept is [Import Maps](https://github.com/WICG/import-maps) which make it possible to map import statements in modules.++Import Maps are a fairly new concept and will hopefully be supported in browsers in close future. Import Maps allow [ECMA Script Modules (ESM)](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules) "bare" import specifiers, such as `import {html, render} from 'lit-html'` which will throw when used in a browser, to work by being mapped to relative or abosulte URLs the browser can use to load the module.++In other words; in a ESM we can import a module like so:
In other words; in an ESM we can import a module like so:
trygve-lie

comment created time in 21 days

Pull request review commenteik-lib/eik-lib.github.io

docs: Add section about mapping modules

+---+id: mapping_browser+title: Browser Support+sidebar_label: Browser Support+---++Eventually browsers will support Import Maps but currently (October 2020) no browser is shipped with Import Map enabeled. 
Eventually, browsers will support Import Maps but currently (October 2020) no browser is shipped with Import Map enabled. 
trygve-lie

comment created time in 21 days

pull request commentstipsan/ioredis-mock

fix: defineCommand should be sync

:tada: This PR is included in version 4.21.8 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

KashiMoonactive

comment created time in 21 days

release stipsan/ioredis-mock

v4.21.8

released time in 21 days

created tagstipsan/ioredis-mock

tagv4.21.8

Emulates ioredis by performing all operations in-memory.

created time in 21 days

more