gulp-purgecss 5.0.0 → 6.0.0-alpha.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 ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2020 Full Human
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -110,39 +110,39 @@ export declare interface UserDefinedOptions extends Omit<UserDefinedOptions_2, "
110
110
  * @public
111
111
  */
112
112
  declare interface UserDefinedOptions_2 {
113
- /** {@inheritDoc Options.content} */
113
+ /** {@inheritDoc purgecss#Options.content} */
114
114
  content: Array<string | RawContent>;
115
- /** {@inheritDoc Options.css} */
115
+ /** {@inheritDoc purgecss#Options.css} */
116
116
  css: Array<string | RawCSS>;
117
- /** {@inheritDoc Options.defaultExtractor} */
117
+ /** {@inheritDoc purgecss#Options.defaultExtractor} */
118
118
  defaultExtractor?: ExtractorFunction;
119
- /** {@inheritDoc Options.extractors} */
119
+ /** {@inheritDoc purgecss#Options.extractors} */
120
120
  extractors?: Array<Extractors>;
121
- /** {@inheritDoc Options.fontFace} */
121
+ /** {@inheritDoc purgecss#Options.fontFace} */
122
122
  fontFace?: boolean;
123
- /** {@inheritDoc Options.keyframes} */
123
+ /** {@inheritDoc purgecss#Options.keyframes} */
124
124
  keyframes?: boolean;
125
- /** {@inheritDoc Options.output} */
125
+ /** {@inheritDoc purgecss#Options.output} */
126
126
  output?: string;
127
- /** {@inheritDoc Options.rejected} */
127
+ /** {@inheritDoc purgecss#Options.rejected} */
128
128
  rejected?: boolean;
129
- /** {@inheritDoc Options.rejectedCss} */
129
+ /** {@inheritDoc purgecss#Options.rejectedCss} */
130
130
  rejectedCss?: boolean;
131
- /** {@inheritDoc Options.sourceMap } */
131
+ /** {@inheritDoc purgecss#Options.sourceMap } */
132
132
  sourceMap?: boolean | (postcss.SourceMapOptions & { to?: string });
133
- /** {@inheritDoc Options.stdin} */
133
+ /** {@inheritDoc purgecss#Options.stdin} */
134
134
  stdin?: boolean;
135
- /** {@inheritDoc Options.stdout} */
135
+ /** {@inheritDoc purgecss#Options.stdout} */
136
136
  stdout?: boolean;
137
- /** {@inheritDoc Options.variables} */
137
+ /** {@inheritDoc purgecss#Options.variables} */
138
138
  variables?: boolean;
139
- /** {@inheritDoc Options.safelist} */
139
+ /** {@inheritDoc purgecss#Options.safelist} */
140
140
  safelist?: UserDefinedSafelist;
141
- /** {@inheritDoc Options.blocklist} */
141
+ /** {@inheritDoc purgecss#Options.blocklist} */
142
142
  blocklist?: StringRegExpArray;
143
- /** {@inheritDoc Options.skippedContentGlobs} */
143
+ /** {@inheritDoc purgecss#Options.skippedContentGlobs} */
144
144
  skippedContentGlobs?: Array<string>;
145
- /** {@inheritDoc Options.dynamicAttributes} */
145
+ /** {@inheritDoc purgecss#Options.dynamicAttributes} */
146
146
  dynamicAttributes?: string[];
147
147
  }
148
148
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gulp-purgecss",
3
- "version": "5.0.0",
3
+ "version": "6.0.0-alpha.0",
4
4
  "description": "Gulp plugin for purgecss",
5
5
  "author": "Ffloriel",
6
6
  "homepage": "https://purgecss.com",
@@ -38,17 +38,17 @@
38
38
  "dependencies": {
39
39
  "glob": "^8.0.3",
40
40
  "plugin-error": "^2.0.0",
41
- "purgecss": "^5.0.0",
42
- "through2": "^4.0.1"
41
+ "purgecss": "^6.0.0-alpha.0",
42
+ "through2": "^4.0.1",
43
+ "vinyl-sourcemaps-apply": "^0.2.1"
43
44
  },
44
45
  "devDependencies": {
45
46
  "@types/event-stream": "^4.0.0",
46
- "@types/glob": "^7.2.0",
47
+ "@types/glob": "^8.0.0",
47
48
  "@types/through2": "^2.0.34",
48
49
  "@types/vinyl": "^2.0.4",
49
50
  "event-stream": "^4.0.1",
50
- "vinyl": "^2.2.0",
51
- "vinyl-sourcemaps-apply": "^0.2.1"
51
+ "vinyl": "^3.0.0"
52
52
  },
53
53
  "bugs": {
54
54
  "url": "https://github.com/FullHuman/purgecss/issues"
@@ -56,5 +56,6 @@
56
56
  "publishConfig": {
57
57
  "access": "public",
58
58
  "registry": "https://registry.npmjs.org/"
59
- }
59
+ },
60
+ "gitHead": "152ccba46e781902f302b7adca1788a6909e9569"
60
61
  }