@unocss/core 66.3.2 → 66.3.3

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/dist/index.d.mts CHANGED
@@ -926,13 +926,6 @@ interface ContentOptions {
926
926
  */
927
927
  exclude?: FilterPattern;
928
928
  };
929
- /**
930
- * @deprecated Renamed to `inline`
931
- */
932
- plain?: (string | {
933
- code: string;
934
- id?: string;
935
- })[];
936
929
  }
937
930
  /**
938
931
  * For other modules to aggregate the options
@@ -963,21 +956,6 @@ interface PluginOptions {
963
956
  * The usage extracted from each source will be **merged** together.
964
957
  */
965
958
  content?: ContentOptions;
966
- /** ========== DEPRECATED OPTIONS ========== */
967
- /**
968
- * @deprecated Renamed to `content`
969
- */
970
- extraContent?: ContentOptions;
971
- /**
972
- * Patterns that filter the files being extracted.
973
- * @deprecated moved to `content.pipeline.include`
974
- */
975
- include?: FilterPattern;
976
- /**
977
- * Patterns that filter the files NOT being extracted.
978
- * @deprecated moved to `content.pipeline.exclude`
979
- */
980
- exclude?: FilterPattern;
981
959
  }
982
960
  interface UserConfig<Theme extends object = object> extends ConfigBase<Theme>, UserOnlyOptions<Theme>, GeneratorOptions, PluginOptions, CliOptions {
983
961
  }
package/dist/index.d.ts CHANGED
@@ -926,13 +926,6 @@ interface ContentOptions {
926
926
  */
927
927
  exclude?: FilterPattern;
928
928
  };
929
- /**
930
- * @deprecated Renamed to `inline`
931
- */
932
- plain?: (string | {
933
- code: string;
934
- id?: string;
935
- })[];
936
929
  }
937
930
  /**
938
931
  * For other modules to aggregate the options
@@ -963,21 +956,6 @@ interface PluginOptions {
963
956
  * The usage extracted from each source will be **merged** together.
964
957
  */
965
958
  content?: ContentOptions;
966
- /** ========== DEPRECATED OPTIONS ========== */
967
- /**
968
- * @deprecated Renamed to `content`
969
- */
970
- extraContent?: ContentOptions;
971
- /**
972
- * Patterns that filter the files being extracted.
973
- * @deprecated moved to `content.pipeline.include`
974
- */
975
- include?: FilterPattern;
976
- /**
977
- * Patterns that filter the files NOT being extracted.
978
- * @deprecated moved to `content.pipeline.exclude`
979
- */
980
- exclude?: FilterPattern;
981
959
  }
982
960
  interface UserConfig<Theme extends object = object> extends ConfigBase<Theme>, UserOnlyOptions<Theme>, GeneratorOptions, PluginOptions, CliOptions {
983
961
  }
package/dist/index.mjs CHANGED
@@ -488,7 +488,6 @@ function mergeContentOptions(optionsArray) {
488
488
  let pipelineDisabled = false;
489
489
  const filesystem = [];
490
490
  const inline = [];
491
- const plain = [];
492
491
  for (const options of optionsArray) {
493
492
  if (options.pipeline === false) {
494
493
  pipelineDisabled = true;
@@ -507,9 +506,6 @@ function mergeContentOptions(optionsArray) {
507
506
  if (options.inline) {
508
507
  inline.push(options.inline);
509
508
  }
510
- if (options.plain) {
511
- plain.push(options.plain);
512
- }
513
509
  }
514
510
  const mergedContent = {
515
511
  pipeline: pipelineDisabled ? false : {
@@ -523,9 +519,6 @@ function mergeContentOptions(optionsArray) {
523
519
  if (inline.length) {
524
520
  mergedContent.inline = uniq(inline.flat());
525
521
  }
526
- if (plain.length) {
527
- mergedContent.plain = uniq(plain.flat());
528
- }
529
522
  return mergedContent;
530
523
  }
531
524
  async function resolveConfig(userConfig = {}, defaults = {}) {
@@ -656,7 +649,7 @@ function definePreset(preset) {
656
649
  return preset;
657
650
  }
658
651
 
659
- const version = "66.3.2";
652
+ const version = "66.3.3";
660
653
 
661
654
  const symbols = {
662
655
  shortcutsNoMerge: "$$symbol-shortcut-no-merge",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@unocss/core",
3
3
  "type": "module",
4
- "version": "66.3.2",
4
+ "version": "66.3.3",
5
5
  "description": "The instant on-demand Atomic CSS engine.",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -9,7 +9,7 @@
9
9
  "homepage": "https://unocss.dev",
10
10
  "repository": {
11
11
  "type": "git",
12
- "url": "git+https://github.com/unocss/unocss",
12
+ "url": "git+https://github.com/unocss/unocss.git",
13
13
  "directory": "packages-engine/core"
14
14
  },
15
15
  "bugs": {