profile
viewpoint

chocolateboy/babel-plugin-source-map-support 36

A Babel plugin which automatically makes stack traces source-map aware

chocolateboy/autobox 7

A perl pragma which allows methods to be called on native types

chocolateboy/ipc-event-emitter 6

An EventEmitter wrapper for IPC between parent and child processes with support for pinned events and logging

chocolateboy/babel-plugin-async-try-catch 3

[DEPRECATED] A Babel plugin which wraps the body of async functions in a try/catch block

chocolateboy/Devel-Pragma 3

Helper functions for developers of lexical pragmas

chocolateboy/Getopt-Module 2

A Perl module which allows applications to handle -M and -m options like perl

chocolateboy/google-direct 2

A Firefox addon which removes tracking links from Google Search results

chocolateboy/B-Hooks-OP-Annotation 1

A Perl module which allows XS modules to annotate and delegate hooked OPs

chocolateboy/easygit 1

A snapshot of Elijah Newren's EasyGit with the occasional maintenance fix

chocolateboy/Goto-Cached 1

A fast drop-in replacement for Perl's O(n) goto

issue closedchocolateboy/userscripts

Twitter Direct: `Uncaught SyntaxError: Identifier 'set' has already been declared` error with Tampermonkey

Greetings

First of all thanks a lot for your work, it's great.

This issue is regarding your 'Twitter Direct' script: it's working fine with (with Chrome 84/Firefox 79) and Violentmonkey 2.12.7 but unfortunately it does't work with Tampermonkey (TM 4.10/TM beta 4.11.6118).

