Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

switch source to ESM, migrate from Jest to UVU, drop Node 16 #72

Merged
merged 4 commits into from
Jan 21, 2024

Conversation

Simek
Copy link
Owner

@Simek Simek commented Jan 21, 2024

Why & How

This PR updated the @actions/octokit to the lates version from v6 releases, which now dropped support for Node 14 & 16, hence the action need to drop that support too. Those changes will be published as a new major version.

Important

If you still need to use this action in Node 16 based workflow, you can use v0.11 version tag in the workflow, instead of pointing to main:

- name: Yarn Lock Changes
     uses: Simek/yarn-lock-changes@v0.11

Also to simplify the test setup, and remove Babel from the project, I have switched to lightweight UWU instead. This was also a great opportunity to fully switch to ESM source.

Besides the changes mentioned above I have updated package and developer dependencies. Asset reoptimization was need due to svgo bump. Additionally, the action versions have been updated in README example and repository workflows.

Copy link

github-actions bot commented Jan 21, 2024

yarn.lock changes

Summary

Status Count
ADDED 8
UPDATED 23
DOWNGRADED 5
REMOVED 314
Click to toggle table visibility
Name Status Previous Current
@actions/github UPDATED 5.1.1 6.0.0
@actions/http-client UPDATED 2.0.1 2.2.0
@ampproject/remapping REMOVED 2.2.1 -
@babel/code-frame REMOVED 7.22.13 -
@babel/compat-data REMOVED 7.23.2 -
@babel/core REMOVED 7.23.2 -
@babel/generator REMOVED 7.23.0 -
@babel/helper-annotate-as-pure REMOVED 7.22.5 -
@babel/helper-builder-binary-assignment-operator-visitor REMOVED 7.22.10 -
@babel/helper-compilation-targets REMOVED 7.22.15 -
@babel/helper-create-class-features-plugin REMOVED 7.22.11 -
@babel/helper-create-regexp-features-plugin REMOVED 7.22.9 -
@babel/helper-define-polyfill-provider REMOVED 0.4.3 -
@babel/helper-environment-visitor REMOVED 7.22.20 -
@babel/helper-function-name REMOVED 7.23.0 -
@babel/helper-hoist-variables REMOVED 7.22.5 -
@babel/helper-member-expression-to-functions REMOVED 7.22.5 -
@babel/helper-module-imports REMOVED 7.22.15 -
@babel/helper-module-transforms REMOVED 7.23.0 -
@babel/helper-optimise-call-expression REMOVED 7.22.5 -
@babel/helper-plugin-utils REMOVED 7.22.5 -
@babel/helper-remap-async-to-generator REMOVED 7.22.20 -
@babel/helper-replace-supers REMOVED 7.22.9 -
@babel/helper-simple-access REMOVED 7.22.5 -
@babel/helper-skip-transparent-expression-wrappers REMOVED 7.22.5 -
@babel/helper-split-export-declaration REMOVED 7.22.6 -
@babel/helper-string-parser REMOVED 7.22.5 -
@babel/helper-validator-identifier REMOVED 7.22.20 -
@babel/helper-validator-option REMOVED 7.22.15 -
@babel/helper-wrap-function REMOVED 7.22.20 -
@babel/helpers REMOVED 7.23.2 -
@babel/highlight REMOVED 7.22.13 -
@babel/parser REMOVED 7.23.0 -
@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression REMOVED 7.22.15 -
@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining REMOVED 7.22.15 -
@babel/plugin-proposal-private-property-in-object REMOVED 7.21.0-placeholder-for-preset-env.2 -
@babel/plugin-syntax-async-generators REMOVED 7.8.4 -
@babel/plugin-syntax-bigint REMOVED 7.8.3 -
@babel/plugin-syntax-class-properties REMOVED 7.12.13 -
@babel/plugin-syntax-class-static-block REMOVED 7.14.5 -
@babel/plugin-syntax-dynamic-import REMOVED 7.8.3 -
@babel/plugin-syntax-export-namespace-from REMOVED 7.8.3 -
@babel/plugin-syntax-import-assertions REMOVED 7.22.5 -
@babel/plugin-syntax-import-attributes REMOVED 7.22.5 -
@babel/plugin-syntax-import-meta REMOVED 7.10.4 -
@babel/plugin-syntax-json-strings REMOVED 7.8.3 -
@babel/plugin-syntax-jsx REMOVED 7.18.6 -
@babel/plugin-syntax-logical-assignment-operators REMOVED 7.10.4 -
@babel/plugin-syntax-nullish-coalescing-operator REMOVED 7.8.3 -
@babel/plugin-syntax-numeric-separator REMOVED 7.10.4 -
@babel/plugin-syntax-object-rest-spread REMOVED 7.8.3 -
@babel/plugin-syntax-optional-catch-binding REMOVED 7.8.3 -
@babel/plugin-syntax-optional-chaining REMOVED 7.8.3 -
@babel/plugin-syntax-private-property-in-object REMOVED 7.14.5 -
@babel/plugin-syntax-top-level-await REMOVED 7.14.5 -
@babel/plugin-syntax-typescript REMOVED 7.16.7 -
@babel/plugin-syntax-unicode-sets-regex REMOVED 7.18.6 -
@babel/plugin-transform-arrow-functions REMOVED 7.22.5 -
@babel/plugin-transform-async-generator-functions REMOVED 7.23.2 -
@babel/plugin-transform-async-to-generator REMOVED 7.22.5 -
@babel/plugin-transform-block-scoped-functions REMOVED 7.22.5 -
@babel/plugin-transform-block-scoping REMOVED 7.23.0 -
@babel/plugin-transform-class-properties REMOVED 7.22.5 -
@babel/plugin-transform-class-static-block REMOVED 7.22.11 -
@babel/plugin-transform-classes REMOVED 7.22.15 -
@babel/plugin-transform-computed-properties REMOVED 7.22.5 -
@babel/plugin-transform-destructuring REMOVED 7.23.0 -
@babel/plugin-transform-dotall-regex REMOVED 7.22.5 -
@babel/plugin-transform-duplicate-keys REMOVED 7.22.5 -
@babel/plugin-transform-dynamic-import REMOVED 7.22.11 -
@babel/plugin-transform-exponentiation-operator REMOVED 7.22.5 -
@babel/plugin-transform-export-namespace-from REMOVED 7.22.11 -
@babel/plugin-transform-for-of REMOVED 7.22.15 -
@babel/plugin-transform-function-name REMOVED 7.22.5 -
@babel/plugin-transform-json-strings REMOVED 7.22.11 -
@babel/plugin-transform-literals REMOVED 7.22.5 -
@babel/plugin-transform-logical-assignment-operators REMOVED 7.22.11 -
@babel/plugin-transform-member-expression-literals REMOVED 7.22.5 -
@babel/plugin-transform-modules-amd REMOVED 7.23.0 -
@babel/plugin-transform-modules-commonjs REMOVED 7.23.0 -
@babel/plugin-transform-modules-systemjs REMOVED 7.23.0 -
@babel/plugin-transform-modules-umd REMOVED 7.22.5 -
@babel/plugin-transform-named-capturing-groups-regex REMOVED 7.22.5 -
@babel/plugin-transform-new-target REMOVED 7.22.5 -
@babel/plugin-transform-nullish-coalescing-operator REMOVED 7.22.11 -
@babel/plugin-transform-numeric-separator REMOVED 7.22.11 -
@babel/plugin-transform-object-rest-spread REMOVED 7.22.15 -
@babel/plugin-transform-object-super REMOVED 7.22.5 -
@babel/plugin-transform-optional-catch-binding REMOVED 7.22.11 -
@babel/plugin-transform-optional-chaining REMOVED 7.23.0 -
@babel/plugin-transform-parameters REMOVED 7.22.15 -
@babel/plugin-transform-private-methods REMOVED 7.22.5 -
@babel/plugin-transform-private-property-in-object REMOVED 7.22.11 -
@babel/plugin-transform-property-literals REMOVED 7.22.5 -
@babel/plugin-transform-regenerator REMOVED 7.22.10 -
@babel/plugin-transform-reserved-words REMOVED 7.22.5 -
@babel/plugin-transform-shorthand-properties REMOVED 7.22.5 -
@babel/plugin-transform-spread REMOVED 7.22.5 -
@babel/plugin-transform-sticky-regex REMOVED 7.22.5 -
@babel/plugin-transform-template-literals REMOVED 7.22.5 -
@babel/plugin-transform-typeof-symbol REMOVED 7.22.5 -
@babel/plugin-transform-unicode-escapes REMOVED 7.22.10 -
@babel/plugin-transform-unicode-property-regex REMOVED 7.22.5 -
@babel/plugin-transform-unicode-regex REMOVED 7.22.5 -
@babel/plugin-transform-unicode-sets-regex REMOVED 7.22.5 -
@babel/preset-env REMOVED 7.23.2 -
@babel/preset-modules REMOVED 0.1.6-no-external-plugins -
@babel/regjsgen REMOVED 0.8.0 -
@babel/runtime REMOVED 7.17.9 -
@babel/template REMOVED 7.22.15 -
@babel/traverse REMOVED 7.23.2 -
@babel/types REMOVED 7.23.0 -
@bcoe/v8-coverage REMOVED 0.2.3 -
@eslint/eslintrc UPDATED 2.1.2 2.1.4
@eslint/js UPDATED 8.52.0 8.56.0
@fastify/busboy ADDED - 2.1.0
@istanbuljs/load-nyc-config REMOVED 1.1.0 -
@istanbuljs/schema REMOVED 0.1.3 -
@jest/console REMOVED 29.7.0 -
@jest/core REMOVED 29.7.0 -
@jest/environment REMOVED 29.7.0 -
@jest/expect REMOVED 29.7.0 -
@jest/expect-utils REMOVED 29.7.0 -
@jest/fake-timers REMOVED 29.7.0 -
@jest/globals REMOVED 29.7.0 -
@jest/reporters REMOVED 29.7.0 -
@jest/schemas REMOVED 29.6.3 -
@jest/source-map REMOVED 29.6.3 -
@jest/test-result REMOVED 29.7.0 -
@jest/test-sequencer REMOVED 29.7.0 -
@jest/transform REMOVED 29.7.0 -
@jest/types REMOVED 29.6.3 -
@jridgewell/gen-mapping REMOVED 0.3.3 -
@jridgewell/resolve-uri REMOVED 3.1.1 -
@jridgewell/set-array REMOVED 1.1.2 -
@jridgewell/sourcemap-codec REMOVED 1.4.15 -
@jridgewell/trace-mapping REMOVED 0.3.19 -
@octokit/auth-token UPDATED 2.5.0 4.0.0
@octokit/core UPDATED 3.6.0 5.1.0
@octokit/endpoint UPDATED 6.0.12 9.0.4
@octokit/graphql UPDATED 4.8.0 7.0.2
@octokit/openapi-types UPDATED 11.2.0 19.1.0
@octokit/plugin-paginate-rest UPDATED 2.17.0 9.1.5
@octokit/plugin-rest-endpoint-methods UPDATED 5.13.0 10.2.0
@octokit/request UPDATED 5.6.3 8.1.6
@octokit/request-error UPDATED 2.1.0 5.0.1
@octokit/types UPDATED 6.34.0 12.4.0
@pkgr/core ADDED - 0.1.1
@pkgr/utils REMOVED 2.4.2 -
@sinclair/typebox REMOVED 0.27.8 -
@sinonjs/commons REMOVED 3.0.0 -
@sinonjs/fake-timers REMOVED 10.3.0 -
@types/babel__core REMOVED 7.1.19 -
@types/babel__generator REMOVED 7.6.4 -
@types/babel__template REMOVED 7.4.1 -
@types/babel__traverse REMOVED 7.17.0 -
@types/graceful-fs REMOVED 4.1.5 -
@types/istanbul-lib-coverage REMOVED 2.0.4 -
@types/istanbul-lib-report REMOVED 3.0.0 -
@types/istanbul-reports REMOVED 3.0.1 -
@types/node REMOVED 17.0.25 -
@types/stack-utils REMOVED 2.0.1 -
@types/yargs REMOVED 17.0.10 -
@types/yargs-parser REMOVED 21.0.0 -
ansi-escapes REMOVED 4.3.2 -
ansi-styles DOWNGRADED 5.2.0 4.3.0
anymatch REMOVED 3.1.2 -
babel-jest REMOVED 29.7.0 -
babel-plugin-istanbul REMOVED 6.1.1 -
babel-plugin-jest-hoist REMOVED 29.6.3 -
babel-plugin-polyfill-corejs2 REMOVED 0.4.6 -
babel-plugin-polyfill-corejs3 REMOVED 0.8.5 -
babel-plugin-polyfill-regenerator REMOVED 0.5.3 -
babel-preset-current-node-syntax REMOVED 1.0.1 -
babel-preset-jest REMOVED 29.6.3 -
big-integer REMOVED 1.6.51 -
bplist-parser REMOVED 0.2.0 -
browserslist REMOVED 4.22.1 -
bser REMOVED 2.1.1 -
buffer-from REMOVED 1.1.2 -
bundle-name REMOVED 3.0.0 -
camelcase REMOVED 6.3.0 -
caniuse-lite REMOVED 1.0.30001551 -
char-regex REMOVED 1.0.2 -
ci-info REMOVED 3.3.0 -
cjs-module-lexer REMOVED 1.2.2 -
cliui REMOVED 7.0.4 -
co REMOVED 4.6.0 -
collect-v8-coverage REMOVED 1.0.1 -
convert-source-map REMOVED 2.0.0 -
core-js-compat REMOVED 3.33.1 -
create-jest REMOVED 29.7.0 -
dedent REMOVED 1.5.1 -
deepmerge REMOVED 4.2.2 -
default-browser REMOVED 4.0.0 -
default-browser-id REMOVED 3.0.0 -
define-lazy-prop REMOVED 3.0.0 -
dequal ADDED - 2.0.3
detect-newline REMOVED 3.1.0 -
diff ADDED - 5.1.0
diff-sequences REMOVED 29.6.3 -
electron-to-chromium REMOVED 1.4.563 -
emittery REMOVED 0.13.1 -
emoji-regex REMOVED 8.0.0 -
error-ex REMOVED 1.3.2 -
escalade REMOVED 3.1.1 -
eslint UPDATED 8.52.0 8.56.0
eslint-config-prettier UPDATED 9.0.0 9.1.0
eslint-plugin-jest UPDATED 27.4.3 27.6.3
eslint-plugin-prettier UPDATED 5.0.1 5.1.3
esprima REMOVED 4.0.1 -
execa REMOVED 7.2.0 -
exit REMOVED 0.1.2 -
expect REMOVED 29.7.0 -
fb-watchman REMOVED 2.0.1 -
fsevents REMOVED 2.3.2 -
function-bind REMOVED 1.1.1 -
gensync REMOVED 1.0.0-beta.2 -
get-caller-file REMOVED 2.0.5 -
get-package-type REMOVED 0.1.0 -
get-stream REMOVED 6.0.1 -
graceful-fs REMOVED 4.2.10 -
has REMOVED 1.0.3 -
html-escaper REMOVED 2.0.2 -
human-signals REMOVED 4.3.1 -
import-local REMOVED 3.1.0 -
is-arrayish REMOVED 0.2.1 -
is-core-module REMOVED 2.9.0 -
is-docker REMOVED 3.0.0 -
is-fullwidth-code-point REMOVED 3.0.0 -
is-generator-fn REMOVED 2.1.0 -
is-inside-container REMOVED 1.0.0 -
is-plain-object REMOVED 5.0.0 -
is-stream REMOVED 3.0.0 -
is-wsl REMOVED 2.2.0 -
istanbul-lib-coverage REMOVED 3.2.0 -
istanbul-lib-instrument REMOVED 6.0.0 -
istanbul-lib-report REMOVED 3.0.0 -
istanbul-lib-source-maps REMOVED 4.0.1 -
istanbul-reports REMOVED 3.1.4 -
jest REMOVED 29.7.0 -
jest-changed-files REMOVED 29.7.0 -
jest-circus REMOVED 29.7.0 -
jest-cli REMOVED 29.7.0 -
jest-config REMOVED 29.7.0 -
jest-diff REMOVED 29.7.0 -
jest-docblock REMOVED 29.7.0 -
jest-each REMOVED 29.7.0 -
jest-environment-node REMOVED 29.7.0 -
jest-get-type REMOVED 29.6.3 -
jest-haste-map REMOVED 29.7.0 -
jest-leak-detector REMOVED 29.7.0 -
jest-matcher-utils REMOVED 29.7.0 -
jest-message-util REMOVED 29.7.0 -
jest-mock REMOVED 29.7.0 -
jest-pnp-resolver REMOVED 1.2.2 -
jest-regex-util REMOVED 29.6.3 -
jest-resolve REMOVED 29.7.0 -
jest-resolve-dependencies REMOVED 29.7.0 -
jest-runner REMOVED 29.7.0 -
jest-runtime REMOVED 29.7.0 -
jest-snapshot REMOVED 29.7.0 -
jest-util REMOVED 29.7.0 -
jest-validate REMOVED 29.7.0 -
jest-watcher REMOVED 29.7.0 -
jest-worker REMOVED 29.7.0 -
js-base64 UPDATED 3.7.5 3.7.6
js-tokens REMOVED 4.0.0 -
jsesc REMOVED 2.5.2 -
json-parse-even-better-errors REMOVED 2.3.1 -
json5 REMOVED 2.2.3 -
kleur UPDATED 3.0.3 4.1.5
leven REMOVED 3.1.0 -
lines-and-columns REMOVED 1.2.4 -
lodash.debounce REMOVED 4.0.8 -
make-dir REMOVED 3.1.0 -
makeerror REMOVED 1.0.12 -
merge-stream REMOVED 2.0.0 -
mimic-fn REMOVED 4.0.0 -
mri ADDED - 1.2.0
node-fetch REMOVED 2.6.7 -
node-int64 REMOVED 0.4.0 -
node-releases REMOVED 2.0.13 -
normalize-path REMOVED 3.0.0 -
npm-run-path REMOVED 5.1.0 -
onetime REMOVED 6.0.0 -
open REMOVED 9.1.0 -
p-try REMOVED 2.2.0 -
parse-json REMOVED 5.2.0 -
path-key DOWNGRADED 4.0.0 3.1.1
path-parse REMOVED 1.0.7 -
pirates REMOVED 4.0.5 -
pkg-dir REMOVED 4.2.0 -
prettier UPDATED 3.0.3 3.2.4
pretty-format REMOVED 29.7.0 -
prompts REMOVED 2.4.2 -
pure-rand REMOVED 6.0.2 -
react-is REMOVED 18.2.0 -
regenerate REMOVED 1.4.2 -
regenerate-unicode-properties REMOVED 10.1.0 -
regenerator-runtime REMOVED 0.13.9 -
regenerator-transform REMOVED 0.15.2 -
regexpu-core REMOVED 5.3.2 -
regjsparser REMOVED 0.9.1 -
require-directory REMOVED 2.1.1 -
resolve REMOVED 1.22.0 -
resolve-cwd REMOVED 3.0.0 -
resolve-from DOWNGRADED 5.0.0 4.0.0
resolve.exports REMOVED 2.0.2 -
run-applescript REMOVED 5.0.0 -
sade ADDED - 1.8.1
safe-buffer REMOVED 5.1.2 -
signal-exit REMOVED 3.0.7 -
sisteransi REMOVED 1.0.5 -
source-map REMOVED 0.6.1 -
source-map-support REMOVED 0.5.13 -
sprintf-js REMOVED 1.0.3 -
stack-utils REMOVED 2.0.5 -
string-length REMOVED 4.0.2 -
string-width REMOVED 4.2.3 -
strip-bom REMOVED 4.0.0 -
strip-final-newline REMOVED 3.0.0 -
supports-color DOWNGRADED 8.1.1 7.2.0
supports-preserve-symlinks-flag REMOVED 1.0.0 -
svgo UPDATED 3.0.2 3.2.0
synckit UPDATED 0.8.5 0.8.8
test-exclude REMOVED 6.0.0 -
titleize REMOVED 3.0.0 -
tmpl REMOVED 1.0.5 -
to-fast-properties REMOVED 2.0.0 -
tr46 REMOVED 0.0.3 -
type-detect REMOVED 4.0.8 -
type-fest DOWNGRADED 0.21.3 0.20.2
undici ADDED - 5.28.2
unicode-canonical-property-names-ecmascript REMOVED 2.0.0 -
unicode-match-property-ecmascript REMOVED 2.0.0 -
unicode-match-property-value-ecmascript REMOVED 2.1.0 -
unicode-property-aliases-ecmascript REMOVED 2.0.0 -
untildify REMOVED 4.0.0 -
update-browserslist-db REMOVED 1.0.13 -
uvu ADDED - 0.5.6
v8-to-istanbul REMOVED 9.0.1 -
walker REMOVED 1.0.8 -
webidl-conversions REMOVED 3.0.1 -
whatwg-url REMOVED 5.0.0 -
wrap-ansi REMOVED 7.0.0 -
write-file-atomic REMOVED 4.0.2 -
y18n REMOVED 5.0.8 -
yargs REMOVED 17.5.1 -
yargs-parser REMOVED 21.0.1 -

@Simek Simek changed the title update dependencies, rebuild dist file switch source to ESM, migrate from Jest to UVU, drop Node 16 Jan 21, 2024
@Simek Simek merged commit 1a6aefb into main Jan 21, 2024
4 checks passed
@Simek Simek deleted the dependencies-bump branch January 21, 2024 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant