profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/smeijer/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Stephan Meijer smeijer @rakered Leeuwarden, The Netherlands meijer.ws Dad, Husband, Developer. Full stack engineer, product owner, founder of various B2B collaboration platforms, maintainer of open source.

smeijer/leaflet-geosearch 688

A geocoding/address-lookup library supporting various api providers.

drcmda/react-contextual 648

🚀 react-contextual is a small (less than 1KB) helper around React 16s new context api

smeijer/redux-define 177

Define action constants for Redux

smeijer/unimported 164

Find and fix dangling files and unused dependencies in your JavaScript projects.

smeijer/where-broke 92

A CLI utility that helps finding breaking module versions using binary search and automated tests.

smeijer/latodoc 18

jsDoc3 Theme

smeijer/jest-partial 17

A partial matcher for Jest to simplify validation of complex structures.

open-draft/dotalias 11

Manage path aliases across multiple configurations (webpack, TypeScript, Jest, etc.).

smeijer/blocktober 10

say STOP to hacktoberfest spammers

smeijer/graphql-args 8

A lib that parses the resolver ast, to return the requested object fields and provided params, at any nested level.

startedjosh-thurston/easyBEATS

started time in 3 hours

startedsmeijer/unimported

started time in a day

startedsmeijer/unimported

started time in a day

startedsmeijer/unimported

started time in a day

delete branch smeijer/react-emotional

delete branch : dependabot/npm_and_yarn/lodash-4.17.19

delete time in a day

PR closed smeijer/react-emotional

chore(deps): bump lodash from 4.17.15 to 4.17.19 dependencies

Bumps lodash from 4.17.15 to 4.17.19. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/lodash/lodash/releases">lodash's releases</a>.</em></p> <blockquote> <h2>4.17.16</h2> </blockquote> </details> <details> <summary>Commits</summary> <ul> <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><a href="https://github.com/lodash/lodash/commit/1144918f3578a84fcc4986da9b806e63a6175cbb"><code>1144918</code></a> Rebuild lodash and docs</li> <li><a href="https://github.com/lodash/lodash/commit/3a3b0fd339c2109563f7e8167dc95265ed82ef3e"><code>3a3b0fd</code></a> Bump to v4.17.16</li> <li><a href="https://github.com/lodash/lodash/commit/c84fe82760fb2d3e03a63379b297a1cc1a2fce12"><code>c84fe82</code></a> fix(zipObjectDeep): prototype pollution (<a href="https://github-redirect.dependabot.com/lodash/lodash/issues/4759">#4759</a>)</li> <li><a href="https://github.com/lodash/lodash/commit/e7b28ea6cb17b4ca021e7c9d66218c8c89782f32"><code>e7b28ea</code></a> Sanitize sourceURL so it cannot affect evaled code (<a href="https://github-redirect.dependabot.com/lodash/lodash/issues/4518">#4518</a>)</li> <li><a href="https://github.com/lodash/lodash/commit/0cec225778d4ac26c2bac95031ecc92a94f08bbb"><code>0cec225</code></a> Fix lodash.isEqual for circular references (<a href="https://github-redirect.dependabot.com/lodash/lodash/issues/4320">#4320</a>) (<a href="https://github-redirect.dependabot.com/lodash/lodash/issues/4515">#4515</a>)</li> <li><a href="https://github.com/lodash/lodash/commit/94c3a8133cb4fcdb50db72b4fd14dd884b195cd5"><code>94c3a81</code></a> Document matches* shorthands for over* methods (<a href="https://github-redirect.dependabot.com/lodash/lodash/issues/4510">#4510</a>) (<a href="https://github-redirect.dependabot.com/lodash/lodash/issues/4514">#4514</a>)</li> <li>Additional commits viewable in <a href="https://github.com/lodash/lodash/compare/4.17.15...4.17.19">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/~mathias">mathias</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>

+3 -3

1 comment

1 changed file

dependabot[bot]

pr closed time in a day

pull request commentsmeijer/react-emotional

