A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/npm/cli/commit/0a5f2ff9397e03ef092073fa05076213a00cb480 below:

chalk@5.4.1 · npm/cli@0a5f2ff · GitHub

File tree Expand file treeCollapse file tree 5 files changed

+16

-12

lines changed

Filter options

Expand file treeCollapse file tree 5 files changed

+16

-12

lines changed Original file line number Diff line number Diff line change

@@ -1,6 +1,6 @@

1 1

{

2 2

"name": "chalk",

3 -

"version": "5.3.0",

3 +

"version": "5.4.1",

4 4

"description": "Terminal string styling done right",

5 5

"license": "MIT",

6 6

"repository": "chalk/chalk",

@@ -16,6 +16,7 @@

16 16

}

17 17

},

18 18

"types": "./source/index.d.ts",

19 +

"sideEffects": false,

19 20

"engines": {

20 21

"node": "^12.17.0 || ^14.13 || >=16.0.0"

21 22

},

@@ -58,10 +59,9 @@

58 59

"log-update": "^5.0.0",

59 60

"matcha": "^0.7.0",

60 61

"tsd": "^0.19.0",

61 -

"xo": "^0.53.0",

62 +

"xo": "^0.57.0",

62 63

"yoctodelay": "^2.0.0"

63 64

},

64 -

"sideEffects": false,

65 65

"xo": {

66 66

"rules": {

67 67

"unicorn/prefer-string-slice": "off",

Original file line number Diff line number Diff line change

@@ -1,14 +1,18 @@

1 1

/* eslint-env browser */

2 2 3 3

const level = (() => {

4 -

if (navigator.userAgentData) {

4 +

if (!('navigator' in globalThis)) {

5 +

return 0;

6 +

}

7 + 8 +

if (globalThis.navigator.userAgentData) {

5 9

const brand = navigator.userAgentData.brands.find(({brand}) => brand === 'Chromium');

6 10

if (brand && brand.version > 93) {

7 11

return 3;

8 12

}

9 13

}

10 14 11 -

if (/\b(Chrome|Chromium)\//.test(navigator.userAgent)) {

15 +

if (/\b(Chrome|Chromium)\//.test(globalThis.navigator.userAgent)) {

12 16

return 1;

13 17

}

14 18 Original file line number Diff line number Diff line change

@@ -112,11 +112,11 @@ function _supportsColor(haveStream, {streamIsTTY, sniffFlags = true} = {}) {

112 112

}

113 113 114 114

if ('CI' in env) {

115 -

if ('GITHUB_ACTIONS' in env || 'GITEA_ACTIONS' in env) {

115 +

if (['GITHUB_ACTIONS', 'GITEA_ACTIONS', 'CIRCLECI'].some(key => key in env)) {

116 116

return 3;

117 117

}

118 118 119 -

if (['TRAVIS', 'CIRCLECI', 'APPVEYOR', 'GITLAB_CI', 'BUILDKITE', 'DRONE'].some(sign => sign in env) || env.CI_NAME === 'codeship') {

119 +

if (['TRAVIS', 'APPVEYOR', 'GITLAB_CI', 'BUILDKITE', 'DRONE'].some(sign => sign in env) || env.CI_NAME === 'codeship') {

120 120

return 1;

121 121

}

122 122 Original file line number Diff line number Diff line change

@@ -99,7 +99,7 @@

99 99

"abbrev": "^3.0.1",

100 100

"archy": "~1.0.0",

101 101

"cacache": "^19.0.1",

102 -

"chalk": "^5.3.0",

102 +

"chalk": "^5.4.1",

103 103

"ci-info": "^4.1.0",

104 104

"cli-columns": "^4.0.0",

105 105

"fastest-levenshtein": "^1.0.16",

@@ -4179,9 +4179,9 @@

4179 4179

}

4180 4180

},

4181 4181

"node_modules/chalk": {

4182 -

"version": "5.3.0",

4183 -

"resolved": "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz",

4184 -

"integrity": "sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==",

4182 +

"version": "5.4.1",

4183 +

"resolved": "https://registry.npmjs.org/chalk/-/chalk-5.4.1.tgz",

4184 +

"integrity": "sha512-zgVZuo2WcZgfUEmsn6eO3kINexW8RAE4maiQ8QNs8CtpPCSyMiYsULR3HQYkm3w8FIA3SberyMJMSldGsW+U3w==",

4185 4185

"inBundle": true,

4186 4186

"license": "MIT",

4187 4187

"engines": {

Original file line number Diff line number Diff line change

@@ -64,7 +64,7 @@

64 64

"abbrev": "^3.0.1",

65 65

"archy": "~1.0.0",

66 66

"cacache": "^19.0.1",

67 -

"chalk": "^5.3.0",

67 +

"chalk": "^5.4.1",

68 68

"ci-info": "^4.1.0",

69 69

"cli-columns": "^4.0.0",

70 70

"fastest-levenshtein": "^1.0.16",

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4