trusty-cms 4.3.4 → 4.3.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +8 -6
- data/config/database.yml +2 -2
- data/coverage/index.html +1 -1
- data/lib/trusty_cms/deprecation.rb +13 -0
- data/lib/trusty_cms.rb +1 -1
- data/node_modules/path-parse/index.js +17 -35
- data/node_modules/path-parse/package.json +1 -1
- data/node_modules/postcss/CHANGELOG.md +27 -0
- data/node_modules/postcss/README.md +21 -0
- data/node_modules/postcss/lib/at-rule.js +2 -4
- data/node_modules/postcss/lib/comment.js +2 -4
- data/node_modules/postcss/lib/container.js +27 -122
- data/node_modules/postcss/lib/css-syntax-error.js +5 -7
- data/node_modules/postcss/lib/declaration.js +2 -4
- data/node_modules/postcss/lib/input.js +3 -5
- data/node_modules/postcss/lib/lazy-result.js +10 -17
- data/node_modules/postcss/lib/map-generator.js +10 -17
- data/node_modules/postcss/lib/node.js +2 -4
- data/node_modules/postcss/lib/parser.js +2 -4
- data/node_modules/postcss/lib/postcss.d.ts +25 -19
- data/node_modules/postcss/lib/previous-map.js +17 -6
- data/node_modules/postcss/lib/processor.js +16 -15
- data/node_modules/postcss/lib/result.js +2 -4
- data/node_modules/postcss/lib/root.js +10 -17
- data/node_modules/postcss/lib/rule.js +2 -4
- data/node_modules/postcss/lib/stringifier.js +2 -4
- data/node_modules/postcss/lib/warning.js +2 -4
- data/node_modules/postcss/package.json +16 -12
- data/spec/dummy/log/test.log +542 -443
- data/spec/dummy/tmp/cache/747/A70/TrustyCms%3A%3AConfig +0 -0
- data/spec/dummy/tmp/cache/85C/FA0/TrustyCms.cache_mtime +1 -1
- data/trusty-cms-5.0.0.gem +0 -0
- metadata +4 -306
- data/node_modules/path-parse/test.js +0 -77
- data/node_modules/postcss/docs/api/assets/scripts.min.js +0 -8
- data/node_modules/postcss/docs/api/assets/styles.min.css +0 -1
- data/node_modules/postcss/docs/api/index.html +0 -22716
- data/spec/dummy/log/development.log +0 -158
- data/spec/dummy/node_modules/jquery/AUTHORS.txt +0 -327
- data/spec/dummy/node_modules/jquery/LICENSE.txt +0 -20
- data/spec/dummy/node_modules/jquery/README.md +0 -62
- data/spec/dummy/node_modules/jquery/bower.json +0 -14
- data/spec/dummy/node_modules/jquery/dist/jquery.js +0 -10872
- data/spec/dummy/node_modules/jquery/dist/jquery.min.js +0 -2
- data/spec/dummy/node_modules/jquery/dist/jquery.min.map +0 -1
- data/spec/dummy/node_modules/jquery/dist/jquery.slim.js +0 -8777
- data/spec/dummy/node_modules/jquery/dist/jquery.slim.min.js +0 -2
- data/spec/dummy/node_modules/jquery/dist/jquery.slim.min.map +0 -1
- data/spec/dummy/node_modules/jquery/external/sizzle/LICENSE.txt +0 -36
- data/spec/dummy/node_modules/jquery/external/sizzle/dist/sizzle.js +0 -2478
- data/spec/dummy/node_modules/jquery/external/sizzle/dist/sizzle.min.js +0 -3
- data/spec/dummy/node_modules/jquery/external/sizzle/dist/sizzle.min.map +0 -1
- data/spec/dummy/node_modules/jquery/package.json +0 -117
- data/spec/dummy/node_modules/jquery/src/ajax/jsonp.js +0 -103
- data/spec/dummy/node_modules/jquery/src/ajax/load.js +0 -77
- data/spec/dummy/node_modules/jquery/src/ajax/script.js +0 -74
- data/spec/dummy/node_modules/jquery/src/ajax/var/location.js +0 -5
- data/spec/dummy/node_modules/jquery/src/ajax/var/nonce.js +0 -5
- data/spec/dummy/node_modules/jquery/src/ajax/var/rquery.js +0 -5
- data/spec/dummy/node_modules/jquery/src/ajax/xhr.js +0 -170
- data/spec/dummy/node_modules/jquery/src/ajax.js +0 -873
- data/spec/dummy/node_modules/jquery/src/attributes/attr.js +0 -141
- data/spec/dummy/node_modules/jquery/src/attributes/classes.js +0 -186
- data/spec/dummy/node_modules/jquery/src/attributes/prop.js +0 -143
- data/spec/dummy/node_modules/jquery/src/attributes/support.js +0 -33
- data/spec/dummy/node_modules/jquery/src/attributes/val.js +0 -191
- data/spec/dummy/node_modules/jquery/src/attributes.js +0 -13
- data/spec/dummy/node_modules/jquery/src/callbacks.js +0 -236
- data/spec/dummy/node_modules/jquery/src/core/DOMEval.js +0 -43
- data/spec/dummy/node_modules/jquery/src/core/access.js +0 -72
- data/spec/dummy/node_modules/jquery/src/core/camelCase.js +0 -23
- data/spec/dummy/node_modules/jquery/src/core/init.js +0 -129
- data/spec/dummy/node_modules/jquery/src/core/isAttached.js +0 -26
- data/spec/dummy/node_modules/jquery/src/core/nodeName.js +0 -13
- data/spec/dummy/node_modules/jquery/src/core/parseHTML.js +0 -65
- data/spec/dummy/node_modules/jquery/src/core/parseXML.js +0 -30
- data/spec/dummy/node_modules/jquery/src/core/ready-no-deferred.js +0 -97
- data/spec/dummy/node_modules/jquery/src/core/ready.js +0 -86
- data/spec/dummy/node_modules/jquery/src/core/readyException.js +0 -13
- data/spec/dummy/node_modules/jquery/src/core/stripAndCollapse.js +0 -14
- data/spec/dummy/node_modules/jquery/src/core/support.js +0 -20
- data/spec/dummy/node_modules/jquery/src/core/toType.js +0 -20
- data/spec/dummy/node_modules/jquery/src/core/var/rsingleTag.js +0 -7
- data/spec/dummy/node_modules/jquery/src/core.js +0 -400
- data/spec/dummy/node_modules/jquery/src/css/addGetHookIf.js +0 -26
- data/spec/dummy/node_modules/jquery/src/css/adjustCSS.js +0 -74
- data/spec/dummy/node_modules/jquery/src/css/curCSS.js +0 -65
- data/spec/dummy/node_modules/jquery/src/css/finalPropName.js +0 -42
- data/spec/dummy/node_modules/jquery/src/css/hiddenVisibleSelectors.js +0 -15
- data/spec/dummy/node_modules/jquery/src/css/showHide.js +0 -105
- data/spec/dummy/node_modules/jquery/src/css/support.js +0 -133
- data/spec/dummy/node_modules/jquery/src/css/var/cssExpand.js +0 -5
- data/spec/dummy/node_modules/jquery/src/css/var/getStyles.js +0 -17
- data/spec/dummy/node_modules/jquery/src/css/var/isHiddenWithinTree.js +0 -34
- data/spec/dummy/node_modules/jquery/src/css/var/rboxStyle.js +0 -7
- data/spec/dummy/node_modules/jquery/src/css/var/rnumnonpx.js +0 -7
- data/spec/dummy/node_modules/jquery/src/css/var/swap.js +0 -26
- data/spec/dummy/node_modules/jquery/src/css.js +0 -494
- data/spec/dummy/node_modules/jquery/src/data/Data.js +0 -162
- data/spec/dummy/node_modules/jquery/src/data/var/acceptData.js +0 -19
- data/spec/dummy/node_modules/jquery/src/data/var/dataPriv.js +0 -7
- data/spec/dummy/node_modules/jquery/src/data/var/dataUser.js +0 -7
- data/spec/dummy/node_modules/jquery/src/data.js +0 -180
- data/spec/dummy/node_modules/jquery/src/deferred/exceptionHook.js +0 -21
- data/spec/dummy/node_modules/jquery/src/deferred.js +0 -399
- data/spec/dummy/node_modules/jquery/src/deprecated/ajax-event-alias.js +0 -22
- data/spec/dummy/node_modules/jquery/src/deprecated/event.js +0 -48
- data/spec/dummy/node_modules/jquery/src/deprecated.js +0 -87
- data/spec/dummy/node_modules/jquery/src/dimensions.js +0 -57
- data/spec/dummy/node_modules/jquery/src/effects/Tween.js +0 -125
- data/spec/dummy/node_modules/jquery/src/effects/animatedSelector.js +0 -15
- data/spec/dummy/node_modules/jquery/src/effects.js +0 -701
- data/spec/dummy/node_modules/jquery/src/event/focusin.js +0 -58
- data/spec/dummy/node_modules/jquery/src/event/support.js +0 -11
- data/spec/dummy/node_modules/jquery/src/event/trigger.js +0 -201
- data/spec/dummy/node_modules/jquery/src/event.js +0 -892
- data/spec/dummy/node_modules/jquery/src/exports/amd.js +0 -26
- data/spec/dummy/node_modules/jquery/src/exports/global.js +0 -34
- data/spec/dummy/node_modules/jquery/src/jquery.js +0 -41
- data/spec/dummy/node_modules/jquery/src/manipulation/_evalUrl.js +0 -32
- data/spec/dummy/node_modules/jquery/src/manipulation/buildFragment.js +0 -106
- data/spec/dummy/node_modules/jquery/src/manipulation/getAll.js +0 -32
- data/spec/dummy/node_modules/jquery/src/manipulation/setGlobalEval.js +0 -22
- data/spec/dummy/node_modules/jquery/src/manipulation/support.js +0 -41
- data/spec/dummy/node_modules/jquery/src/manipulation/var/rscriptType.js +0 -5
- data/spec/dummy/node_modules/jquery/src/manipulation/var/rtagName.js +0 -8
- data/spec/dummy/node_modules/jquery/src/manipulation/wrapMap.js +0 -30
- data/spec/dummy/node_modules/jquery/src/manipulation.js +0 -480
- data/spec/dummy/node_modules/jquery/src/offset.js +0 -238
- data/spec/dummy/node_modules/jquery/src/queue/delay.js +0 -24
- data/spec/dummy/node_modules/jquery/src/queue.js +0 -145
- data/spec/dummy/node_modules/jquery/src/selector-native.js +0 -241
- data/spec/dummy/node_modules/jquery/src/selector-sizzle.js +0 -19
- data/spec/dummy/node_modules/jquery/src/selector.js +0 -3
- data/spec/dummy/node_modules/jquery/src/serialize.js +0 -136
- data/spec/dummy/node_modules/jquery/src/traversing/findFilter.js +0 -97
- data/spec/dummy/node_modules/jquery/src/traversing/var/dir.js +0 -22
- data/spec/dummy/node_modules/jquery/src/traversing/var/rneedsContext.js +0 -8
- data/spec/dummy/node_modules/jquery/src/traversing/var/siblings.js +0 -17
- data/spec/dummy/node_modules/jquery/src/traversing.js +0 -198
- data/spec/dummy/node_modules/jquery/src/var/ObjectFunctionString.js +0 -7
- data/spec/dummy/node_modules/jquery/src/var/arr.js +0 -5
- data/spec/dummy/node_modules/jquery/src/var/class2type.js +0 -6
- data/spec/dummy/node_modules/jquery/src/var/document.js +0 -5
- data/spec/dummy/node_modules/jquery/src/var/documentElement.js +0 -7
- data/spec/dummy/node_modules/jquery/src/var/flat.js +0 -16
- data/spec/dummy/node_modules/jquery/src/var/fnToString.js +0 -7
- data/spec/dummy/node_modules/jquery/src/var/getProto.js +0 -5
- data/spec/dummy/node_modules/jquery/src/var/hasOwn.js +0 -7
- data/spec/dummy/node_modules/jquery/src/var/indexOf.js +0 -7
- data/spec/dummy/node_modules/jquery/src/var/isFunction.js +0 -13
- data/spec/dummy/node_modules/jquery/src/var/isWindow.js +0 -8
- data/spec/dummy/node_modules/jquery/src/var/pnum.js +0 -5
- data/spec/dummy/node_modules/jquery/src/var/push.js +0 -7
- data/spec/dummy/node_modules/jquery/src/var/rcheckableType.js +0 -5
- data/spec/dummy/node_modules/jquery/src/var/rcssNum.js +0 -9
- data/spec/dummy/node_modules/jquery/src/var/rnothtmlwhite.js +0 -8
- data/spec/dummy/node_modules/jquery/src/var/slice.js +0 -7
- data/spec/dummy/node_modules/jquery/src/var/support.js +0 -6
- data/spec/dummy/node_modules/jquery/src/var/toString.js +0 -7
- data/spec/dummy/node_modules/jquery/src/wrap.js +0 -78
- data/spec/dummy/node_modules/jquery-ui-bundle/AUTHORS.txt +0 -333
- data/spec/dummy/node_modules/jquery-ui-bundle/LICENSE.txt +0 -43
- data/spec/dummy/node_modules/jquery-ui-bundle/external/jquery/jquery.js +0 -11008
- data/spec/dummy/node_modules/jquery-ui-bundle/images/ui-icons_444444_256x240.png +0 -0
- data/spec/dummy/node_modules/jquery-ui-bundle/images/ui-icons_555555_256x240.png +0 -0
- data/spec/dummy/node_modules/jquery-ui-bundle/images/ui-icons_777620_256x240.png +0 -0
- data/spec/dummy/node_modules/jquery-ui-bundle/images/ui-icons_777777_256x240.png +0 -0
- data/spec/dummy/node_modules/jquery-ui-bundle/images/ui-icons_cc0000_256x240.png +0 -0
- data/spec/dummy/node_modules/jquery-ui-bundle/images/ui-icons_ffffff_256x240.png +0 -0
- data/spec/dummy/node_modules/jquery-ui-bundle/index.html +0 -559
- data/spec/dummy/node_modules/jquery-ui-bundle/jquery-ui.css +0 -1312
- data/spec/dummy/node_modules/jquery-ui-bundle/jquery-ui.js +0 -18706
- data/spec/dummy/node_modules/jquery-ui-bundle/jquery-ui.min.css +0 -7
- data/spec/dummy/node_modules/jquery-ui-bundle/jquery-ui.min.js +0 -13
- data/spec/dummy/node_modules/jquery-ui-bundle/jquery-ui.structure.css +0 -886
- data/spec/dummy/node_modules/jquery-ui-bundle/jquery-ui.structure.min.css +0 -5
- data/spec/dummy/node_modules/jquery-ui-bundle/jquery-ui.theme.css +0 -443
- data/spec/dummy/node_modules/jquery-ui-bundle/jquery-ui.theme.min.css +0 -5
- data/spec/dummy/node_modules/jquery-ui-bundle/package.json +0 -33
- data/spec/dummy/node_modules/jquery-ujs/CONTRIBUTING.md +0 -109
- data/spec/dummy/node_modules/jquery-ujs/MIT-LICENSE +0 -20
- data/spec/dummy/node_modules/jquery-ujs/README.md +0 -86
- data/spec/dummy/node_modules/jquery-ujs/RELEASE.md +0 -23
- data/spec/dummy/node_modules/jquery-ujs/bower.json +0 -19
- data/spec/dummy/node_modules/jquery-ujs/package.json +0 -26
- data/spec/dummy/node_modules/jquery-ujs/src/rails.js +0 -555
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 93c5757a5dcb67c36520c6ddb0cd237065fb7030fc7f2cd2f2e07f63a78224c4
|
4
|
+
data.tar.gz: c44066af31851544cba8ae7ed6d055b59d10a1d84cc3836f1168ebd817853dfb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e37967a7f2db311cf7144e90da17c5c3f0ad4e5ab8bd3eefabbeb3cc86204bbe04975b1e9e6de09daf8f4e0eeb13640982f5205440d6874488f25f365ab97c77
|
7
|
+
data.tar.gz: cf4e4e7fd6d0a475cd4f704ee607abef8d83b935bdf161b3d0e61c9e66112d40c14d58a92395021b7867ad206061a27497482bb9c0c3cebc4897b5e64d1559ef
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
trusty-cms (4.3.
|
4
|
+
trusty-cms (4.3.5)
|
5
5
|
RedCloth (= 4.3.2)
|
6
6
|
acts_as_list (>= 0.9.5, < 1.1.0)
|
7
7
|
acts_as_tree (~> 2.9.1)
|
@@ -161,7 +161,7 @@ GEM
|
|
161
161
|
haml (>= 4.0, < 6)
|
162
162
|
nokogiri (>= 1.6.0)
|
163
163
|
ruby_parser (~> 3.5)
|
164
|
-
httparty (0.
|
164
|
+
httparty (0.20.0)
|
165
165
|
mime-types (~> 3.0)
|
166
166
|
multi_xml (>= 0.5.2)
|
167
167
|
i18n (1.8.10)
|
@@ -181,6 +181,7 @@ GEM
|
|
181
181
|
launchy (2.5.0)
|
182
182
|
addressable (~> 2.7)
|
183
183
|
libv8-node (15.14.0.1-x86_64-darwin-18)
|
184
|
+
libv8-node (15.14.0.1-x86_64-darwin-20)
|
184
185
|
libv8-node (15.14.0.1-x86_64-linux)
|
185
186
|
loofah (2.12.0)
|
186
187
|
crass (~> 1.0.2)
|
@@ -200,9 +201,9 @@ GEM
|
|
200
201
|
multipart-post (2.1.1)
|
201
202
|
mysql2 (0.5.3)
|
202
203
|
nio4r (2.5.8)
|
203
|
-
nokogiri (1.12.
|
204
|
+
nokogiri (1.12.5-x86_64-darwin)
|
204
205
|
racc (~> 1.4)
|
205
|
-
nokogiri (1.12.
|
206
|
+
nokogiri (1.12.5-x86_64-linux)
|
206
207
|
racc (~> 1.4)
|
207
208
|
orm_adapter (0.5.0)
|
208
209
|
poltergeist (1.18.1)
|
@@ -218,7 +219,7 @@ GEM
|
|
218
219
|
public_suffix (4.0.6)
|
219
220
|
racc (1.5.2)
|
220
221
|
rack (2.2.3)
|
221
|
-
rack-cache (1.
|
222
|
+
rack-cache (1.13.0)
|
222
223
|
rack (>= 0.4)
|
223
224
|
rack-test (1.1.0)
|
224
225
|
rack (>= 1.0, < 3)
|
@@ -331,6 +332,7 @@ GEM
|
|
331
332
|
|
332
333
|
PLATFORMS
|
333
334
|
x86_64-darwin-18
|
335
|
+
x86_64-darwin-20
|
334
336
|
x86_64-linux
|
335
337
|
|
336
338
|
DEPENDENCIES
|
@@ -349,4 +351,4 @@ DEPENDENCIES
|
|
349
351
|
trustygems (~> 0.2.0)
|
350
352
|
|
351
353
|
BUNDLED WITH
|
352
|
-
2.2.
|
354
|
+
2.2.27
|
data/config/database.yml
CHANGED
data/coverage/index.html
CHANGED
@@ -14,7 +14,7 @@
|
|
14
14
|
<img src="./assets/0.12.3/loading.gif" alt="loading"/>
|
15
15
|
</div>
|
16
16
|
<div id="wrapper" class="hide">
|
17
|
-
<div class="timestamp">Generated <abbr class="timeago" title="2021-
|
17
|
+
<div class="timestamp">Generated <abbr class="timeago" title="2021-10-05T10:51:28-04:00">2021-10-05T10:51:28-04:00</abbr></div>
|
18
18
|
<ul class="group_tabs"></ul>
|
19
19
|
|
20
20
|
<div id="content">
|
@@ -0,0 +1,13 @@
|
|
1
|
+
require 'active_support'
|
2
|
+
|
3
|
+
class AssetType
|
4
|
+
def paperclip_processors
|
5
|
+
ActiveSupport::Deprecation.warn('Paperclip processors will be deprecated soon in favor of ActiveStorage.')
|
6
|
+
|
7
|
+
active_storage_styles
|
8
|
+
end
|
9
|
+
|
10
|
+
def paperclip_styles
|
11
|
+
ActiveSupport::Deprecation.warn('Paperclip styles will be deprecated soon in favor of ActiveStorage.')
|
12
|
+
end
|
13
|
+
end
|
data/lib/trusty_cms.rb
CHANGED
@@ -2,29 +2,14 @@
|
|
2
2
|
|
3
3
|
var isWindows = process.platform === 'win32';
|
4
4
|
|
5
|
-
// Regex to split a windows path into
|
6
|
-
|
7
|
-
|
8
|
-
/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/;
|
9
|
-
|
10
|
-
// Regex to split the tail part of the above into [*, dir, basename, ext]
|
11
|
-
var splitTailRe =
|
12
|
-
/^([\s\S]*?)((?:\.{1,2}|[^\\\/]+?|)(\.[^.\/\\]*|))(?:[\\\/]*)$/;
|
5
|
+
// Regex to split a windows path into into [dir, root, basename, name, ext]
|
6
|
+
var splitWindowsRe =
|
7
|
+
/^(((?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?[\\\/]?)(?:[^\\\/]*[\\\/])*)((\.{1,2}|[^\\\/]+?|)(\.[^.\/\\]*|))[\\\/]*$/;
|
13
8
|
|
14
9
|
var win32 = {};
|
15
10
|
|
16
|
-
// Function to split a filename into [root, dir, basename, ext]
|
17
11
|
function win32SplitPath(filename) {
|
18
|
-
|
19
|
-
var result = splitDeviceRe.exec(filename),
|
20
|
-
device = (result[1] || '') + (result[2] || ''),
|
21
|
-
tail = result[3] || '';
|
22
|
-
// Split the tail into dir, basename and extension
|
23
|
-
var result2 = splitTailRe.exec(tail),
|
24
|
-
dir = result2[1],
|
25
|
-
basename = result2[2],
|
26
|
-
ext = result2[3];
|
27
|
-
return [device, dir, basename, ext];
|
12
|
+
return splitWindowsRe.exec(filename).slice(1);
|
28
13
|
}
|
29
14
|
|
30
15
|
win32.parse = function(pathString) {
|
@@ -34,24 +19,24 @@ win32.parse = function(pathString) {
|
|
34
19
|
);
|
35
20
|
}
|
36
21
|
var allParts = win32SplitPath(pathString);
|
37
|
-
if (!allParts || allParts.length !==
|
22
|
+
if (!allParts || allParts.length !== 5) {
|
38
23
|
throw new TypeError("Invalid path '" + pathString + "'");
|
39
24
|
}
|
40
25
|
return {
|
41
|
-
root: allParts[
|
42
|
-
dir: allParts[0]
|
26
|
+
root: allParts[1],
|
27
|
+
dir: allParts[0] === allParts[1] ? allParts[0] : allParts[0].slice(0, -1),
|
43
28
|
base: allParts[2],
|
44
|
-
ext: allParts[
|
45
|
-
name: allParts[
|
29
|
+
ext: allParts[4],
|
30
|
+
name: allParts[3]
|
46
31
|
};
|
47
32
|
};
|
48
33
|
|
49
34
|
|
50
35
|
|
51
|
-
// Split a filename into [
|
36
|
+
// Split a filename into [dir, root, basename, name, ext], unix version
|
52
37
|
// 'root' is just a slash, or nothing.
|
53
38
|
var splitPathRe =
|
54
|
-
/^(
|
39
|
+
/^((\/?)(?:[^\/]*\/)*)((\.{1,2}|[^\/]+?|)(\.[^.\/]*|))[\/]*$/;
|
55
40
|
var posix = {};
|
56
41
|
|
57
42
|
|
@@ -67,19 +52,16 @@ posix.parse = function(pathString) {
|
|
67
52
|
);
|
68
53
|
}
|
69
54
|
var allParts = posixSplitPath(pathString);
|
70
|
-
if (!allParts || allParts.length !==
|
55
|
+
if (!allParts || allParts.length !== 5) {
|
71
56
|
throw new TypeError("Invalid path '" + pathString + "'");
|
72
57
|
}
|
73
|
-
|
74
|
-
allParts[2] = allParts[2] || '';
|
75
|
-
allParts[3] = allParts[3] || '';
|
76
|
-
|
58
|
+
|
77
59
|
return {
|
78
|
-
root: allParts[
|
79
|
-
dir: allParts[0]
|
60
|
+
root: allParts[1],
|
61
|
+
dir: allParts[0].slice(0, -1),
|
80
62
|
base: allParts[2],
|
81
|
-
ext: allParts[
|
82
|
-
name: allParts[
|
63
|
+
ext: allParts[4],
|
64
|
+
name: allParts[3],
|
83
65
|
};
|
84
66
|
};
|
85
67
|
|
@@ -1,6 +1,33 @@
|
|
1
1
|
# Change Log
|
2
2
|
This project adheres to [Semantic Versioning](http://semver.org/).
|
3
3
|
|
4
|
+
## 7.0.36
|
5
|
+
* Backport ReDoS vulnerabilities from PostCSS 8.
|
6
|
+
|
7
|
+
## 7.0.35
|
8
|
+
* Add migration guide link to PostCSS 8 error text.
|
9
|
+
|
10
|
+
## 7.0.34
|
11
|
+
* Fix compatibility with `postcss-scss` 2.
|
12
|
+
|
13
|
+
## 7.0.33
|
14
|
+
* Add error message for PostCSS 8 plugins.
|
15
|
+
|
16
|
+
## 7.0.32
|
17
|
+
* Fix error message (by @admosity).
|
18
|
+
|
19
|
+
## 7.0.31
|
20
|
+
* Use only the latest source map annotation (by Emmanouil Zoumpoulakis).
|
21
|
+
|
22
|
+
## 7.0.30
|
23
|
+
* Fix TypeScript definition (by Natalie Weizenbaum).
|
24
|
+
|
25
|
+
## 7.0.29
|
26
|
+
* Update `Processor#version`.
|
27
|
+
|
28
|
+
## 7.0.28
|
29
|
+
* Fix TypeScript definition (by Natalie Weizenbaum).
|
30
|
+
|
4
31
|
## 7.0.27
|
5
32
|
* Fix TypeScript definition (by Natalie Weizenbaum).
|
6
33
|
|
@@ -39,6 +39,16 @@ at <surrender@evilmartians.com>.
|
|
39
39
|
alt="Sponsored by Evil Martians" width="236" height="54">
|
40
40
|
</a>
|
41
41
|
|
42
|
+
## Sponsorship
|
43
|
+
|
44
|
+
PostCSS needs your support. We are accepting donations
|
45
|
+
[at Open Collective](https://opencollective.com/postcss/).
|
46
|
+
|
47
|
+
<a href="https://tailwindcss.com/">
|
48
|
+
<img src="https://refactoringui.nyc3.cdn.digitaloceanspaces.com/tailwind-logo.svg"
|
49
|
+
alt="Sponsored by Tailwind CSS" width="273" height="64">
|
50
|
+
</a>
|
51
|
+
|
42
52
|
## Plugins
|
43
53
|
|
44
54
|
Currently, PostCSS has more than 200 plugins. You can find all of the plugins
|
@@ -468,3 +478,14 @@ To report a security vulnerability, please use the [Tidelift security contact].
|
|
468
478
|
Tidelift will coordinate the fix and disclosure.
|
469
479
|
|
470
480
|
[Tidelift security contact]: https://tidelift.com/security
|
481
|
+
|
482
|
+
|
483
|
+
## For Enterprise
|
484
|
+
|
485
|
+
Available as part of the Tidelift Subscription.
|
486
|
+
|
487
|
+
The maintainers of `postcss` and thousands of other packages are working
|
488
|
+
with Tidelift to deliver commercial support and maintenance for the open source
|
489
|
+
dependencies you use to build your applications. Save time, reduce risk,
|
490
|
+
and improve code health, while paying the maintainers of the exact dependencies
|
491
|
+
you use. [Learn more.](https://tidelift.com/subscription/pkg/npm-postcss?utm_source=npm-postcss&utm_medium=referral&utm_campaign=enterprise&utm_term=repo)
|
@@ -27,9 +27,7 @@ function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.crea
|
|
27
27
|
* const media = root.last
|
28
28
|
* media.nodes //=> []
|
29
29
|
*/
|
30
|
-
var AtRule =
|
31
|
-
/*#__PURE__*/
|
32
|
-
function (_Container) {
|
30
|
+
var AtRule = /*#__PURE__*/function (_Container) {
|
33
31
|
_inheritsLoose(AtRule, _Container);
|
34
32
|
|
35
33
|
function AtRule(defaults) {
|
@@ -126,4 +124,4 @@ function (_Container) {
|
|
126
124
|
var _default = AtRule;
|
127
125
|
exports.default = _default;
|
128
126
|
module.exports = exports.default;
|
129
|
-
//# sourceMappingURL=data:application/json;charset=utf8;base64,
|
127
|
+
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImF0LXJ1bGUuZXM2Il0sIm5hbWVzIjpbIkF0UnVsZSIsImRlZmF1bHRzIiwidHlwZSIsImFwcGVuZCIsIm5vZGVzIiwiY2hpbGRyZW4iLCJwcmVwZW5kIiwiQ29udGFpbmVyIl0sIm1hcHBpbmdzIjoiOzs7OztBQUFBOzs7Ozs7QUFFQTs7Ozs7Ozs7Ozs7Ozs7Ozs7O0lBa0JNQSxNOzs7QUFDSixrQkFBYUMsUUFBYixFQUF1QjtBQUFBOztBQUNyQixrQ0FBTUEsUUFBTjtBQUNBLFVBQUtDLElBQUwsR0FBWSxRQUFaO0FBRnFCO0FBR3RCOzs7O1NBRURDLE0sR0FBQSxrQkFBcUI7QUFBQTs7QUFDbkIsUUFBSSxDQUFDLEtBQUtDLEtBQVYsRUFBaUIsS0FBS0EsS0FBTCxHQUFhLEVBQWI7O0FBREUsc0NBQVZDLFFBQVU7QUFBVkEsTUFBQUEsUUFBVTtBQUFBOztBQUVuQix5REFBYUYsTUFBYixrREFBdUJFLFFBQXZCO0FBQ0QsRzs7U0FFREMsTyxHQUFBLG1CQUFzQjtBQUFBOztBQUNwQixRQUFJLENBQUMsS0FBS0YsS0FBVixFQUFpQixLQUFLQSxLQUFMLEdBQWEsRUFBYjs7QUFERyx1Q0FBVkMsUUFBVTtBQUFWQSxNQUFBQSxRQUFVO0FBQUE7O0FBRXBCLDBEQUFhQyxPQUFiLG1EQUF3QkQsUUFBeEI7QUFDRDtBQUVEOzs7Ozs7Ozs7O0FBVUE7Ozs7Ozs7Ozs7OztBQVlBOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0VBdENtQkUsa0I7O2VBdUVOUCxNIiwic291cmNlc0NvbnRl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RlY2xhcmF0aW9u4oCZcyB2YWx1ZSxcbiAgICogUG9zdENTUyB3aWxsIHVzZSB0aGUgcmF3IHZhbHVlIHdpdGggY29tbWVudHMuXG4gICAqXG4gICAqIEBleGFtcGxlXG4gICAqIGNvbnN0IHJvb3QgPSBwb3N0Y3NzLnBhcnNlKCcgIEBtZWRpYVxcbnByaW50IHtcXG59JylcbiAgICogcm9vdC5maXJzdC5maXJzdC5yYXdzIC8vPT4geyBiZWZvcmU6ICcgICcsXG4gICAqICAgICAgICAgICAgICAgICAgICAgICAvLyAgICAgYmV0d2VlbjogJyAnLFxuICAgKiAgICAgICAgICAgICAgICAgICAgICAgLy8gICAgIGFmdGVyTmFtZTogJ1xcbicsXG4gICAqICAgICAgICAgICAgICAgICAgICAgICAvLyAgICAgYWZ0ZXI6ICdcXG4nIH1cbiAgICovXG59XG5cbmV4cG9ydCBkZWZhdWx0IEF0UnVsZVxuIl0sImZpbGUiOiJhdC1ydWxlLmpzIn0=
|
@@ -17,9 +17,7 @@ function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.crea
|
|
17
17
|
*
|
18
18
|
* @extends Node
|
19
19
|
*/
|
20
|
-
var Comment =
|
21
|
-
/*#__PURE__*/
|
22
|
-
function (_Node) {
|
20
|
+
var Comment = /*#__PURE__*/function (_Node) {
|
23
21
|
_inheritsLoose(Comment, _Node);
|
24
22
|
|
25
23
|
function Comment(defaults) {
|
@@ -54,4 +52,4 @@ function (_Node) {
|
|
54
52
|
var _default = Comment;
|
55
53
|
exports.default = _default;
|
56
54
|
module.exports = exports.default;
|
57
|
-
//# sourceMappingURL=data:application/json;charset=utf8;base64,
|
55
|
+
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbW1lbnQuZXM2Il0sIm5hbWVzIjpbIkNvbW1lbnQiLCJkZWZhdWx0cyIsInR5cGUiLCJOb2RlIl0sIm1hcHBpbmdzIjoiOzs7OztBQUFBOzs7Ozs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