chore(deps): bump lodash from 4.17.15 to 4.17.19

Superseded by #4.

dependabot[bot]

comment created time in a day

PR opened smeijer/react-emotional

chore(deps): bump lodash from 4.17.15 to 4.17.21

Bumps lodash from 4.17.15 to 4.17.21. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/lodash/lodash/commit/f299b52f39486275a9e6483b60a410e06520c538"><code>f299b52</code></a> Bump to v4.17.21</li> <li><a href="https://github.com/lodash/lodash/commit/c4847ebe7d14540bb28a8b932a9ce1b9ecbfee1a"><code>c4847eb</code></a> Improve performance of <code>toNumber</code>, <code>trim</code> and <code>trimEnd</code> on large input strings</li> <li><a href="https://github.com/lodash/lodash/commit/3469357cff396a26c363f8c1b5a91dde28ba4b1c"><code>3469357</code></a> Prevent command injection through <code>_.template</code>'s <code>variable</code> option</li> <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>Additional commits viewable in <a href="https://github.com/lodash/lodash/compare/4.17.15...4.17.21">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>

+3 -3

0 comment

1 changed file

pr created time in a day

push eventDavidWells/analytics

David Wells

commit sha 7dd3f495a4ad6ea46b9906f98a45ba7b4dfee181

Create FUNDING.yml

view details

push time in a day

issue commentkentcdodds/kcd-discord-bot

Figure out how to add commands to list of accessible commands

I think support has just been merged. Not sure when it'll be released though: https://github.com/discordjs/discord.js/blob/master/docs/examples/commands.md

kentcdodds

comment created time in a day

issue commenttc39/proposal-record-tuple

Are records the same as immutable maps?

This is not something that the spec can decide on unfortunately, engines will be free to use any kind of underlying data structure that they wish to use. I can imagine that if large record update-by-copy are going to become prevalent on the web, there might be research into optimizing it. I unfortunately can't give you more info before someone attempts to implement the feature in a real browser. What I can say for now is that the polyfill does not have those optimizations. I would encourage you to open an issue on the polyfill repo (https://github.com/bloomberg/record-tuple-polyfill) to research this, if it is possible to achieve we can try to do it.

viebel

comment created time in a day

startedkentcdodds/super-simple-start-to-remix

started time in a day

issue commenttc39/proposal-record-tuple

Are records the same as immutable maps?

I am asking about the expected performance of updating a record. For large records, the spread operator will have bad performance, unless the browser implements efficient persistent data structures like the ones in Clojure and Immutable.js.

viebel

comment created time in a day

startedsmeijer/leaflet-geosearch

started time in a day

startedsmeijer/unimported

started time in 2 days

startedgoogle/zx

started time in 2 days

issue openedDavidWells/analytics

Recipe for SPAs using hashes when page() only sends path

Most Single Page Apps always have the same path in location, but their hashes change when user navigates.

Unfortunately the page() event for Google Analytics only sends path but not hashes.

ga("send", "pageview", {page: "/", title: "Home", location: "https://localhost:3000/"})

Should I hack and amend hashes like for example #contact to the path?

Like

      analytics.page({
        title: 'Contact',
        path: '#contact'
      })

But then isn't that wrong? Hashed aren't part of a path. Hence asking for a recipe how to use your plugin properly for Single Page Apps, thanks!

created time in 2 days

Pull request review commentsmeijer/unimported

