Skip to content

Commit b60f54b

Browse files
authored
chore(postcss-normalize-url): bump normalize-url dependency to 6.0.1 (#1142)
* turn off `stripTextFragment` to preserve current behavior normalize-url changelog https://github.com/sindresorhus/normalize-url/releases * the major bump from 4 to 5 is for requiring Node.js 10 * the major bump from 5 to 6 is for adding the `stripTextFragmentOption`
1 parent 36cef92 commit b60f54b

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

packages/postcss-normalize-url/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"license": "MIT",
2525
"dependencies": {
2626
"is-absolute-url": "^3.0.3",
27-
"normalize-url": "^4.5.0",
27+
"normalize-url": "^6.0.1",
2828
"postcss-value-parser": "^4.1.0"
2929
},
3030
"homepage": "https://github.com/cssnano/cssnano",

packages/postcss-normalize-url/src/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ function pluginCreator(opts) {
100100
normalizeProtocol: false,
101101
stripHash: false,
102102
stripWWW: false,
103+
stripTextFragment: false,
103104
},
104105
opts
105106
);

yarn.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7439,12 +7439,12 @@ normalize-range@^0.1.2:
74397439
resolved "https://registry.yarnpkg.com/normalize-range/-/normalize-range-0.1.2.tgz#2d10c06bdfd312ea9777695a4d28439456b75942"
74407440
integrity sha1-LRDAa9/TEuqXd2laTShDlFa3WUI=
74417441

7442-
normalize-url@^4.1.0, normalize-url@^4.5.0:
7442+
normalize-url@^4.1.0:
74437443
version "4.5.1"
74447444
resolved "https://registry.yarnpkg.com/normalize-url/-/normalize-url-4.5.1.tgz#0dd90cf1288ee1d1313b87081c9a5932ee48518a"
74457445
integrity sha512-9UZCFRHQdNrfTpGg8+1INIg93B6zE0aXMVFkw1WFwvO4SlZywU6aLg5Of0Ap/PgcbSw4LNxvMWXMeugwMCX0AA==
74467446

7447-
normalize-url@^6.0.1:
7447+
normalize-url@^6.0.0, normalize-url@^6.0.1:
74487448
version "6.0.1"
74497449
resolved "https://registry.yarnpkg.com/normalize-url/-/normalize-url-6.0.1.tgz#a4f27f58cf8c7b287b440b8a8201f42d0b00d256"
74507450
integrity sha512-VU4pzAuh7Kip71XEmO9aNREYAdMHFGTVj/i+CaTImS8x0i1d3jUZkXhqluy/PRgjPLMgsLQulYY3PJ/aSbSjpQ==

0 commit comments

Comments
 (0)