tailwindcss 3.4.15 → 3.4.16

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/CHANGELOG.md CHANGED
@@ -9,6 +9,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9
9
 
10
10
  - Nothing yet!
11
11
 
12
+ ## [3.4.16] - 2024-12-03
13
+
14
+ ### Fixed
15
+
16
+ - Ensure the TypeScript types for `PluginsConfig` allow `undefined` values ([#14668](https://github.com/tailwindlabs/tailwindcss/pull/14668))
17
+
18
+ # Changed
19
+
20
+ - Bumped lilconfig to v3.x ([#15289](https://github.com/tailwindlabs/tailwindcss/pull/15289))
21
+
12
22
  ## [3.4.15] - 2024-11-14
13
23
 
14
24
  - Bump versions for security vulnerabilities ([#14697](https://github.com/tailwindlabs/tailwindcss/pull/14697))
@@ -2461,7 +2471,8 @@ No release notes
2461
2471
 
2462
2472
  - Everything!
2463
2473
 
2464
- [unreleased]: https://github.com/tailwindlabs/tailwindcss/compare/v3.4.15...HEAD
2474
+ [unreleased]: https://github.com/tailwindlabs/tailwindcss/compare/v3.4.16...HEAD
2475
+ [3.4.16]: https://github.com/tailwindlabs/tailwindcss/compare/v3.4.15...v3.4.16
2465
2476
  [3.4.15]: https://github.com/tailwindlabs/tailwindcss/compare/v3.4.14...v3.4.15
2466
2477
  [3.4.14]: https://github.com/tailwindlabs/tailwindcss/compare/v3.4.13...v3.4.14
2467
2478
  [3.4.13]: https://github.com/tailwindlabs/tailwindcss/compare/v3.4.12...v3.4.13
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tailwindcss",
3
- "version": "3.4.15",
3
+ "version": "3.4.16",
4
4
  "description": "A utility-first CSS framework for rapidly building custom user interfaces.",
5
5
  "license": "MIT",
6
6
  "main": "lib/index.js",
@@ -73,7 +73,7 @@
73
73
  "glob-parent": "^6.0.2",
74
74
  "is-glob": "^4.0.3",
75
75
  "jiti": "^1.21.6",
76
- "lilconfig": "^2.1.0",
76
+ "lilconfig": "^3.1.3",
77
77
  "micromatch": "^4.0.8",
78
78
  "normalize-path": "^3.0.0",
79
79
  "object-hash": "^3.0.0",
package/peers/index.js CHANGED
@@ -18212,12 +18212,13 @@ var require_autoprefixer = __commonJS({
18212
18212
  }
18213
18213
  });
18214
18214
 
18215
- // node_modules/cssnano/node_modules/lilconfig/src/index.js
18215
+ // node_modules/lilconfig/src/index.js
18216
18216
  var require_src = __commonJS({
18217
- "node_modules/cssnano/node_modules/lilconfig/src/index.js"(exports2, module2) {
18217
+ "node_modules/lilconfig/src/index.js"(exports2, module2) {
18218
18218
  var path = require("path");
18219
18219
  var fs = require("fs");
18220
18220
  var os = require("os");
18221
+ var url = require("url");
18221
18222
  var fsReadFileAsync = fs.promises.readFile;
18222
18223
  function getDefaultSearchPlaces(name, sync) {
18223
18224
  return [
@@ -18250,9 +18251,10 @@ var require_src = __commonJS({
18250
18251
  module2.exports.defaultLoadersSync = defaultLoadersSync;
18251
18252
  var dynamicImport = async (id) => {
18252
18253
  try {
18254
+ const fileUrl = url.pathToFileURL(id).href;
18253
18255
  const mod = await import(
18254
18256
  /* webpackIgnore: true */
18255
- id
18257
+ fileUrl
18256
18258
  );
18257
18259
  return mod.default;
18258
18260
  } catch (e) {
package/types/config.d.ts CHANGED
@@ -344,9 +344,12 @@ export interface PluginAPI {
344
344
  export type PluginCreator = (api: PluginAPI) => void
345
345
  export type PluginsConfig = (
346
346
  | PluginCreator
347
- | { handler: PluginCreator; config?: Partial<Config> }
347
+ | { handler: PluginCreator; config?: Partial<Config> | undefined }
348
348
  | {
349
- (options: any): { handler: PluginCreator; config?: Partial<Config> }
349
+ (options: any): {
350
+ handler: PluginCreator;
351
+ config?: Partial<Config> | undefined;
352
+ };
350
353
  __isOptionsFunction: true
351
354
  }
352
355
  )[]