Add --ignore-untracked CLI arg

 export interface CliArguments {   flow: boolean;   update: boolean;   init: boolean;+  ignoreUntracked: boolean; } -yargs-  .scriptName('unimported')-  .usage('$0 <cmd> [args]')-  .command(-    '*',-    'scan your project for dead files',-    (yargs) => {-      yargs.option('init', {-        alias: 'i',-        type: 'boolean',-        describe: 'dump default settings to .unimportedrc.json',-      });--      yargs.option('flow', {-        alias: 'f',-        type: 'boolean',-        describe: 'indicates if your code is annotated with flow types',-      });--      yargs.option('update', {-        alias: 'u',-        type: 'boolean',-        describe: 'update the ignore-lists stored in .unimportedrc.json',-      });-    },-    function (argv: Arguments<CliArguments>) {-      return main({-        init: argv.init,-        update: argv.update,-        flow: argv.flow,-      });-    },-  )-  .help().argv;+if (process.env.NODE_ENV !== 'test') {

There was a race condition in the tests with this running in the background. The addition of the additional async calls for the git logic, even though mocked, exposed this, leading to inconsistent behavior within the jest tests.

kpdecker

comment created time in 2 days

PR opened smeijer/unimported

Add --ignore-untracked CLI arg

This allows new files that are not yet tracked in git to be excluded from reporting.

+111 -45

0 comment

4 changed files

pr created time in 2 days

issue commentDavidWells/analytics

Lots of empty set comands

Yes analytics.user() returns an object. It's set with the analytics.identify() fn in my code but without dimensions.

Yes please don't set when customDimensions is null for whatever reasons.

binarykitchen

comment created time in 2 days

fork citylife4/leaflet-geosearch

A geocoding/address-lookup library supporting various api providers.

https://smeijer.github.io/leaflet-geosearch/

fork in 2 days

issue commenttc39/proposal-record-tuple

Order independent collection?

This sounds like this is a subject on its own. I don't think we want to cover this as part of R&T but we definitely can imagine future data structures compatible with R&T that would behave like so.

Jack-Works

comment created time in 2 days

issue commenttc39/proposal-record-tuple

Suggestion: `#()` and `#`; Idempotent boxing and unboxing syntax.

I am going to flag this one as a potential follow on proposal. I would imagine the need for this will appear through repeated use of boxes, which we don't want to encourage either! It is an interesting idea though!

The potential syntax conflict with private fields/methods/accessors makes me think this is also non-trivial furthering the case for separating it in another proposal...

somethingelseentirely

comment created time in 2 days

issue commenttc39/proposal-record-tuple

Are records the same as immutable maps?

There is no size limitation to records, they can be as big as you want them to be within the limits defined by the engine. However performance profiles are not guaranteed. Comparing 2 big records is likely to be linear time so it can take a while.

If lookup in a JSON is your main use case, I would expect the same performance profile as looking up in the equivalent object.

Let me know if that answers your question!

viebel

comment created time in 2 days

issue commenttc39/proposal-record-tuple

Consider adding a callback form to Tuple.prototype.with

This could also be done (either in this proposal or in a follow-up one) using a different method, to prevent the "array of functions" conflict:

arr.with(2, x => x + 1); // Puts x=>x+1 in the array
arr.update(2, x => x + 1); // Increments the 3rd element
rricard

comment created time in 2 days

issue closedtc39/proposal-record-tuple

Names of `Tuple.prototype.*` methods

  • Current: Tuple.prototype.pushed
    • Suggested: Tuple.prototype.toPushed
  • Current: Tuple.prototype.popped
    • Suggested: Tuple.prototype.toPopped

Rationale: .push and .pushed (etc.) look quite similar, which may be confusing. The prefix .to suggests that something new is returned. Other prefixes may work, too: .asPushed, withPushed, copyAndPush, etc.

Given that Array.prototype.reverse is destructive, I would not reuse that method name for tuples and give it the same treatment as .push et al.

[Edit 2021-04-02] My favorites are now (h/t @papb):

  • Tuple.prototype.copyPush (vs. .pushed)
  • Tuple.prototype.copyPop (vs. .popped)
  • Tuple.prototype.copyReverse (vs. .reversed)

closed time in 3 days

rauschma

issue commenttc39/proposal-record-tuple

Names of `Tuple.prototype.*` methods

Closing in favor of #227 and tc39/proposal-change-array-by-copy#10. Discussion should continue there!

rauschma

comment created time in 3 days

issue commenttc39/proposal-record-tuple

Consider adding a callback form to Tuple.prototype.with

Discussion is reopen whether we want to follow through or not...

rricard

comment created time in 3 days