No description
- Astro 47%
- TypeScript 27%
- CSS 19.1%
- Dockerfile 4.8%
- JavaScript 2.1%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [node](https://nodejs.org) ([source](https://github.com/nodejs/node)) | minor | `22.11.0` -> `22.12.0` | --- ### Release Notes <details> <summary>nodejs/node (node)</summary> ### [`v22.12.0`](https://github.com/nodejs/node/releases/tag/v22.12.0): 2024-12-03, Version 22.12.0 'Jod' (LTS), @​ruyadorno [Compare Source](https://github.com/nodejs/node/compare/v22.11.0...v22.12.0) ##### Notable Changes ##### require(esm) is now enabled by default Support for loading native ES modules using require() had been available on v20.x and v22.x under the command line flag --experimental-require-module, and available by default on v23.x. In this release, it is now no longer behind a flag on v22.x. This feature is still experimental, and we are looking for user feedback to make more final tweaks before fully stabilizing it. For this reason, on v22.x, when the Node.js instance encounters a native ES module in require() for the first time, it will emit an experimental warning unless `require()` comes from a path that contains `node_modules`. If there happens to be any regressions caused by this feature, users can report it to the Node.js issue tracker. Meanwhile this feature can also be disabled using `--no-experimental-require-module` as a workaround. With this feature enabled, Node.js will no longer throw `ERR_REQUIRE_ESM` if `require()` is used to load a ES module. It can, however, throw `ERR_REQUIRE_ASYNC_MODULE` if the ES module being loaded or its dependencies contain top-level `await`. When the ES module is loaded successfully by `require()`, the returned object will either be a ES module namespace object similar to what's returned by `import()`, or what gets exported as `"module.exports"` in the ES module. Users can check `process.features.require_module` to see whether `require(esm)` is enabled in the current Node.js instance. For packages, the `"module-sync"` exports condition can be used as a way to detect `require(esm)` support in the current Node.js instance and allow both `require()` and `import` to load the same native ES module. See [the documentation](https://nodejs.org/docs/latest/api/modules.html#loading-ecmascript-modules-using-require) for more details about this feature. Contributed by Joyee Cheung in [#​55085](https://github.com/nodejs/node/pull/55085) ##### Added resizable `ArrayBuffer` support in `Buffer` When a `Buffer` is created using a resizable `ArrayBuffer`, the `Buffer` length will now correctly change as the underlying `ArrayBuffer` size is changed. ```js const ab = new ArrayBuffer(10, { maxByteLength: 20 }); const buffer = Buffer.from(ab); console.log(buffer.byteLength); 10 ab.resize(15); console.log(buffer.byteLength); 15 ab.resize(5); console.log(buffer.byteLength); 5 ``` Contributed by James Snell in [#​55377](https://github.com/nodejs/node/pull/55377) ##### Update root certificates to NSS 3.104 This is the version of NSS that shipped in Firefox 131.0 on 2024-10-01. Certificates added: - FIRMAPROFESIONAL CA ROOT-A WEB - TWCA CYBER Root CA - SecureSign Root CA12 - SecureSign Root CA14 - SecureSign Root CA15 Contributed by Richard Lau in [#​55681](https://github.com/nodejs/node/pull/55681) ##### Other Notable Changes - \[[`4920869935`]( |
||
| .forgejo/workflows | ||
| src | ||
| .browserslistrc | ||
| .gitignore | ||
| .stylelintrc.json | ||
| astro.config.mjs | ||
| biome.json | ||
| CODE_OF_CONDUCT.md | ||
| Dockerfile | ||
| LICENSE | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| renovate.json | ||
| tsconfig.json | ||
Spotify AutoPlaylists by Chris Barry
A nodejs/express based web app that contains a website and 2 backend services
Available here
This project uses mongodb
./server
./routes
Handle the API
./server/Playlists
mostPlayed.js
Updates a Spotify playlist based on the most played Last.FM tracks
recentlyAdded.js
Updates a Spotify playlist based on recently added Spotify tracks
Playlist.js
The playlist parent class, contains everything the app needs for making/editing/clearing/updating spotify playlists
Config
The app is configured though environment variables. A sample .env file might look like
SPOTIFY_SCOPES=user-read-private,playlist-read-private,playlist-modify-private,playlist-modify-public,user-library-read
SPOTIFY_ID=YOUR_SPOTIFY_APP_ID
SPOTIFY_SECRET=YOUR_SPOTIFY_SECRET_ID
SPOTIFY_REDIRECT=//localhost:5621/member/setup/
LASTFM_TOKEN=YOUR_LASTFM_TOKEN
LASTFM_SECRET=YOUR_LASTFM_SECRET
LASTFM_USERNAME=YOUR_LASTFM_USERNAME
LASTFM_PASS=YOUR_LASTFM_PASSWORD
SECRET=A_SECRET_KEY
ADMIN=YOUR_SPOTIFY_ID
GITHUB_SECRET=YOUR_GITHUB_SECRET