The Console error with Tampermonkey is: Uncaught SyntaxError: Identifier 'set' has already been declared for line 19 : const { set } = module.exports (there's no such error with Violentmonkey)

Test URL: https://twitter.com/npmstatus/status/1291290208344760327

Thank you

closed time in 2 hours

darkred

issue commentchocolateboy/userscripts

Twitter Direct: `Uncaught SyntaxError: Identifier 'set' has already been declared` error with Tampermonkey

Thanks for the kind words and thanks for letting me know. This should be fixed in Twitter Direct v0.3.1.

I'm surprised that Tampermonkey doesn't nest the script scope inside that of the @requires like other engines. I've added a note about this to UncommonJS.

darkred

comment created time in 2 hours

created tagchocolateboy/uncommonjs

tagv0.3.2

A minimum viable shim for module.exports

created time in 2 hours

push eventchocolateboy/userscripts

chocolateboy

commit sha 3fe7d2d6bc3b63137d42722721ae7793e7c7bc4c

Twitter Direct: portability fix (#11)

view details

push time in 2 hours

push eventchocolateboy/userscripts

chocolateboy

commit sha 217928097a161eae0bdc779594233b6d86d0d9f6

GitHub First Commit: doctweak

view details

chocolateboy

commit sha c0809af9aa094aa637b7a527d8fd48cde7a660fe

Twitter Direct: portability fix (#11)

view details

push time in 2 hours

push eventchocolateboy/uncommonjs

chocolateboy

commit sha ca182b720bcf02c6dbd9660d6fc33f45cb14ee20

remove redundant coercion of Proxy-handler property name to string: - https://es.discourse.group/t/about-object-properties-according-to-the-spec/88 - https://web.archive.org/web/20190807121126/https://tc39.es/ecma262/#sec-topropertykey - https://2ality.com/2019/10/type-coercion.html#converting-to-property-keys

view details

chocolateboy

commit sha adbc4cedccbc7f550fe657e8d555e17fdbb93d4c

add a caveat about scoping/portability + move caveats section to the top level

view details

chocolateboy

commit sha 6913349c9c7d660ea703fb019b9ae2ce503b6b74

portability fixes - return true from the Proxy#set trap as required by the spec - catch the ReferenceError when assigning undeclared variables in strict mode and fall back to globalThis

view details

chocolateboy

commit sha f0b4c0af9fb591188aa3f5911a01e33e28e5f801

v0.3.2

view details

push time in 2 hours

push eventchocolateboy/uncommonjs

chocolateboy

commit sha 6913349c9c7d660ea703fb019b9ae2ce503b6b74

portability fixes - return true from the Proxy#set trap as required by the spec - catch the ReferenceError when assigning undeclared variables in strict mode and fall back to globalThis

view details

chocolateboy

commit sha f0b4c0af9fb591188aa3f5911a01e33e28e5f801

v0.3.2

view details

push time in 2 hours

push eventchocolateboy/uncommonjs

chocolateboy

commit sha e33d97b7e5e38939c7ed88ebb0f1e425e9558062

portability fixes - return true from the Proxy#set trap as required by the spec - catch the ReferenceError when assigning undeclared variables in strict mode and fall back to globalThis

view details

chocolateboy

commit sha 6dca95df2638dcf33b9a8815f13e636e7ba0e1b6

v0.3.2

view details

push time in 2 hours

push eventchocolateboy/uncommonjs

chocolateboy

commit sha e1968496de40c541650ca430eef201a73f843633

portability fixes - return a truthy value from the Proxy#set trap as required by the spec - catch the ReferenceError when assigning undeclared variables in strict mode and fall back to globalThis

view details

chocolateboy

commit sha 01949d39173e74f0c642aa0607c25c1c6ac2a40b

v0.3.2

view details

push time in 2 hours

issue commentTampermonkey/tampermonkey

Script scope clashes with that of the @requires

A change may break a lot of existing userscripts.

How so? This hasn't been the case (for this feature) with Violentmonkey and Greasemonkey v4. Note the userscript scope is nested within that of the @required dependencies, not isolated from it.

chocolateboy

comment created time in 4 hours

push eventchocolateboy/uncommonjs

chocolateboy

commit sha adbc4cedccbc7f550fe657e8d555e17fdbb93d4c

add a caveat about scoping/portability + move caveats section to the top level

view details

chocolateboy

commit sha e3a36820e59af3f2280682716abbd74a53e14a21

v0.3.2

view details

push time in 4 hours

issue openedTampermonkey/tampermonkey

Script scope clashes with that of the @requires

In Greasemonkey (v4.9) and Violentmonkey (v2.12.7), it's possible to declare local variables at the top level of a userscript without worrying about name conflicts with @require dependencies because they are evaluated in a distinct (nested) scope/IIFE. That doesn't appear to be the case with Tampermonkey, which can cause accidental clashes.

Expected Behavior

jquery-test-plugin.js

function foo () { ... }
function bar () { ... }

// ...

jQuery.fn.test = function () {
    if (something) {
        foo(this)
    } else {
        bar(this)
    }
}

example.user.js

// ==UserScript==
// @name          Non-Portable Userscript
// @include       *
// @require       https://code.jquery.com/jquery-3.5.1.min.js
// @require       https://example.com/jquery-test-plugin.js
// ==/UserScript==

const foo = () => 42

console.log(foo()) // 42

Actual Behavior

const foo = () => 42 // Uncaught SyntaxError: redeclaration of function `foo` 

console.log(foo()) 

Specifications

  • Tampermonkey: 4.11.6117
  • Firefox: v79.0
  • OS: Linux (Arch)

created time in 5 hours

push eventchocolateboy/uncommonjs

chocolateboy

commit sha 32a1b132db75e8d80435ff857d5eade63925dcc6

add a caveat about scoping/portability https://github.com/chocolateboy/userscripts/issues/11

view details

chocolateboy

commit sha 22e3c8b47ab8168d5e175b13ddfa5229880de768

move caveats section to the top level

view details

chocolateboy

commit sha 37dfead98ffcc44768a14435cf4dae1a2934cddb

v0.3.2

view details

push time in 6 hours

push eventchocolateboy/uncommonjs

chocolateboy

commit sha 915772324445ba8a0c9129ee72a226255d0f15fe

move caveats section to the top level

view details

chocolateboy

commit sha 002fb685cf2cbc2eb15f9e81b90e2777871615b6

v0.3.2

view details

push time in 6 hours

push eventchocolateboy/uncommonjs

chocolateboy

commit sha ca182b720bcf02c6dbd9660d6fc33f45cb14ee20

remove redundant coercion of Proxy-handler property name to string: - https://es.discourse.group/t/about-object-properties-according-to-the-spec/88 - https://web.archive.org/web/20190807121126/https://tc39.es/ecma262/#sec-topropertykey - https://2ality.com/2019/10/type-coercion.html#converting-to-property-keys

view details

chocolateboy

commit sha 11ef5d5b44379bb8bf535c0cc794a03c0c16a556

add a caveat about scoping/portability https://github.com/chocolateboy/userscripts/issues/11

view details

chocolateboy

commit sha f7700c3f079dc18bfbd92497f9ab775e1f5c1f47

v0.3.2

view details

push time in 6 hours

create barnchchocolateboy/async-any

branch : develop

created branch time in 21 hours

issue openedegoist/bili

bili --bundle-node-modules omits modules in v5

Bili: v5+ | Node.js: v14.6.0 | OS: Linux (Arch)

I'm trying to bundle node_modules dependencies in a UMD build. This works fine in bili v4 (v4.10.1), but appears to silently omit many dependencies in v5 (v5.0.1, v5.0.5).

Output

v4 (bundles 10/10 modules)

$ ./node_modules/.bin/bili --verbose --bundle-node-modules --module-name Test --format umd -d dist src/test.ts

Bundled colorette because ./src/test.ts imported it.
Bundled is-promise because ./src/test.ts imported it.
Bundled just-safe-get because ./src/test.ts imported it.
Bundled left-pad because ./src/test.ts imported it.
Bundled lodash because ./src/test.ts imported it.
Bundled tiny-once because ./src/test.ts imported it.
Bundled chalk because ./src/test.ts imported it.
Bundled is-observable because ./src/test.ts imported it.
Bundled observable-to-promise because ./src/test.ts imported it.
Bundled zen-observable because ./src/test.ts imported it.

success Bundled src/test.ts in umd format (1.8s)

v5 (bundles 4/10 modules)

$ ./node_modules/.bin/bili --verbose --bundle-node-modules --module-name Test --format umd -d dist src/test.ts

Bundled colorette because ./src/test.ts imported it.
Bundled lodash because ./src/test.ts imported it.
Bundled chalk because ./src/test.ts imported it.
Bundled zen-observable because ./src/test.ts imported it.

success Bundled src/test.ts in umd format (1.8s)

The environment is the same for both commands, e.g.:

src/test.ts

import chalk               from 'chalk'
import { green }           from 'colorette'
import isObservable        from 'is-observable'
import isPromise           from 'is-promise'
import get                 from 'just-safe-get'
import leftPad             from 'left-pad'
import _                   from 'lodash'
import observableToPromise from 'observable-to-promise'
import once                from 'tiny-once'
import Observable          from 'zen-observable'

console.log(chalk.red("Hello, world!"))
console.log(get)
console.log(green("Hello, world!"))
console.log(isObservable)
console.log(isPromise)
console.log(leftPad)
console.log(_)
console.log(Observable)
console.log(observableToPromise)
console.log(once)

babel.config.js

module.exports = {
    presets: ['bili/babel'],
    plugins: [],
}

tsconfig.json

{
    "compilerOptions": {
        "allowSyntheticDefaultImports": true
    }
}

devDependencies

  • @babel/core@7.11.1
  • rollup-plugin-typescript2@0.27.1
  • typescript@3.9.7

created time in a day

created tagchocolateboy/wax

tagv2.4.1

A CLI tool which adds HTTP support to other CLI tools

created time in 3 days

push eventchocolateboy/wax

chocolateboy

commit sha 9e8d5ddccd2ab058737a0742c60d015fd44c7d73

use a method parameter rather than a custom option to enable test mode

view details

chocolateboy

commit sha bf142a07c4954a87966cfcf1c6905d99e9fc324b

fix the default-directory tests on Strawberry Perl https://www.cpantesters.org/cpan/report/c04343aa-6bf4-1014-8fba-b734fab4497f

view details

chocolateboy

commit sha 062c3bd4e5e64432b56ec390d65b8806f5ce485c

v2.4.1

view details

push time in 3 days

push eventchocolateboy/wax

chocolateboy

commit sha 062c3bd4e5e64432b56ec390d65b8806f5ce485c

v2.4.1

view details

push time in 3 days

push eventchocolateboy/wax

chocolateboy

commit sha bf142a07c4954a87966cfcf1c6905d99e9fc324b

fix the default-directory tests on Strawberry Perl https://www.cpantesters.org/cpan/report/c04343aa-6bf4-1014-8fba-b734fab4497f

view details

push time in 3 days

push eventchocolateboy/wax

chocolateboy

commit sha 8818c6b0d79f9833e9894c36932242df063e07b4

try to run + fix the default-directory tests on Strawberry Perl https://www.cpantesters.org/cpan/report/c04343aa-6bf4-1014-8fba-b734fab4497f

view details

push time in 3 days

push eventchocolateboy/wax

chocolateboy

commit sha 86daa587b34fbed2c635c7345aaf757eeb3a6f82

try to run + fix the default-directory tests on Strawberry Perl https://www.cpantesters.org/cpan/report/c04343aa-6bf4-1014-8fba-b734fab4497f

view details

push time in 3 days

push eventchocolateboy/wax

chocolateboy

commit sha 9b31b90202890f6f75ddfbca9b7f8960fcc841a7

try to test + fix default-directory tests on Strawberry Perl https://www.cpantesters.org/cpan/report/c04343aa-6bf4-1014-8fba-b734fab4497f

view details

push time in 3 days

push eventchocolateboy/wax

chocolateboy

commit sha 9e8d5ddccd2ab058737a0742c60d015fd44c7d73

use a method parameter rather than a custom option to enable test mode

view details

push time in 3 days

created tagchocolateboy/wax

tagv2.3.3

A CLI tool which adds HTTP support to other CLI tools

created time in 3 days

created tagchocolateboy/wax

tagv2.4.0

A CLI tool which adds HTTP support to other CLI tools

created time in 3 days

push eventchocolateboy/wax

push time in 3 days

push eventchocolateboy/wax

chocolateboy

commit sha 217df90ae4e9161a90bd957a294cfaf1a54b4fa3

v3.2.0 bump the version to appease PAUSE (no other changes)

view details

push time in 3 days

push eventchocolateboy/wax

chocolateboy

commit sha df6c32589d5a738413603e0c16dd04da978150f6

bump the version + remove the separate module versioning

view details

chocolateboy

commit sha 0347ca6eba7b85a44ebb95f659b26ae9be74c44e

add new tests to the manifest

view details

chocolateboy

commit sha 1ad9bff84857a2656dadb1a0b4e1caec4e10df68

v2.4.0

view details

push time in 3 days

push eventchocolateboy/wax

chocolateboy

commit sha df6c32589d5a738413603e0c16dd04da978150f6

bump the version + remove the separate module versioning

view details

chocolateboy

commit sha 0347ca6eba7b85a44ebb95f659b26ae9be74c44e

add new tests to the manifest

view details

chocolateboy

commit sha 1ad9bff84857a2656dadb1a0b4e1caec4e10df68

v2.4.0

view details

push time in 3 days

push eventchocolateboy/wax

chocolateboy

commit sha 7d57c5a605f150aaacd1f5b2f9e297ca2d5e75b3

bump the version + remove the separate module versioning

view details

push time in 3 days

push eventchocolateboy/wax

chocolateboy

commit sha 29cf0a7dce70cd0673a0ac0abd0975f5c9fd88ae

allow option bundling, e.g. `-c -D` can be written as `-cD` + add --default-directory as an alias for -D + allow the user agent to be defined via $WAX_USER_AGENT

view details

chocolateboy

commit sha 5b97a1be26c1cc616f828d8efae0d7619e4f89ec

bump the default user-agent + log its source

view details

chocolateboy

commit sha 82637c2c66d83e3550bf5b1b8427cced11b8de19

bump LWP dependency: 6.44 -> 6.46

view details

chocolateboy

commit sha 2ac122b3d57f524b45233d4cf92b285629abbf7b

Travis: add perl 5.32 to the test matrix switch (back) to perl helpers for 5.32 (and blead) support

view details

chocolateboy

commit sha 017d89e368d5578fa480de93bd9266750401f2a3

doctweak

view details

chocolateboy

commit sha c0770b7c2b783a1fe115e53de9f5a08f77dfcf60

v2.4.0 bump the version + remove the separate module versioning

view details

push time in 3 days

push eventchocolateboy/wax

chocolateboy

commit sha 5b97a1be26c1cc616f828d8efae0d7619e4f89ec

bump the default user-agent + log its source

view details

chocolateboy

commit sha 82637c2c66d83e3550bf5b1b8427cced11b8de19

bump LWP dependency: 6.44 -> 6.46

view details

chocolateboy

commit sha 2ac122b3d57f524b45233d4cf92b285629abbf7b

Travis: add perl 5.32 to the test matrix switch (back) to perl helpers for 5.32 (and blead) support

view details

chocolateboy

commit sha 017d89e368d5578fa480de93bd9266750401f2a3

doctweak

view details

chocolateboy

commit sha c0770b7c2b783a1fe115e53de9f5a08f77dfcf60

v2.4.0 bump the version + remove the separate module versioning

view details

push time in 3 days

startedtwbs/icons

started time in 4 days

push eventchocolateboy/wax

chocolateboy

commit sha 4a5243b3ceb4fe83608f914dae39dcfab35ffa08

Travis: add perl 5.32 to the test matrix switch (back) to perl helpers for 5.32 (and blead) support

view details

push time in 4 days

push eventchocolateboy/wax

chocolateboy

commit sha 8c5d177fd7c3010aef8c7854da04a35bf2b5d62d

Travis: add perl 5.32 to the test matrix switch (back) to perl helpers for 5.32 (and dev) support

view details

push time in 4 days

push eventchocolateboy/wax

chocolateboy

commit sha 0624a0a6a9b7330968fdcf2024775eee19ff020e

Travis: add perl 5.32 to the test matrix switch (back) to perl helpers for 5.32 (and blead) support

view details

push time in 4 days

push eventchocolateboy/wax

chocolateboy

commit sha b78c933bb1135ce8e84c85c217436797f6981e85

Travis: add dev build

view details

push time in 4 days

startedtravis-perl/helpers

started time in 4 days

startedexcalidraw/excalidraw

started time in 4 days

push eventchocolateboy/wax

chocolateboy

commit sha 6f872efe58cd90485392e08828504a40003d7018

Travis: try switching (back) to perl helpers for 5.32 (and blead) support

view details

push time in 4 days

PR opened DemiMarie/midwife

Fix doc typo
+1 -1

0 comment

1 changed file

pr created time in 4 days

push eventchocolateboy/midwife

chocolateboy

commit sha 56e9a40c629e3609ba2fd12444cb12e97ef7d401

Fix doc typo

view details

push time in 4 days

fork chocolateboy/midwife

Small program that can be used as the interpreter for shebang lines, that then executes the real interpreter based on its command line argument

fork in 4 days

push eventchocolateboy/wax

chocolateboy

commit sha 29cf0a7dce70cd0673a0ac0abd0975f5c9fd88ae

allow option bundling, e.g. `-c -D` can be written as `-cD` + add --default-directory as an alias for -D + allow the user agent to be defined via $WAX_USER_AGENT

view details

chocolateboy

commit sha 4af8e97580da720fb637951e0485e2ffd7388c22

bump default user-agent

view details

chocolateboy

commit sha 58d93086ae985f71543b4a119d18baa09607f355

bump LWP dependency: 6.44 -> 6.46

view details

chocolateboy

commit sha b39d6c322216b70033a399386cff95f9b90ce017

add perl 5.32 to the test matrix

view details

push time in 4 days

push eventchocolateboy/wax

chocolateboy

commit sha 7d6231e43f39a418cd8e43f770816210990b152d

allow option bundling, e.g. `-c -D` can be written as `-cD` + add --default-directory as an alias for -D + allow the user agent to be defined via $WAX_USER_AGENT

view details

chocolateboy

commit sha 2a7475456305533132b86872edcc4706f043324f

bump default user-agent

view details

chocolateboy

commit sha 88480565a65f8cbbbaf0871f041f98348bc872ac

bump LWP dependency: 6.44 -> 6.46

view details

chocolateboy

commit sha 2f9ac6dc2961eb6c7aed6fdc14bb17ce0890e0b7

add perl 5.32 to the test matrix

view details

push time in 4 days

push eventchocolateboy/wax

chocolateboy

commit sha 023b1768f46225d91955ea335c8ee98a83c875a5

allow option bundling, e.g. `-c -D` can be written as `-cD` + add --default-directory as an alias for -D + allow the user agent to be defined via $WAX_USER_AGENT

view details

chocolateboy

commit sha fb1dc6646a55893a752cf4d6a721ebf6d91e8e5a

bump default user-agent

view details

chocolateboy

commit sha 9837e55c02570a54df07c67cf66c84fc1088c187

bump LWP dependency: 6.44 -> 6.46

view details

chocolateboy

commit sha c3f4692d3c445b0685535b9f28fabe2f58568960

add perl 5.32 to the test matrix

view details

push time in 4 days

push eventchocolateboy/wax

chocolateboy

commit sha 465e6b708ea3b30dd7d3caf46754096633b66fe1

Travis: try to mix distros to test perls from v5.8 to v5.32

view details

push time in 4 days

push eventchocolateboy/wax

chocolateboy

commit sha 4eb852705e91adf424dd51562dab9dec3bd9cf1a

Travis: try to mix distros to test perls from v5.8 to v5.32

view details

push time in 4 days

push eventchocolateboy/wax

chocolateboy

commit sha a3e40302dd53e5e96b4eda2856e22c28a9ddff36

Travis: try to mix distros to test perls from v5.8 to v5.32

view details

push time in 4 days

push eventchocolateboy/wax

chocolateboy

commit sha 2639256b36432d25a11bc50ddfb635425ecf9b82

Travis: try to mix distros to test perls from v5.8 to v5.32

view details

push time in 4 days

push eventchocolateboy/wax

chocolateboy

commit sha 9f4b86e3ea31db3afd34252bb8ebee0e32360e3f

allow option bundling, e.g. `-c -D` can be written as `-cD` + add --default-directory as an alias for -D + allow the user agent to be defined via $WAX_USER_AGENT

view details

chocolateboy

commit sha 3d3c853555413f424e0796f7a2a1b9496b4cbb10

bump default user-agent

view details

chocolateboy

commit sha 1992ba26e8f7836164e9c422ae88f40844acff36

bump LWP dependency: 6.44 -> 6.46

view details

chocolateboy

commit sha a83f8749b664329fb49da4e9eb4adcaba4b5ea05

add perl 5.32 to the test matrix

view details

push time in 4 days

create barnchchocolateboy/wax

branch : develop

created branch time in 4 days

PR opened jshttp/media-typer

Fix doc typos
+3 -3

0 comment

1 changed file

pr created time in 4 days

push eventchocolateboy/media-typer

chocolateboy

commit sha 2278394c50e962f28a97f96f6dd8aba9195f6434

Fix doc typos

view details

push time in 4 days

fork chocolateboy/media-typer

Simple RFC 6838 media type parser and formatter

fork in 4 days

startedtalentlessguy/es-mime-types

started time in 4 days

delete branch chocolateboy/is-observable

delete branch : stricter-checks

delete time in 4 days

startedmanorie/textoken

started time in 5 days

push eventchocolateboy/onetime

chocolateboy

commit sha ef34ee4d096cc3776c58902a6f1d46cd1f052dfa

update the test to match the README match the change to the example made in fc711c0fa80ce801496071d89b7f13b778453a55

view details

push time in 5 days

issue commentfabiospampinato/cash

Add release dates to the changelog

I would argue the most salient piece is what the breaking changes are, if any.

I would argue that the date matters here more than ever, e.g. dropping support for an EOL Node.js version is a dramatically different change than dropping support for a maintained Node.js version (e.g. because it doesn't support a new feature), even though both could be breaking changes. The difference is entirely down to when that change was made.

chocolateboy

comment created time in 5 days

pull request commentfabiospampinato/cash

Add release dates to the CHANGELOG

I'm not sure what that table means.

Versions/sections appear the specified number of times in the changelog, e.g. for v1.2.2:

  • https://github.com/fabiospampinato/cash/blob/8.0.0/CHANGELOG.md#version-122
  • https://github.com/fabiospampinato/cash/blob/8.0.0/CHANGELOG.md#version-122-1
  • https://github.com/fabiospampinato/cash/blob/8.0.0/CHANGELOG.md#version-122-2
  • https://github.com/fabiospampinato/cash/blob/8.0.0/CHANGELOG.md#version-122-3

Use regular quotation marks and apostrophes rather then typographic ones.

The old changelog uses both. I can't see any "smart" quotes in this version?

Wrap the release date in parenthesis rather than separating it with a hyphen.

Link to the respective github release tag whenever possible.

Prefix versions with "v" at least.

Done.

Update bump's configuration file too.

As the author of bump, I figured you'd be the best person to do that :-)

chocolateboy

comment created time in 5 days

push eventchocolateboy/cash

chocolateboy

commit sha 3d42b63001504da9ea34f06d4098cd9d647a23dc

Implement changes suggested in the PR feedback

view details

push time in 5 days

issue commentfabiospampinato/cash

Add release dates to the changelog

The answer to "When was the last commit?"

Commits != releases. There may have been many commits to a project, sometimes stretching over years, since the last release.

"Check the [GitHub] repo to figure out the change" is useless if you're trying to troubleshoot an issue in production in a dependency in your node_modules folder. Or if GitHub is down. Or if the release notes aren't descriptive etc.

chocolateboy

comment created time in 5 days

issue commentfabiospampinato/cash

Add release dates to the changelog

Why not include dates (like the vast majority of changelogs do)? How does it hurt? What does it cost (it looks like bump can easily add them)?

I don't care one bit about what "Keep a Changelog" thinks

You'll find the same description/assumption in any description of a changelog, or — indeed — pretty much any changelog.

Why do you want this?

I want to see what has changed when. It could be that the project is dead and that the last change/release was years ago. Alternatively, it could show that a project is being actively maintained. Or I might want to see how the project has evolved over time. Or troubleshoot a breaking change.

All of this becomes tedious guesswork/sleuthing if the changelog (AKA history) cryptically omits the most obvious and salient property of each release: when it occurred.

chocolateboy

comment created time in 5 days

PR opened sindresorhus/is-observable

Improve the robustness and strictness of the checks
  • guard against type errors
  • guard against accidental/deliberate false positives
+26 -5

0 comment

3 changed files

pr created time in 5 days

create barnchchocolateboy/is-observable

branch : stricter-checks

created branch time in 5 days

fork chocolateboy/is-observable

Check if a value is an Observable

fork in 5 days

PR opened sindresorhus/onetime

Fix README example
+3 -3

0 comment

1 changed file

pr created time in 5 days

push eventchocolateboy/onetime

chocolateboy

commit sha bea27fee98289ed55e4c349899312f27fecabed5

Fix README example

view details

push time in 5 days

fork chocolateboy/onetime

Ensure a function is only called once

fork in 5 days

delete branch chocolateboy/tinykeys

delete branch : patch-1

delete time in 6 days

pull request commentjamiebuilds/tinykeys

Fix doc typo

(FYI)

chocolateboy

comment created time in 6 days

PR opened jamiebuilds/tinykeys

Fix doc typo
+1 -1

0 comment

1 changed file

pr created time in 6 days

push eventchocolateboy/tinykeys

chocolateboy

commit sha 2471627485283d2abc321e02bd9d9dfff7ddaf9a

Fix doc typo

view details

push time in 6 days

fork chocolateboy/tinykeys

A tiny (~400 B) & modern library for keybindings.

https://jamiebuilds.github.io/tinykeys/

fork in 6 days

startedjamiebuilds/tinykeys

started time in 6 days

PR opened egoist/bili

Silence `prefer_named_exports` warning when there are no named exports

Set rollup's output.exports option to "auto" to avoid warnings about default exports when there are no named exports. Closes #425.

+2 -1

0 comment

1 changed file

pr created time in 6 days

create barnchchocolateboy/bili

branch : silence-default-export-warning

created branch time in 6 days

issue openedegoist/bili

Warning when using a default export

Bili: v5+ | Node.js: v14.6.0 | OS: Linux (Arch)

Using a default export in an ES module results in the following warning, as of Rollup v2.2.0 (13 days ago):

warning prefer_named_exports: Entry module "src/index.js" is implicitly using "default" export mode, which means for CommonJS output that its default export is assigned to "module.exports". For many tools, such CommonJS output will not be interchangeable with the original ES module. If this is intended, explicitly set "output.exports" to either "auto" or "default", otherwise you might want to consider changing the signature of "src/index.js" to use named exports only.

This isn't something that needs to be "fixed" in modules which only use default exports (i.e. which don't mix named and default exports), and developers shouldn't have to change their API to appease a bundler, so the warning should not be enabled by default.

created time in 6 days

fork chocolateboy/bili

Bili makes it easier to bundle JavaScript libraries.

https://bili.egoist.sh

fork in 6 days

CommitCommentEvent

startedfranciscop/umbrella

started time in 7 days

create barnchchocolateboy/babel-plugin-root-import

branch : separate-changelog

created branch time in 7 days

push eventchocolateboy/userscripts

chocolateboy

commit sha 0762927a596688060bb58669bf40d40d0d546d39

Twitter Direct: expand DM links

view details

push time in 8 days

created tagchocolateboy/uncommonjs

tagv0.3.1

A minimum viable shim for module.exports

created time in 8 days

push eventchocolateboy/uncommonjs

chocolateboy

commit sha 8aada84472e4ceacfcc207f92cda9a1fd6261d30

doctweak

view details

chocolateboy

commit sha fe1e09183b8379723cc8ae36178634923019c559

simplify/shorten the name-dedup function

view details

chocolateboy

commit sha c2f93722078a8663b83cfae91db3ca62ae717549

reduce the minified-file size

view details

chocolateboy

commit sha 1ba3751df2917418a810289fd630ac26ee5595e5

add userscript-engine tags

view details

chocolateboy

commit sha e53efd8fc9e65e5aed4d31fe21aaf8847eb2f9a5

v0.3.1

view details

push time in 8 days

push eventchocolateboy/uncommonjs

chocolateboy

commit sha e53efd8fc9e65e5aed4d31fe21aaf8847eb2f9a5

v0.3.1

view details

push time in 8 days

push eventchocolateboy/uncommonjs

chocolateboy

commit sha 286e2b23a23d907caf3d0bba7f177cf18331fbf9

v0.3.1

view details

push time in 8 days

push eventchocolateboy/uncommonjs

chocolateboy

commit sha cfc52d5bd2f7449346675e323d0f43def6d74d29

update the changelog

view details

push time in 8 days

push eventchocolateboy/uncommonjs

chocolateboy

commit sha c2f93722078a8663b83cfae91db3ca62ae717549

reduce the minified-file size

view details

chocolateboy

commit sha 1ba3751df2917418a810289fd630ac26ee5595e5

add userscript-engine tags

view details

chocolateboy

commit sha ccf3063e1f9957d026822479511fd182e4f3cdf2

update the changelog

view details

push time in 8 days

push eventchocolateboy/uncommonjs

chocolateboy

commit sha 8aada84472e4ceacfcc207f92cda9a1fd6261d30

doctweak

view details

chocolateboy

commit sha fe1e09183b8379723cc8ae36178634923019c559

simplify/shorten the name-dedup function

view details

chocolateboy

commit sha 53088fd4b23e08b8fd3537d59043efa31d58b7f8

reduce the minified-file size

view details

chocolateboy

commit sha 70b6dc6f7f89f4021e7cae2b2827a0fe1934ce84

add userscript-engine tags

view details

chocolateboy

commit sha 97c63253a22a9f44dece223f2263f7b0f4a26067

update the changelog

view details

push time in 8 days

created tagchocolateboy/uncommonjs

tagv0.3.0

A minimum viable shim for module.exports

created time in 8 days

push eventchocolateboy/uncommonjs

chocolateboy

commit sha cb2faf6761c736688566b012ef341797dbf050a3

name fixes - don't dedup the names of duplicate assignments, e.g.: `exports.foo = foo && exports.foo = foo` - fix assignment to generated names, e.g. assigning to `foo_1`

view details

chocolateboy

commit sha e499599f981bb13732d560b538540685bb225364

v0.3.0

view details

push time in 8 days

push eventchocolateboy/uncommonjs

chocolateboy

commit sha e499599f981bb13732d560b538540685bb225364

v0.3.0

view details

push time in 8 days

create barnchchocolateboy/uncommonjs

branch : develop

created branch time in 8 days

issue commentviolentmonkey/violentmonkey

Option to disable the injected code wrapping

Ah, I see: you ensure they're undefined. Thought you were saying you define them.

FYI, there are solutions for script developers who want to use CommonJS modules (which aren't available as UMD builds):

AlttiRi

comment created time in 8 days

more