zachleat 41.0.0 → 42.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2024 Zach Leatherman
3
+ Copyright (c) 2018–2025 Zach Leatherman
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -31,4 +31,5 @@ zachleat();
31
31
 
32
32
  ## Changelog
33
33
 
34
+ * `v42` Bump `update-notifier` from v5 to [v6](https://github.com/sindresorhus/update-notifier/releases/tag/v6.0.0) (ESM) to [v7](https://github.com/sindresorhus/update-notifier/releases/tag/v7.0.0) (Node 18+)
34
35
  * `v41` Upgraded to ESM.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zachleat",
3
- "version": "41.0.0",
3
+ "version": "42.0.0",
4
4
  "description": "Meta package for Zach Leatherman",
5
5
  "main": "./src/index.js",
6
6
  "bin": {
@@ -25,6 +25,6 @@
25
25
  },
26
26
  "homepage": "https://github.com/zachleat/package-zachleat#readme",
27
27
  "dependencies": {
28
- "update-notifier": "^5.1.0"
28
+ "update-notifier": "^7.3.1"
29
29
  }
30
30
  }
package/src/index.js CHANGED
@@ -1,26 +1,20 @@
1
1
  import updateNotifier from "update-notifier";
2
- import { createRequire } from "node:module";
3
-
4
- const require = createRequire(import.meta.url);
5
- const pkg = require("../package.json");
2
+ import pkg from "../package.json" with { type: "json" };
6
3
 
7
4
  updateNotifier({ pkg }).notify();
8
5
 
9
6
  export default function() {
10
- let intro = `I’m Zach (v${pkg.version})`;
7
+ let intro = `Zach Leatherman (v${pkg.version})`;
11
8
  let sep = '-'.repeat(intro.length);
12
9
 
13
- console.log( ` ${intro}
14
- ${sep}
15
- Web: https://zachleat.com/
16
- 11ty: https://www.11ty.dev/
17
- Mastodon: https://zachleat.com/@zachleat
18
- GitHub: https://github.com/zachleat
19
- npm: https://www.npmjs.com/~zachleat
20
- LinkedIn: https://www.linkedin.com/in/zachleat/
21
- OpenCollective: https://opencollective.com/zachleat
22
- Codepen: https://codepen.io/zachleat/
23
- Bluesky: https://bsky.app/profile/zachleat.com
24
- Letterboxd: https://letterboxd.com/zachleat/
10
+ console.log( `${intro}
11
+ ${sep}
12
+ Web https://zachleat.com/
13
+ 11ty https://www.11ty.dev/
14
+ Mastodon https://zachleat.com/@zachleat
15
+ Bluesky https://bsky.app/profile/zachleat.com
16
+ GitHub https://github.com/zachleat
17
+ npm https://www.npmjs.com/~zachleat
18
+ LinkedIn https://www.linkedin.com/in/zachleat/
25
19
  ` );
26
20
  };