Mukho

Fix Chat-Session Error

Showing 1000 changed files with 310 additions and 854 deletions

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

No preview for this file type
File mode changed
app.js 100644 → 100755
...@@ -119,7 +119,8 @@ io.sockets.on('connection', function(socket) { ...@@ -119,7 +119,8 @@ io.sockets.on('connection', function(socket) {
119 } 119 }
120 else{ 120 else{
121 console.log(logString+'익명 유저의 채팅 전송을 거부했습니다.('+ip+')') 121 console.log(logString+'익명 유저의 채팅 전송을 거부했습니다.('+ip+')')
122 - // 122 + // 세션이 없어진 사용자들 처리
123 + socket.emit('update', {type: 'ERROR'})
123 } 124 }
124 }) 125 })
125 126
......
No preview for this file type
No preview for this file type
No preview for this file type

824 KB | W: | H:

824 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

562 KB | W: | H:

562 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

103 KB | W: | H:

103 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

65.9 KB | W: | H:

65.9 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

586 KB | W: | H:

586 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

4.61 KB | W: | H:

4.61 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

65.9 KB | W: | H:

65.9 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

321 KB | W: | H:

321 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

66.6 KB | W: | H:

66.6 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

76 KB | W: | H:

76 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

27.6 KB | W: | H:

27.6 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

449 KB | W: | H:

449 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

43.9 KB | W: | H:

43.9 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

527 KB | W: | H:

527 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

43.9 KB | W: | H:

43.9 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

22.1 KB | W: | H:

22.1 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

321 KB | W: | H:

321 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

939 KB | W: | H:

939 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

78.1 KB | W: | H:

78.1 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

492 KB | W: | H:

492 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

35.2 KB | W: | H:

35.2 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

134 KB | W: | H:

134 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

1.16 MB | W: | H:

1.16 MB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

4.24 KB | W: | H:

4.24 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

1.22 KB | W: | H:

1.22 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
...@@ -11,11 +11,15 @@ socket.on('connect', function() { ...@@ -11,11 +11,15 @@ socket.on('connect', function() {
11 11
12 /* 서버로부터 데이터 받은 경우 */ 12 /* 서버로부터 데이터 받은 경우 */
13 socket.on('update', function(data) { 13 socket.on('update', function(data) {
14 + try{
14 var chat = document.getElementById('chat') 15 var chat = document.getElementById('chat')
15 16
16 var message = document.createElement('div') 17 var message = document.createElement('div')
17 var node; 18 var node;
18 - if(data.name != "SERVER"){ 19 + if(data.name == "ERROR"){
20 + throw 'ERROR'; // 서버 재시작 후 세션이 없어진 경우 throw
21 + }
22 + else if(data.name != "SERVER"){
19 node = document.createTextNode(`${data.name}: ${data.message}`) 23 node = document.createTextNode(`${data.name}: ${data.message}`)
20 } 24 }
21 else{ 25 else{
...@@ -47,10 +51,17 @@ socket.on('update', function(data) { ...@@ -47,10 +51,17 @@ socket.on('update', function(data) {
47 element.scrollTop = element.scrollHeight - element.clientHeight; 51 element.scrollTop = element.scrollHeight - element.clientHeight;
48 } 52 }
49 a(); 53 a();
54 + }
55 + catch(e){ // 서버 재시작 후 세션이 사라진 경우 팝업_채팅창에서 알림창을 띄우고 팝업창 끄기->기존 창 새로고침
56 + alert("세션이 만료되었습니다.")
57 + self.close();
58 + opener.document.location.href="/main"
59 + }
50 }) 60 })
51 61
52 /* 메시지 전송 함수 */ 62 /* 메시지 전송 함수 */
53 function send() { 63 function send() {
64 +
54 // 입력되어있는 데이터 가져오기 65 // 입력되어있는 데이터 가져오기
55 var message = document.getElementById('test').value 66 var message = document.getElementById('test').value
56 67
......
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
1 +../detect-libc/bin/detect-libc.js
...\ No newline at end of file ...\ No newline at end of file
1 -#!/bin/sh
2 -basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3 -
4 -case `uname` in
5 - *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
6 -esac
7 -
8 -if [ -x "$basedir/node" ]; then
9 - "$basedir/node" "$basedir/../detect-libc/bin/detect-libc.js" "$@"
10 - ret=$?
11 -else
12 - node "$basedir/../detect-libc/bin/detect-libc.js" "$@"
13 - ret=$?
14 -fi
15 -exit $ret
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
1 +../prebuild-install/bin.js
...\ No newline at end of file ...\ No newline at end of file
1 -#!/bin/sh
2 -basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3 -
4 -case `uname` in
5 - *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
6 -esac
7 -
8 -if [ -x "$basedir/node" ]; then
9 - "$basedir/node" "$basedir/../prebuild-install/bin.js" "$@"
10 - ret=$?
11 -else
12 - node "$basedir/../prebuild-install/bin.js" "$@"
13 - ret=$?
14 -fi
15 -exit $ret
1 +../rc/cli.js
...\ No newline at end of file ...\ No newline at end of file
1 -#!/bin/sh
2 -basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3 -
4 -case `uname` in
5 - *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
6 -esac
7 -
8 -if [ -x "$basedir/node" ]; then
9 - "$basedir/node" "$basedir/../rc/cli.js" "$@"
10 - ret=$?
11 -else
12 - node "$basedir/../rc/cli.js" "$@"
13 - ret=$?
14 -fi
15 -exit $ret
File mode changed
File mode changed
1 +../semver/bin/semver.js
...\ No newline at end of file ...\ No newline at end of file
1 -#!/bin/sh
2 -basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3 -
4 -case `uname` in
5 - *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
6 -esac
7 -
8 -if [ -x "$basedir/node" ]; then
9 - "$basedir/node" "$basedir/../semver/bin/semver.js" "$@"
10 - ret=$?
11 -else
12 - node "$basedir/../semver/bin/semver.js" "$@"
13 - ret=$?
14 -fi
15 -exit $ret
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
This diff could not be displayed because it is too large.
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
1 { 1 {
2 - "_from": "ansi-regex@^2.0.0",
3 - "_id": "ansi-regex@2.1.1",
4 - "_inBundle": false,
5 - "_integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=",
6 - "_location": "/ansi-regex",
7 - "_phantomChildren": {},
8 - "_requested": {
9 - "type": "range",
10 - "registry": true,
11 - "raw": "ansi-regex@^2.0.0",
12 "name": "ansi-regex", 2 "name": "ansi-regex",
13 - "escapedName": "ansi-regex", 3 + "version": "2.1.1",
14 - "rawSpec": "^2.0.0", 4 + "description": "Regular expression for matching ANSI escape codes",
15 - "saveSpec": null, 5 + "license": "MIT",
16 - "fetchSpec": "^2.0.0" 6 + "repository": "chalk/ansi-regex",
17 - },
18 - "_requiredBy": [
19 - "/strip-ansi"
20 - ],
21 - "_resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz",
22 - "_shasum": "c3b33ab5ee360d86e0e628f0468ae7ef27d654df",
23 - "_spec": "ansi-regex@^2.0.0",
24 - "_where": "C:\\Users\\bshoo\\Desktop\\OSS\\Singer-Composer\\node_modules\\strip-ansi",
25 "author": { 7 "author": {
26 "name": "Sindre Sorhus", 8 "name": "Sindre Sorhus",
27 "email": "sindresorhus@gmail.com", 9 "email": "sindresorhus@gmail.com",
28 "url": "sindresorhus.com" 10 "url": "sindresorhus.com"
29 }, 11 },
30 - "bugs": { 12 + "maintainers": [
31 - "url": "https://github.com/chalk/ansi-regex/issues" 13 + "Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)",
32 - }, 14 + "Joshua Appelman <jappelman@xebia.com> (jbnicolai.com)",
33 - "bundleDependencies": false, 15 + "JD Ballard <i.am.qix@gmail.com> (github.com/qix-)"
34 - "deprecated": false, 16 + ],
35 - "description": "Regular expression for matching ANSI escape codes",
36 - "devDependencies": {
37 - "ava": "0.17.0",
38 - "xo": "0.16.0"
39 - },
40 "engines": { 17 "engines": {
41 "node": ">=0.10.0" 18 "node": ">=0.10.0"
42 }, 19 },
20 + "scripts": {
21 + "test": "xo && ava --verbose",
22 + "view-supported": "node fixtures/view-codes.js"
23 + },
43 "files": [ 24 "files": [
44 "index.js" 25 "index.js"
45 ], 26 ],
46 - "homepage": "https://github.com/chalk/ansi-regex#readme",
47 "keywords": [ 27 "keywords": [
48 "ansi", 28 "ansi",
49 "styles", 29 "styles",
...@@ -71,34 +51,10 @@ ...@@ -71,34 +51,10 @@
71 "find", 51 "find",
72 "pattern" 52 "pattern"
73 ], 53 ],
74 - "license": "MIT", 54 + "devDependencies": {
75 - "maintainers": [ 55 + "ava": "0.17.0",
76 - { 56 + "xo": "0.16.0"
77 - "name": "Sindre Sorhus",
78 - "email": "sindresorhus@gmail.com",
79 - "url": "sindresorhus.com"
80 - },
81 - {
82 - "name": "Joshua Appelman",
83 - "email": "jappelman@xebia.com",
84 - "url": "jbnicolai.com"
85 - },
86 - {
87 - "name": "JD Ballard",
88 - "email": "i.am.qix@gmail.com",
89 - "url": "github.com/qix-"
90 - }
91 - ],
92 - "name": "ansi-regex",
93 - "repository": {
94 - "type": "git",
95 - "url": "git+https://github.com/chalk/ansi-regex.git"
96 - },
97 - "scripts": {
98 - "test": "xo && ava --verbose",
99 - "view-supported": "node fixtures/view-codes.js"
100 }, 57 },
101 - "version": "2.1.1",
102 "xo": { 58 "xo": {
103 "rules": { 59 "rules": {
104 "guard-for-in": 0, 60 "guard-for-in": 0,
......
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
1 { 1 {
2 - "_from": "aproba@^1.0.3",
3 - "_id": "aproba@1.2.0",
4 - "_inBundle": false,
5 - "_integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==",
6 - "_location": "/aproba",
7 - "_phantomChildren": {},
8 - "_requested": {
9 - "type": "range",
10 - "registry": true,
11 - "raw": "aproba@^1.0.3",
12 "name": "aproba", 2 "name": "aproba",
13 - "escapedName": "aproba", 3 + "version": "1.2.0",
14 - "rawSpec": "^1.0.3", 4 + "description": "A ridiculously light-weight argument validator (now browser friendly)",
15 - "saveSpec": null, 5 + "main": "index.js",
16 - "fetchSpec": "^1.0.3" 6 + "directories": {
17 - }, 7 + "test": "test"
18 - "_requiredBy": [
19 - "/gauge"
20 - ],
21 - "_resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz",
22 - "_shasum": "6802e6264efd18c790a1b0d517f0f2627bf2c94a",
23 - "_spec": "aproba@^1.0.3",
24 - "_where": "C:\\Users\\bshoo\\Desktop\\OSS\\Singer-Composer\\node_modules\\gauge",
25 - "author": {
26 - "name": "Rebecca Turner",
27 - "email": "me@re-becca.org"
28 - },
29 - "bugs": {
30 - "url": "https://github.com/iarna/aproba/issues"
31 }, 8 },
32 - "bundleDependencies": false,
33 "dependencies": {}, 9 "dependencies": {},
34 - "deprecated": false,
35 - "description": "A ridiculously light-weight argument validator (now browser friendly)",
36 "devDependencies": { 10 "devDependencies": {
37 "standard": "^10.0.3", 11 "standard": "^10.0.3",
38 "tap": "^10.0.2" 12 "tap": "^10.0.2"
39 }, 13 },
40 - "directories": {
41 - "test": "test"
42 - },
43 "files": [ 14 "files": [
44 "index.js" 15 "index.js"
45 ], 16 ],
46 - "homepage": "https://github.com/iarna/aproba", 17 + "scripts": {
18 + "test": "standard && tap -j3 test/*.js"
19 + },
20 + "repository": {
21 + "type": "git",
22 + "url": "https://github.com/iarna/aproba"
23 + },
47 "keywords": [ 24 "keywords": [
48 "argument", 25 "argument",
49 "validate" 26 "validate"
50 ], 27 ],
28 + "author": "Rebecca Turner <me@re-becca.org>",
51 "license": "ISC", 29 "license": "ISC",
52 - "main": "index.js", 30 + "bugs": {
53 - "name": "aproba", 31 + "url": "https://github.com/iarna/aproba/issues"
54 - "repository": {
55 - "type": "git",
56 - "url": "git+https://github.com/iarna/aproba.git"
57 - },
58 - "scripts": {
59 - "test": "standard && tap -j3 test/*.js"
60 }, 32 },
61 - "version": "1.2.0" 33 + "homepage": "https://github.com/iarna/aproba"
62 } 34 }
......
1 { 1 {
2 - "_from": "are-we-there-yet@~1.1.2",
3 - "_id": "are-we-there-yet@1.1.7",
4 - "_inBundle": false,
5 - "_integrity": "sha512-nxwy40TuMiUGqMyRHgCSWZ9FM4VAoRP4xUYSTv5ImRog+h9yISPbVH7H8fASCIzYn9wlEv4zvFL7uKDMCFQm3g==",
6 - "_location": "/are-we-there-yet",
7 - "_phantomChildren": {},
8 - "_requested": {
9 - "type": "range",
10 - "registry": true,
11 - "raw": "are-we-there-yet@~1.1.2",
12 "name": "are-we-there-yet", 2 "name": "are-we-there-yet",
13 - "escapedName": "are-we-there-yet", 3 + "version": "1.1.7",
14 - "rawSpec": "~1.1.2", 4 + "description": "Keep track of the overall completion of many disparate processes",
15 - "saveSpec": null, 5 + "main": "index.js",
16 - "fetchSpec": "~1.1.2" 6 + "scripts": {
7 + "test": "standard && tap test/*.js"
17 }, 8 },
18 - "_requiredBy": [ 9 + "repository": {
19 - "/npmlog" 10 + "type": "git",
20 - ], 11 + "url": "https://github.com/iarna/are-we-there-yet.git"
21 - "_resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.7.tgz",
22 - "_shasum": "b15474a932adab4ff8a50d9adfa7e4e926f21146",
23 - "_spec": "are-we-there-yet@~1.1.2",
24 - "_where": "C:\\Users\\bshoo\\Desktop\\OSS\\Singer-Composer\\node_modules\\npmlog",
25 - "author": {
26 - "name": "Rebecca Turner",
27 - "url": "http://re-becca.org"
28 }, 12 },
13 + "author": "Rebecca Turner (http://re-becca.org)",
14 + "license": "ISC",
29 "bugs": { 15 "bugs": {
30 "url": "https://github.com/iarna/are-we-there-yet/issues" 16 "url": "https://github.com/iarna/are-we-there-yet/issues"
31 }, 17 },
32 - "bundleDependencies": false, 18 + "homepage": "https://github.com/iarna/are-we-there-yet",
33 - "dependencies": {
34 - "delegates": "^1.0.0",
35 - "readable-stream": "^2.0.6"
36 - },
37 - "deprecated": false,
38 - "description": "Keep track of the overall completion of many disparate processes",
39 "devDependencies": { 19 "devDependencies": {
40 "standard": "^11.0.1", 20 "standard": "^11.0.1",
41 "tap": "^12.0.1" 21 "tap": "^12.0.1"
42 }, 22 },
23 + "dependencies": {
24 + "delegates": "^1.0.0",
25 + "readable-stream": "^2.0.6"
26 + },
43 "files": [ 27 "files": [
44 "index.js", 28 "index.js",
45 "tracker-base.js", 29 "tracker-base.js",
...@@ -47,17 +31,5 @@ ...@@ -47,17 +31,5 @@
47 "tracker-stream.js", 31 "tracker-stream.js",
48 "tracker.js", 32 "tracker.js",
49 "CHANGES.md" 33 "CHANGES.md"
50 - ], 34 + ]
51 - "homepage": "https://github.com/iarna/are-we-there-yet",
52 - "license": "ISC",
53 - "main": "index.js",
54 - "name": "are-we-there-yet",
55 - "repository": {
56 - "type": "git",
57 - "url": "git+https://github.com/iarna/are-we-there-yet.git"
58 - },
59 - "scripts": {
60 - "test": "standard && tap test/*.js"
61 - },
62 - "version": "1.1.7"
63 } 35 }
......
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
1 { 1 {
2 - "_from": "inherits@^2.0.4",
3 - "_id": "inherits@2.0.4",
4 - "_inBundle": false,
5 - "_integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
6 - "_location": "/bl/inherits",
7 - "_phantomChildren": {},
8 - "_requested": {
9 - "type": "range",
10 - "registry": true,
11 - "raw": "inherits@^2.0.4",
12 "name": "inherits", 2 "name": "inherits",
13 - "escapedName": "inherits",
14 - "rawSpec": "^2.0.4",
15 - "saveSpec": null,
16 - "fetchSpec": "^2.0.4"
17 - },
18 - "_requiredBy": [
19 - "/bl",
20 - "/bl/readable-stream"
21 - ],
22 - "_resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
23 - "_shasum": "0fa2c64f932917c3433a0ded55363aae37416b7c",
24 - "_spec": "inherits@^2.0.4",
25 - "_where": "C:\\Users\\bshoo\\Desktop\\OSS\\Singer-Composer\\node_modules\\bl",
26 - "browser": "./inherits_browser.js",
27 - "bugs": {
28 - "url": "https://github.com/isaacs/inherits/issues"
29 - },
30 - "bundleDependencies": false,
31 - "deprecated": false,
32 "description": "Browser-friendly inheritance fully compatible with standard node.js inherits()", 3 "description": "Browser-friendly inheritance fully compatible with standard node.js inherits()",
33 - "devDependencies": { 4 + "version": "2.0.4",
34 - "tap": "^14.2.4"
35 - },
36 - "files": [
37 - "inherits.js",
38 - "inherits_browser.js"
39 - ],
40 - "homepage": "https://github.com/isaacs/inherits#readme",
41 "keywords": [ 5 "keywords": [
42 "inheritance", 6 "inheritance",
43 "class", 7 "class",
...@@ -48,15 +12,18 @@ ...@@ -48,15 +12,18 @@
48 "browser", 12 "browser",
49 "browserify" 13 "browserify"
50 ], 14 ],
51 - "license": "ISC",
52 "main": "./inherits.js", 15 "main": "./inherits.js",
53 - "name": "inherits", 16 + "browser": "./inherits_browser.js",
54 - "repository": { 17 + "repository": "git://github.com/isaacs/inherits",
55 - "type": "git", 18 + "license": "ISC",
56 - "url": "git://github.com/isaacs/inherits.git"
57 - },
58 "scripts": { 19 "scripts": {
59 "test": "tap" 20 "test": "tap"
60 }, 21 },
61 - "version": "2.0.4" 22 + "devDependencies": {
23 + "tap": "^14.2.4"
24 + },
25 + "files": [
26 + "inherits.js",
27 + "inherits_browser.js"
28 + ]
62 } 29 }
......
1 { 1 {
2 - "_from": "readable-stream@^3.4.0",
3 - "_id": "readable-stream@3.6.0",
4 - "_inBundle": false,
5 - "_integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
6 - "_location": "/bl/readable-stream",
7 - "_phantomChildren": {},
8 - "_requested": {
9 - "type": "range",
10 - "registry": true,
11 - "raw": "readable-stream@^3.4.0",
12 "name": "readable-stream", 2 "name": "readable-stream",
13 - "escapedName": "readable-stream", 3 + "version": "3.6.0",
14 - "rawSpec": "^3.4.0", 4 + "description": "Streams3, a user-land copy of the stream library from Node.js",
15 - "saveSpec": null, 5 + "main": "readable.js",
16 - "fetchSpec": "^3.4.0" 6 + "engines": {
17 - }, 7 + "node": ">= 6"
18 - "_requiredBy": [
19 - "/bl"
20 - ],
21 - "_resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
22 - "_shasum": "337bbda3adc0706bd3e024426a286d4b4b2c9198",
23 - "_spec": "readable-stream@^3.4.0",
24 - "_where": "C:\\Users\\bshoo\\Desktop\\OSS\\Singer-Composer\\node_modules\\bl",
25 - "browser": {
26 - "util": false,
27 - "worker_threads": false,
28 - "./errors": "./errors-browser.js",
29 - "./readable.js": "./readable-browser.js",
30 - "./lib/internal/streams/from.js": "./lib/internal/streams/from-browser.js",
31 - "./lib/internal/streams/stream.js": "./lib/internal/streams/stream-browser.js"
32 - },
33 - "bugs": {
34 - "url": "https://github.com/nodejs/readable-stream/issues"
35 }, 8 },
36 - "bundleDependencies": false,
37 "dependencies": { 9 "dependencies": {
38 "inherits": "^2.0.3", 10 "inherits": "^2.0.3",
39 "string_decoder": "^1.1.1", 11 "string_decoder": "^1.1.1",
40 "util-deprecate": "^1.0.1" 12 "util-deprecate": "^1.0.1"
41 }, 13 },
42 - "deprecated": false,
43 - "description": "Streams3, a user-land copy of the stream library from Node.js",
44 "devDependencies": { 14 "devDependencies": {
45 "@babel/cli": "^7.2.0", 15 "@babel/cli": "^7.2.0",
46 "@babel/core": "^7.2.0", 16 "@babel/core": "^7.2.0",
...@@ -63,35 +33,36 @@ ...@@ -63,35 +33,36 @@
63 "tar-fs": "^1.16.2", 33 "tar-fs": "^1.16.2",
64 "util-promisify": "^2.1.0" 34 "util-promisify": "^2.1.0"
65 }, 35 },
66 - "engines": { 36 + "scripts": {
67 - "node": ">= 6" 37 + "test": "tap -J --no-esm test/parallel/*.js test/ours/*.js",
38 + "ci": "TAP=1 tap --no-esm test/parallel/*.js test/ours/*.js | tee test.tap",
39 + "test-browsers": "airtap --sauce-connect --loopback airtap.local -- test/browser.js",
40 + "test-browser-local": "airtap --open --local -- test/browser.js",
41 + "cover": "nyc npm test",
42 + "report": "nyc report --reporter=lcov",
43 + "update-browser-errors": "babel -o errors-browser.js errors.js"
44 + },
45 + "repository": {
46 + "type": "git",
47 + "url": "git://github.com/nodejs/readable-stream"
68 }, 48 },
69 - "homepage": "https://github.com/nodejs/readable-stream#readme",
70 "keywords": [ 49 "keywords": [
71 "readable", 50 "readable",
72 "stream", 51 "stream",
73 "pipe" 52 "pipe"
74 ], 53 ],
75 - "license": "MIT", 54 + "browser": {
76 - "main": "readable.js", 55 + "util": false,
77 - "name": "readable-stream", 56 + "worker_threads": false,
57 + "./errors": "./errors-browser.js",
58 + "./readable.js": "./readable-browser.js",
59 + "./lib/internal/streams/from.js": "./lib/internal/streams/from-browser.js",
60 + "./lib/internal/streams/stream.js": "./lib/internal/streams/stream-browser.js"
61 + },
78 "nyc": { 62 "nyc": {
79 "include": [ 63 "include": [
80 "lib/**.js" 64 "lib/**.js"
81 ] 65 ]
82 }, 66 },
83 - "repository": { 67 + "license": "MIT"
84 - "type": "git",
85 - "url": "git://github.com/nodejs/readable-stream.git"
86 - },
87 - "scripts": {
88 - "ci": "TAP=1 tap --no-esm test/parallel/*.js test/ours/*.js | tee test.tap",
89 - "cover": "nyc npm test",
90 - "report": "nyc report --reporter=lcov",
91 - "test": "tap -J --no-esm test/parallel/*.js test/ours/*.js",
92 - "test-browser-local": "airtap --open --local -- test/browser.js",
93 - "test-browsers": "airtap --sauce-connect --loopback airtap.local -- test/browser.js",
94 - "update-browser-errors": "babel -o errors-browser.js errors.js"
95 - },
96 - "version": "3.6.0"
97 } 68 }
......
1 { 1 {
2 - "_from": "bl@^4.0.3",
3 - "_id": "bl@4.1.0",
4 - "_inBundle": false,
5 - "_integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==",
6 - "_location": "/bl",
7 - "_phantomChildren": {
8 - "string_decoder": "1.1.1",
9 - "util-deprecate": "1.0.2"
10 - },
11 - "_requested": {
12 - "type": "range",
13 - "registry": true,
14 - "raw": "bl@^4.0.3",
15 "name": "bl", 2 "name": "bl",
16 - "escapedName": "bl", 3 + "version": "4.1.0",
17 - "rawSpec": "^4.0.3", 4 + "description": "Buffer List: collect buffers and access with a standard readable Buffer interface, streamable too!",
18 - "saveSpec": null, 5 + "license": "MIT",
19 - "fetchSpec": "^4.0.3" 6 + "main": "bl.js",
7 + "scripts": {
8 + "lint": "standard *.js test/*.js",
9 + "test": "npm run lint && node test/test.js | faucet"
20 }, 10 },
21 - "_requiredBy": [ 11 + "repository": {
22 - "/tar-stream" 12 + "type": "git",
23 - ], 13 + "url": "https://github.com/rvagg/bl.git"
24 - "_resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", 14 + },
25 - "_shasum": "451535264182bec2fbbc83a62ab98cf11d9f7b3a", 15 + "homepage": "https://github.com/rvagg/bl",
26 - "_spec": "bl@^4.0.3",
27 - "_where": "C:\\Users\\bshoo\\Desktop\\OSS\\Singer-Composer\\node_modules\\tar-stream",
28 "authors": [ 16 "authors": [
29 "Rod Vagg <rod@vagg.org> (https://github.com/rvagg)", 17 "Rod Vagg <rod@vagg.org> (https://github.com/rvagg)",
30 "Matteo Collina <matteo.collina@gmail.com> (https://github.com/mcollina)", 18 "Matteo Collina <matteo.collina@gmail.com> (https://github.com/mcollina)",
31 "Jarett Cruger <jcrugzz@gmail.com> (https://github.com/jcrugzz)" 19 "Jarett Cruger <jcrugzz@gmail.com> (https://github.com/jcrugzz)"
32 ], 20 ],
33 - "bugs": { 21 + "keywords": [
34 - "url": "https://github.com/rvagg/bl/issues" 22 + "buffer",
35 - }, 23 + "buffers",
36 - "bundleDependencies": false, 24 + "stream",
25 + "awesomesauce"
26 + ],
37 "dependencies": { 27 "dependencies": {
38 "buffer": "^5.5.0", 28 "buffer": "^5.5.0",
39 "inherits": "^2.0.4", 29 "inherits": "^2.0.4",
40 "readable-stream": "^3.4.0" 30 "readable-stream": "^3.4.0"
41 }, 31 },
42 - "deprecated": false,
43 - "description": "Buffer List: collect buffers and access with a standard readable Buffer interface, streamable too!",
44 "devDependencies": { 32 "devDependencies": {
45 "faucet": "~0.0.1", 33 "faucet": "~0.0.1",
46 "standard": "^14.3.0", 34 "standard": "^14.3.0",
47 "tape": "^4.11.0" 35 "tape": "^4.11.0"
48 - }, 36 + }
49 - "homepage": "https://github.com/rvagg/bl",
50 - "keywords": [
51 - "buffer",
52 - "buffers",
53 - "stream",
54 - "awesomesauce"
55 - ],
56 - "license": "MIT",
57 - "main": "bl.js",
58 - "name": "bl",
59 - "repository": {
60 - "type": "git",
61 - "url": "git+https://github.com/rvagg/bl.git"
62 - },
63 - "scripts": {
64 - "lint": "standard *.js test/*.js",
65 - "test": "npm run lint && node test/test.js | faucet"
66 - },
67 - "version": "4.1.0"
68 } 37 }
......
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
1 { 1 {
2 - "_from": "chownr@^1.1.1", 2 + "author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)",
3 - "_id": "chownr@1.1.4",
4 - "_inBundle": false,
5 - "_integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==",
6 - "_location": "/chownr",
7 - "_phantomChildren": {},
8 - "_requested": {
9 - "type": "range",
10 - "registry": true,
11 - "raw": "chownr@^1.1.1",
12 "name": "chownr", 3 "name": "chownr",
13 - "escapedName": "chownr", 4 + "description": "like `chown -R`",
14 - "rawSpec": "^1.1.1", 5 + "version": "1.1.4",
15 - "saveSpec": null, 6 + "repository": {
16 - "fetchSpec": "^1.1.1" 7 + "type": "git",
8 + "url": "git://github.com/isaacs/chownr.git"
17 }, 9 },
18 - "_requiredBy": [ 10 + "main": "chownr.js",
19 - "/tar-fs" 11 + "files": [
12 + "chownr.js"
20 ], 13 ],
21 - "_resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz",
22 - "_shasum": "6fc9d7b42d32a583596337666e7d08084da2cc6b",
23 - "_spec": "chownr@^1.1.1",
24 - "_where": "C:\\Users\\bshoo\\Desktop\\OSS\\Singer-Composer\\node_modules\\tar-fs",
25 - "author": {
26 - "name": "Isaac Z. Schlueter",
27 - "email": "i@izs.me",
28 - "url": "http://blog.izs.me/"
29 - },
30 - "bugs": {
31 - "url": "https://github.com/isaacs/chownr/issues"
32 - },
33 - "bundleDependencies": false,
34 - "deprecated": false,
35 - "description": "like `chown -R`",
36 "devDependencies": { 14 "devDependencies": {
37 "mkdirp": "0.3", 15 "mkdirp": "0.3",
38 "rimraf": "^2.7.1", 16 "rimraf": "^2.7.1",
39 "tap": "^14.10.6" 17 "tap": "^14.10.6"
40 }, 18 },
41 - "files": [ 19 + "tap": {
42 - "chownr.js" 20 + "check-coverage": true
43 - ],
44 - "homepage": "https://github.com/isaacs/chownr#readme",
45 - "license": "ISC",
46 - "main": "chownr.js",
47 - "name": "chownr",
48 - "repository": {
49 - "type": "git",
50 - "url": "git://github.com/isaacs/chownr.git"
51 }, 21 },
52 "scripts": { 22 "scripts": {
53 - "postversion": "npm publish", 23 + "test": "tap",
54 - "prepublishOnly": "git push origin --follow-tags",
55 "preversion": "npm test", 24 "preversion": "npm test",
56 - "test": "tap" 25 + "postversion": "npm publish",
57 - }, 26 + "prepublishOnly": "git push origin --follow-tags"
58 - "tap": {
59 - "check-coverage": true
60 }, 27 },
61 - "version": "1.1.4" 28 + "license": "ISC"
62 } 29 }
......
1 { 1 {
2 - "_from": "code-point-at@^1.0.0",
3 - "_id": "code-point-at@1.1.0",
4 - "_inBundle": false,
5 - "_integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=",
6 - "_location": "/code-point-at",
7 - "_phantomChildren": {},
8 - "_requested": {
9 - "type": "range",
10 - "registry": true,
11 - "raw": "code-point-at@^1.0.0",
12 "name": "code-point-at", 2 "name": "code-point-at",
13 - "escapedName": "code-point-at", 3 + "version": "1.1.0",
14 - "rawSpec": "^1.0.0", 4 + "description": "ES2015 `String#codePointAt()` ponyfill",
15 - "saveSpec": null, 5 + "license": "MIT",
16 - "fetchSpec": "^1.0.0" 6 + "repository": "sindresorhus/code-point-at",
17 - },
18 - "_requiredBy": [
19 - "/string-width"
20 - ],
21 - "_resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz",
22 - "_shasum": "0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77",
23 - "_spec": "code-point-at@^1.0.0",
24 - "_where": "C:\\Users\\bshoo\\Desktop\\OSS\\Singer-Composer\\node_modules\\string-width",
25 "author": { 7 "author": {
26 "name": "Sindre Sorhus", 8 "name": "Sindre Sorhus",
27 "email": "sindresorhus@gmail.com", 9 "email": "sindresorhus@gmail.com",
28 "url": "sindresorhus.com" 10 "url": "sindresorhus.com"
29 }, 11 },
30 - "bugs": {
31 - "url": "https://github.com/sindresorhus/code-point-at/issues"
32 - },
33 - "bundleDependencies": false,
34 - "deprecated": false,
35 - "description": "ES2015 `String#codePointAt()` ponyfill",
36 - "devDependencies": {
37 - "ava": "*",
38 - "xo": "^0.16.0"
39 - },
40 "engines": { 12 "engines": {
41 "node": ">=0.10.0" 13 "node": ">=0.10.0"
42 }, 14 },
15 + "scripts": {
16 + "test": "xo && ava"
17 + },
43 "files": [ 18 "files": [
44 "index.js" 19 "index.js"
45 ], 20 ],
46 - "homepage": "https://github.com/sindresorhus/code-point-at#readme",
47 "keywords": [ 21 "keywords": [
48 "es2015", 22 "es2015",
49 "ponyfill", 23 "ponyfill",
...@@ -57,14 +31,8 @@ ...@@ -57,14 +31,8 @@
57 "codepoint", 31 "codepoint",
58 "unicode" 32 "unicode"
59 ], 33 ],
60 - "license": "MIT", 34 + "devDependencies": {
61 - "name": "code-point-at", 35 + "ava": "*",
62 - "repository": { 36 + "xo": "^0.16.0"
63 - "type": "git", 37 + }
64 - "url": "git+https://github.com/sindresorhus/code-point-at.git"
65 - },
66 - "scripts": {
67 - "test": "xo && ava"
68 - },
69 - "version": "1.1.0"
70 } 38 }
......
File mode changed
File mode changed
File mode changed
File mode changed
1 -# 0.4.0
2 -
3 -- Changed: Invalid conversions now return `null` instead of `undefined`
4 -- Changed: Moved to XO standard
5 -- Fixed: a few details in package.json
6 -- Fixed: readme output regarding wrapped hue values ([#21](https://github.com/MoOx/color-string/pull/21))
7 -
8 -# 0.3.0
9 -
10 -- Fixed: HSL alpha channel ([#16](https://github.com/harthur/color-string/pull/16))
11 -- Fixed: ability to parse signed number ([#15](https://github.com/harthur/color-string/pull/15))
12 -- Removed: component.json
13 -- Removed: browser build
14 -- Added: license field to package.json ([#17](https://github.com/harthur/color-string/pull/17))
15 -
16 ----
17 -
18 -Check out commit logs for earlier releases
File mode changed
1 # color-string 1 # color-string
2 2
3 -[![Build Status](https://travis-ci.org/Qix-/color-string.svg?branch=master)](https://travis-ci.org/Qix-/color-string)
4 -
5 > library for parsing and generating CSS color strings. 3 > library for parsing and generating CSS color strings.
6 4
7 ## Install 5 ## Install
...@@ -27,7 +25,10 @@ colorString.get('hwb(60, 3%, 60%)') // {model: 'hwb', value: [60, 3 ...@@ -27,7 +25,10 @@ colorString.get('hwb(60, 3%, 60%)') // {model: 'hwb', value: [60, 3
27 colorString.get.rgb('#FFF') // [255, 255, 255, 1] 25 colorString.get.rgb('#FFF') // [255, 255, 255, 1]
28 colorString.get.rgb('blue') // [0, 0, 255, 1] 26 colorString.get.rgb('blue') // [0, 0, 255, 1]
29 colorString.get.rgb('rgba(200, 60, 60, 0.3)') // [200, 60, 60, 0.3] 27 colorString.get.rgb('rgba(200, 60, 60, 0.3)') // [200, 60, 60, 0.3]
28 +colorString.get.rgb('rgba(200 60 60 / 0.3)') // [200, 60, 60, 0.3]
29 +colorString.get.rgb('rgba(200 60 60 / 30%)') // [200, 60, 60, 0.3]
30 colorString.get.rgb('rgb(200, 200, 200)') // [200, 200, 200, 1] 30 colorString.get.rgb('rgb(200, 200, 200)') // [200, 200, 200, 1]
31 +colorString.get.rgb('rgb(200 200 200)') // [200, 200, 200, 1]
31 32
32 colorString.get.hsl('hsl(360, 100%, 50%)') // [0, 100, 50, 1] 33 colorString.get.hsl('hsl(360, 100%, 50%)') // [0, 100, 50, 1]
33 colorString.get.hsl('hsl(360 100% 50%)') // [0, 100, 50, 1] 34 colorString.get.hsl('hsl(360 100% 50%)') // [0, 100, 50, 1]
......
1 /* MIT license */ 1 /* MIT license */
2 var colorNames = require('color-name'); 2 var colorNames = require('color-name');
3 var swizzle = require('simple-swizzle'); 3 var swizzle = require('simple-swizzle');
4 +var hasOwnProperty = Object.hasOwnProperty;
4 5
5 var reverseNames = {}; 6 var reverseNames = {};
6 7
7 // create a list of reverse color names 8 // create a list of reverse color names
8 for (var name in colorNames) { 9 for (var name in colorNames) {
9 - if (colorNames.hasOwnProperty(name)) { 10 + if (hasOwnProperty.call(colorNames, name)) {
10 reverseNames[colorNames[name]] = name; 11 reverseNames[colorNames[name]] = name;
11 } 12 }
12 } 13 }
...@@ -49,9 +50,9 @@ cs.get.rgb = function (string) { ...@@ -49,9 +50,9 @@ cs.get.rgb = function (string) {
49 50
50 var abbr = /^#([a-f0-9]{3,4})$/i; 51 var abbr = /^#([a-f0-9]{3,4})$/i;
51 var hex = /^#([a-f0-9]{6})([a-f0-9]{2})?$/i; 52 var hex = /^#([a-f0-9]{6})([a-f0-9]{2})?$/i;
52 - var rgba = /^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/; 53 + var rgba = /^rgba?\(\s*([+-]?\d+)\s*,?\s*([+-]?\d+)\s*,?\s*([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/;
53 - var per = /^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/; 54 + var per = /^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/;
54 - var keyword = /(\D+)/; 55 + var keyword = /(\w+)/;
55 56
56 var rgb = [0, 0, 0, 1]; 57 var rgb = [0, 0, 0, 1];
57 var match; 58 var match;
...@@ -88,27 +89,34 @@ cs.get.rgb = function (string) { ...@@ -88,27 +89,34 @@ cs.get.rgb = function (string) {
88 } 89 }
89 90
90 if (match[4]) { 91 if (match[4]) {
92 + if (match[5]) {
93 + rgb[3] = parseInt(match[4], 0) * 0.01;
94 + } else {
91 rgb[3] = parseFloat(match[4]); 95 rgb[3] = parseFloat(match[4]);
92 } 96 }
97 + }
93 } else if (match = string.match(per)) { 98 } else if (match = string.match(per)) {
94 for (i = 0; i < 3; i++) { 99 for (i = 0; i < 3; i++) {
95 rgb[i] = Math.round(parseFloat(match[i + 1]) * 2.55); 100 rgb[i] = Math.round(parseFloat(match[i + 1]) * 2.55);
96 } 101 }
97 102
98 if (match[4]) { 103 if (match[4]) {
104 + if (match[5]) {
105 + rgb[3] = parseInt(match[4], 0) * 0.01;
106 + } else {
99 rgb[3] = parseFloat(match[4]); 107 rgb[3] = parseFloat(match[4]);
100 } 108 }
109 + }
101 } else if (match = string.match(keyword)) { 110 } else if (match = string.match(keyword)) {
102 if (match[1] === 'transparent') { 111 if (match[1] === 'transparent') {
103 return [0, 0, 0, 0]; 112 return [0, 0, 0, 0];
104 } 113 }
105 114
106 - rgb = colorNames[match[1]]; 115 + if (!hasOwnProperty.call(colorNames, match[1])) {
107 -
108 - if (!rgb) {
109 return null; 116 return null;
110 } 117 }
111 118
119 + rgb = colorNames[match[1]];
112 rgb[3] = 1; 120 rgb[3] = 1;
113 121
114 return rgb; 122 return rgb;
...@@ -134,7 +142,7 @@ cs.get.hsl = function (string) { ...@@ -134,7 +142,7 @@ cs.get.hsl = function (string) {
134 142
135 if (match) { 143 if (match) {
136 var alpha = parseFloat(match[4]); 144 var alpha = parseFloat(match[4]);
137 - var h = (parseFloat(match[1]) + 360) % 360; 145 + var h = ((parseFloat(match[1]) % 360) + 360) % 360;
138 var s = clamp(parseFloat(match[2]), 0, 100); 146 var s = clamp(parseFloat(match[2]), 0, 100);
139 var l = clamp(parseFloat(match[3]), 0, 100); 147 var l = clamp(parseFloat(match[3]), 0, 100);
140 var a = clamp(isNaN(alpha) ? 1 : alpha, 0, 1); 148 var a = clamp(isNaN(alpha) ? 1 : alpha, 0, 1);
...@@ -229,6 +237,6 @@ function clamp(num, min, max) { ...@@ -229,6 +237,6 @@ function clamp(num, min, max) {
229 } 237 }
230 238
231 function hexDouble(num) { 239 function hexDouble(num) {
232 - var str = num.toString(16).toUpperCase(); 240 + var str = Math.round(num).toString(16).toUpperCase();
233 return (str.length < 2) ? '0' + str : str; 241 return (str.length < 2) ? '0' + str : str;
234 } 242 }
......
1 { 1 {
2 - "_from": "color-string@^1.6.0",
3 - "_id": "color-string@1.6.0",
4 - "_inBundle": false,
5 - "_integrity": "sha512-c/hGS+kRWJutUBEngKKmk4iH3sD59MBkoxVapS/0wgpCz2u7XsNloxknyvBhzwEs1IbV36D9PwqLPJ2DTu3vMA==",
6 - "_location": "/color-string",
7 - "_phantomChildren": {},
8 - "_requested": {
9 - "type": "range",
10 - "registry": true,
11 - "raw": "color-string@^1.6.0",
12 "name": "color-string", 2 "name": "color-string",
13 - "escapedName": "color-string", 3 + "description": "Parser and generator for CSS color strings",
14 - "rawSpec": "^1.6.0", 4 + "version": "1.7.4",
15 - "saveSpec": null, 5 + "author": "Heather Arthur <fayearthur@gmail.com>",
16 - "fetchSpec": "^1.6.0"
17 - },
18 - "_requiredBy": [
19 - "/color"
20 - ],
21 - "_resolved": "https://registry.npmjs.org/color-string/-/color-string-1.6.0.tgz",
22 - "_shasum": "c3915f61fe267672cb7e1e064c9d692219f6c312",
23 - "_spec": "color-string@^1.6.0",
24 - "_where": "C:\\Users\\bshoo\\Desktop\\OSS\\Singer-Composer\\node_modules\\color",
25 - "author": {
26 - "name": "Heather Arthur",
27 - "email": "fayearthur@gmail.com"
28 - },
29 - "bugs": {
30 - "url": "https://github.com/Qix-/color-string/issues"
31 - },
32 - "bundleDependencies": false,
33 "contributors": [ 6 "contributors": [
34 - { 7 + "Maxime Thirouin",
35 - "name": "Maxime Thirouin" 8 + "Dyma Ywanov <dfcreative@gmail.com>",
36 - }, 9 + "Josh Junon"
37 - { 10 + ],
38 - "name": "Dyma Ywanov", 11 + "repository": "Qix-/color-string",
39 - "email": "dfcreative@gmail.com" 12 + "scripts": {
13 + "pretest": "xo",
14 + "test": "node test/basic.js"
40 }, 15 },
41 - { 16 + "license": "MIT",
42 - "name": "Josh Junon" 17 + "files": [
43 - } 18 + "index.js"
44 ], 19 ],
20 + "xo": {
21 + "rules": {
22 + "no-cond-assign": 0,
23 + "operator-linebreak": 0
24 + }
25 + },
45 "dependencies": { 26 "dependencies": {
46 "color-name": "^1.0.0", 27 "color-name": "^1.0.0",
47 "simple-swizzle": "^0.2.2" 28 "simple-swizzle": "^0.2.2"
48 }, 29 },
49 - "deprecated": false,
50 - "description": "Parser and generator for CSS color strings",
51 "devDependencies": { 30 "devDependencies": {
52 "xo": "^0.12.1" 31 "xo": "^0.12.1"
53 }, 32 },
54 - "files": [
55 - "index.js"
56 - ],
57 - "homepage": "https://github.com/Qix-/color-string#readme",
58 "keywords": [ 33 "keywords": [
59 "color", 34 "color",
60 "colour", 35 "colour",
61 "rgb", 36 "rgb",
62 "css" 37 "css"
63 - ], 38 + ]
64 - "license": "MIT",
65 - "name": "color-string",
66 - "repository": {
67 - "type": "git",
68 - "url": "git+https://github.com/Qix-/color-string.git"
69 - },
70 - "scripts": {
71 - "pretest": "xo",
72 - "test": "node test/basic.js"
73 - },
74 - "version": "1.6.0",
75 - "xo": {
76 - "rules": {
77 - "no-cond-assign": 0,
78 - "operator-linebreak": 0
79 - }
80 - }
81 } 39 }
......
File mode changed
1 -# color [![Build Status](https://travis-ci.org/Qix-/color.svg?branch=master)](https://travis-ci.org/Qix-/color) 1 +# color
2 2
3 > JavaScript library for immutable color conversion and manipulation with support for CSS color strings. 3 > JavaScript library for immutable color conversion and manipulation with support for CSS color strings.
4 4
......
File mode changed
1 { 1 {
2 - "_from": "color-convert@^2.0.1",
3 - "_id": "color-convert@2.0.1",
4 - "_inBundle": false,
5 - "_integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
6 - "_location": "/color/color-convert",
7 - "_phantomChildren": {},
8 - "_requested": {
9 - "type": "range",
10 - "registry": true,
11 - "raw": "color-convert@^2.0.1",
12 "name": "color-convert", 2 "name": "color-convert",
13 - "escapedName": "color-convert",
14 - "rawSpec": "^2.0.1",
15 - "saveSpec": null,
16 - "fetchSpec": "^2.0.1"
17 - },
18 - "_requiredBy": [
19 - "/color"
20 - ],
21 - "_resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
22 - "_shasum": "72d3a68d598c9bdb3af2ad1e84f21d896abd4de3",
23 - "_spec": "color-convert@^2.0.1",
24 - "_where": "C:\\Users\\bshoo\\Desktop\\OSS\\Singer-Composer\\node_modules\\color",
25 - "author": {
26 - "name": "Heather Arthur",
27 - "email": "fayearthur@gmail.com"
28 - },
29 - "bugs": {
30 - "url": "https://github.com/Qix-/color-convert/issues"
31 - },
32 - "bundleDependencies": false,
33 - "dependencies": {
34 - "color-name": "~1.1.4"
35 - },
36 - "deprecated": false,
37 "description": "Plain color conversion functions", 3 "description": "Plain color conversion functions",
38 - "devDependencies": { 4 + "version": "2.0.1",
39 - "chalk": "^2.4.2", 5 + "author": "Heather Arthur <fayearthur@gmail.com>",
40 - "xo": "^0.24.0" 6 + "license": "MIT",
7 + "repository": "Qix-/color-convert",
8 + "scripts": {
9 + "pretest": "xo",
10 + "test": "node test/basic.js"
41 }, 11 },
42 "engines": { 12 "engines": {
43 "node": ">=7.0.0" 13 "node": ">=7.0.0"
44 }, 14 },
45 - "files": [
46 - "index.js",
47 - "conversions.js",
48 - "route.js"
49 - ],
50 - "homepage": "https://github.com/Qix-/color-convert#readme",
51 "keywords": [ 15 "keywords": [
52 "color", 16 "color",
53 "colour", 17 "colour",
...@@ -62,22 +26,23 @@ ...@@ -62,22 +26,23 @@
62 "ansi", 26 "ansi",
63 "ansi16" 27 "ansi16"
64 ], 28 ],
65 - "license": "MIT", 29 + "files": [
66 - "name": "color-convert", 30 + "index.js",
67 - "repository": { 31 + "conversions.js",
68 - "type": "git", 32 + "route.js"
69 - "url": "git+https://github.com/Qix-/color-convert.git" 33 + ],
70 - },
71 - "scripts": {
72 - "pretest": "xo",
73 - "test": "node test/basic.js"
74 - },
75 - "version": "2.0.1",
76 "xo": { 34 "xo": {
77 "rules": { 35 "rules": {
78 "default-case": 0, 36 "default-case": 0,
79 "no-inline-comments": 0, 37 "no-inline-comments": 0,
80 "operator-linebreak": 0 38 "operator-linebreak": 0
81 } 39 }
40 + },
41 + "devDependencies": {
42 + "chalk": "^2.4.2",
43 + "xo": "^0.24.0"
44 + },
45 + "dependencies": {
46 + "color-name": "~1.1.4"
82 } 47 }
83 } 48 }
......
1 { 1 {
2 - "_from": "color-name@~1.1.4",
3 - "_id": "color-name@1.1.4",
4 - "_inBundle": false,
5 - "_integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
6 - "_location": "/color/color-name",
7 - "_phantomChildren": {},
8 - "_requested": {
9 - "type": "range",
10 - "registry": true,
11 - "raw": "color-name@~1.1.4",
12 "name": "color-name", 2 "name": "color-name",
13 - "escapedName": "color-name", 3 + "version": "1.1.4",
14 - "rawSpec": "~1.1.4",
15 - "saveSpec": null,
16 - "fetchSpec": "~1.1.4"
17 - },
18 - "_requiredBy": [
19 - "/color/color-convert"
20 - ],
21 - "_resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
22 - "_shasum": "c2a09a87acbde69543de6f63fa3995c826c536a2",
23 - "_spec": "color-name@~1.1.4",
24 - "_where": "C:\\Users\\bshoo\\Desktop\\OSS\\Singer-Composer\\node_modules\\color\\node_modules\\color-convert",
25 - "author": {
26 - "name": "DY",
27 - "email": "dfcreative@gmail.com"
28 - },
29 - "bugs": {
30 - "url": "https://github.com/colorjs/color-name/issues"
31 - },
32 - "bundleDependencies": false,
33 - "deprecated": false,
34 "description": "A list of color names and its values", 4 "description": "A list of color names and its values",
5 + "main": "index.js",
35 "files": [ 6 "files": [
36 "index.js" 7 "index.js"
37 ], 8 ],
38 - "homepage": "https://github.com/colorjs/color-name", 9 + "scripts": {
10 + "test": "node test.js"
11 + },
12 + "repository": {
13 + "type": "git",
14 + "url": "git@github.com:colorjs/color-name.git"
15 + },
39 "keywords": [ 16 "keywords": [
40 "color-name", 17 "color-name",
41 "color", 18 "color",
42 "color-keyword", 19 "color-keyword",
43 "keyword" 20 "keyword"
44 ], 21 ],
22 + "author": "DY <dfcreative@gmail.com>",
45 "license": "MIT", 23 "license": "MIT",
46 - "main": "index.js", 24 + "bugs": {
47 - "name": "color-name", 25 + "url": "https://github.com/colorjs/color-name/issues"
48 - "repository": {
49 - "type": "git",
50 - "url": "git+ssh://git@github.com/colorjs/color-name.git"
51 - },
52 - "scripts": {
53 - "test": "node test.js"
54 }, 26 },
55 - "version": "1.1.4" 27 + "homepage": "https://github.com/colorjs/color-name"
56 } 28 }
......
1 { 1 {
2 - "_from": "color@^4.0.1",
3 - "_id": "color@4.0.1",
4 - "_inBundle": false,
5 - "_integrity": "sha512-rpZjOKN5O7naJxkH2Rx1sZzzBgaiWECc6BYXjeCE6kF0kcASJYbUq02u7JqIHwCb/j3NhV+QhRL2683aICeGZA==",
6 - "_location": "/color",
7 - "_phantomChildren": {},
8 - "_requested": {
9 - "type": "range",
10 - "registry": true,
11 - "raw": "color@^4.0.1",
12 "name": "color", 2 "name": "color",
13 - "escapedName": "color", 3 + "version": "4.0.2",
14 - "rawSpec": "^4.0.1",
15 - "saveSpec": null,
16 - "fetchSpec": "^4.0.1"
17 - },
18 - "_requiredBy": [
19 - "/sharp"
20 - ],
21 - "_resolved": "https://registry.npmjs.org/color/-/color-4.0.1.tgz",
22 - "_shasum": "21df44cd10245a91b1ccf5ba031609b0e10e7d67",
23 - "_spec": "color@^4.0.1",
24 - "_where": "C:\\Users\\bshoo\\Desktop\\OSS\\Singer-Composer\\node_modules\\sharp",
25 - "authors": [
26 - "Josh Junon <josh@junon.me>",
27 - "Heather Arthur <fayearthur@gmail.com>",
28 - "Maxime Thirouin"
29 - ],
30 - "bugs": {
31 - "url": "https://github.com/Qix-/color/issues"
32 - },
33 - "bundleDependencies": false,
34 - "dependencies": {
35 - "color-convert": "^2.0.1",
36 - "color-string": "^1.6.0"
37 - },
38 - "deprecated": false,
39 "description": "Color conversion and manipulation with CSS string support", 4 "description": "Color conversion and manipulation with CSS string support",
40 - "devDependencies": {
41 - "mocha": "9.0.2",
42 - "xo": "0.42.0"
43 - },
44 - "files": [
45 - "LICENSE",
46 - "index.js"
47 - ],
48 - "homepage": "https://github.com/Qix-/color#readme",
49 "keywords": [ 5 "keywords": [
50 "color", 6 "color",
51 "colour", 7 "colour",
52 "css" 8 "css"
53 ], 9 ],
10 + "authors": [
11 + "Josh Junon <josh@junon.me>",
12 + "Heather Arthur <fayearthur@gmail.com>",
13 + "Maxime Thirouin"
14 + ],
54 "license": "MIT", 15 "license": "MIT",
55 - "name": "color", 16 + "repository": "Qix-/color",
56 - "repository": {
57 - "type": "git",
58 - "url": "git+https://github.com/Qix-/color.git"
59 - },
60 - "scripts": {
61 - "pretest": "xo",
62 - "test": "mocha"
63 - },
64 - "version": "4.0.1",
65 "xo": { 17 "xo": {
66 "rules": { 18 "rules": {
67 "no-cond-assign": 0, 19 "no-cond-assign": 0,
...@@ -70,5 +22,21 @@ ...@@ -70,5 +22,21 @@
70 "no-mixed-operators": 0, 22 "no-mixed-operators": 0,
71 "complexity": 0 23 "complexity": 0
72 } 24 }
25 + },
26 + "files": [
27 + "LICENSE",
28 + "index.js"
29 + ],
30 + "scripts": {
31 + "pretest": "xo",
32 + "test": "mocha"
33 + },
34 + "dependencies": {
35 + "color-convert": "^2.0.1",
36 + "color-string": "^1.7.4"
37 + },
38 + "devDependencies": {
39 + "mocha": "9.0.2",
40 + "xo": "0.42.0"
73 } 41 }
74 } 42 }
......
File mode changed
File mode changed
1 { 1 {
2 - "_from": "console-control-strings@~1.1.0",
3 - "_id": "console-control-strings@1.1.0",
4 - "_inBundle": false,
5 - "_integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=",
6 - "_location": "/console-control-strings",
7 - "_phantomChildren": {},
8 - "_requested": {
9 - "type": "range",
10 - "registry": true,
11 - "raw": "console-control-strings@~1.1.0",
12 "name": "console-control-strings", 2 "name": "console-control-strings",
13 - "escapedName": "console-control-strings", 3 + "version": "1.1.0",
14 - "rawSpec": "~1.1.0",
15 - "saveSpec": null,
16 - "fetchSpec": "~1.1.0"
17 - },
18 - "_requiredBy": [
19 - "/gauge",
20 - "/npmlog"
21 - ],
22 - "_resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz",
23 - "_shasum": "3d7cf4464db6446ea644bf4b39507f9851008e8e",
24 - "_spec": "console-control-strings@~1.1.0",
25 - "_where": "C:\\Users\\bshoo\\Desktop\\OSS\\Singer-Composer\\node_modules\\npmlog",
26 - "author": {
27 - "name": "Rebecca Turner",
28 - "email": "me@re-becca.org",
29 - "url": "http://re-becca.org/"
30 - },
31 - "bugs": {
32 - "url": "https://github.com/iarna/console-control-strings/issues"
33 - },
34 - "bundleDependencies": false,
35 - "deprecated": false,
36 "description": "A library of cross-platform tested terminal/console command strings for doing things like color and cursor positioning. This is a subset of both ansi and vt100. All control codes included work on both Windows & Unix-like OSes, except where noted.", 4 "description": "A library of cross-platform tested terminal/console command strings for doing things like color and cursor positioning. This is a subset of both ansi and vt100. All control codes included work on both Windows & Unix-like OSes, except where noted.",
37 - "devDependencies": { 5 + "main": "index.js",
38 - "standard": "^7.1.2",
39 - "tap": "^5.7.2"
40 - },
41 "directories": { 6 "directories": {
42 "test": "test" 7 "test": "test"
43 }, 8 },
9 + "scripts": {
10 + "test": "standard && tap test/*.js"
11 + },
12 + "repository": {
13 + "type": "git",
14 + "url": "https://github.com/iarna/console-control-strings"
15 + },
16 + "keywords": [],
17 + "author": "Rebecca Turner <me@re-becca.org> (http://re-becca.org/)",
18 + "license": "ISC",
44 "files": [ 19 "files": [
45 "LICENSE", 20 "LICENSE",
46 "index.js" 21 "index.js"
47 ], 22 ],
48 - "homepage": "https://github.com/iarna/console-control-strings#readme", 23 + "devDependencies": {
49 - "keywords": [], 24 + "standard": "^7.1.2",
50 - "license": "ISC", 25 + "tap": "^5.7.2"
51 - "main": "index.js", 26 + }
52 - "name": "console-control-strings",
53 - "repository": {
54 - "type": "git",
55 - "url": "git+https://github.com/iarna/console-control-strings.git"
56 - },
57 - "scripts": {
58 - "test": "standard && tap test/*.js"
59 - },
60 - "version": "1.1.0"
61 } 27 }
......
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
1 { 1 {
2 - "_from": "decompress-response@^6.0.0",
3 - "_id": "decompress-response@6.0.0",
4 - "_inBundle": false,
5 - "_integrity": "sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ==",
6 - "_location": "/decompress-response",
7 - "_phantomChildren": {},
8 - "_requested": {
9 - "type": "range",
10 - "registry": true,
11 - "raw": "decompress-response@^6.0.0",
12 "name": "decompress-response", 2 "name": "decompress-response",
13 - "escapedName": "decompress-response", 3 + "version": "6.0.0",
14 - "rawSpec": "^6.0.0", 4 + "description": "Decompress a HTTP response if needed",
15 - "saveSpec": null, 5 + "license": "MIT",
16 - "fetchSpec": "^6.0.0" 6 + "repository": "sindresorhus/decompress-response",
17 - }, 7 + "funding": "https://github.com/sponsors/sindresorhus",
18 - "_requiredBy": [
19 - "/simple-get"
20 - ],
21 - "_resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-6.0.0.tgz",
22 - "_shasum": "ca387612ddb7e104bd16d85aab00d5ecf09c66fc",
23 - "_spec": "decompress-response@^6.0.0",
24 - "_where": "C:\\Users\\bshoo\\Desktop\\OSS\\Singer-Composer\\node_modules\\simple-get",
25 "author": { 8 "author": {
26 "name": "Sindre Sorhus", 9 "name": "Sindre Sorhus",
27 "email": "sindresorhus@gmail.com", 10 "email": "sindresorhus@gmail.com",
28 "url": "https://sindresorhus.com" 11 "url": "https://sindresorhus.com"
29 }, 12 },
30 - "bugs": {
31 - "url": "https://github.com/sindresorhus/decompress-response/issues"
32 - },
33 - "bundleDependencies": false,
34 - "dependencies": {
35 - "mimic-response": "^3.1.0"
36 - },
37 - "deprecated": false,
38 - "description": "Decompress a HTTP response if needed",
39 - "devDependencies": {
40 - "@types/node": "^14.0.1",
41 - "ava": "^2.2.0",
42 - "get-stream": "^5.0.0",
43 - "pify": "^5.0.0",
44 - "tsd": "^0.11.0",
45 - "xo": "^0.30.0"
46 - },
47 "engines": { 13 "engines": {
48 "node": ">=10" 14 "node": ">=10"
49 }, 15 },
16 + "scripts": {
17 + "test": "xo && ava && tsd"
18 + },
50 "files": [ 19 "files": [
51 "index.js", 20 "index.js",
52 "index.d.ts" 21 "index.d.ts"
53 ], 22 ],
54 - "funding": "https://github.com/sponsors/sindresorhus",
55 - "homepage": "https://github.com/sindresorhus/decompress-response#readme",
56 "keywords": [ 23 "keywords": [
57 "decompress", 24 "decompress",
58 "response", 25 "response",
...@@ -70,16 +37,17 @@ ...@@ -70,16 +37,17 @@
70 "compressed", 37 "compressed",
71 "brotli" 38 "brotli"
72 ], 39 ],
73 - "license": "MIT", 40 + "dependencies": {
74 - "name": "decompress-response", 41 + "mimic-response": "^3.1.0"
75 - "repository": {
76 - "type": "git",
77 - "url": "git+https://github.com/sindresorhus/decompress-response.git"
78 }, 42 },
79 - "scripts": { 43 + "devDependencies": {
80 - "test": "xo && ava && tsd" 44 + "@types/node": "^14.0.1",
45 + "ava": "^2.2.0",
46 + "get-stream": "^5.0.0",
47 + "pify": "^5.0.0",
48 + "tsd": "^0.11.0",
49 + "xo": "^0.30.0"
81 }, 50 },
82 - "version": "6.0.0",
83 "xo": { 51 "xo": {
84 "rules": { 52 "rules": {
85 "@typescript-eslint/prefer-readonly-parameter-types": "off" 53 "@typescript-eslint/prefer-readonly-parameter-types": "off"
......
File mode changed
File mode changed
1 { 1 {
2 - "_from": "deep-extend@^0.6.0",
3 - "_id": "deep-extend@0.6.0",
4 - "_inBundle": false,
5 - "_integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==",
6 - "_location": "/deep-extend",
7 - "_phantomChildren": {},
8 - "_requested": {
9 - "type": "range",
10 - "registry": true,
11 - "raw": "deep-extend@^0.6.0",
12 "name": "deep-extend", 2 "name": "deep-extend",
13 - "escapedName": "deep-extend", 3 + "description": "Recursive object extending",
14 - "rawSpec": "^0.6.0", 4 + "license": "MIT",
15 - "saveSpec": null, 5 + "version": "0.6.0",
16 - "fetchSpec": "^0.6.0" 6 + "homepage": "https://github.com/unclechu/node-deep-extend",
17 - }, 7 + "keywords": [
18 - "_requiredBy": [ 8 + "deep-extend",
19 - "/rc" 9 + "extend",
10 + "deep",
11 + "recursive",
12 + "xtend",
13 + "clone",
14 + "merge",
15 + "json"
20 ], 16 ],
21 - "_resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", 17 + "licenses": [
22 - "_shasum": "c4fa7c95404a17a9c3e8ca7e1537312b736330ac", 18 + {
23 - "_spec": "deep-extend@^0.6.0", 19 + "type": "MIT",
24 - "_where": "C:\\Users\\bshoo\\Desktop\\OSS\\Singer-Composer\\node_modules\\rc", 20 + "url": "https://raw.githubusercontent.com/unclechu/node-deep-extend/master/LICENSE"
25 - "author": { 21 + }
26 - "name": "Viacheslav Lotsmanov", 22 + ],
27 - "email": "lotsmanov89@gmail.com" 23 + "repository": {
28 - }, 24 + "type": "git",
29 - "bugs": { 25 + "url": "git://github.com/unclechu/node-deep-extend.git"
30 - "url": "https://github.com/unclechu/node-deep-extend/issues"
31 }, 26 },
32 - "bundleDependencies": false, 27 + "author": "Viacheslav Lotsmanov <lotsmanov89@gmail.com>",
28 + "bugs": "https://github.com/unclechu/node-deep-extend/issues",
33 "contributors": [ 29 "contributors": [
34 { 30 {
35 "name": "Romain Prieto", 31 "name": "Romain Prieto",
...@@ -48,45 +44,19 @@ ...@@ -48,45 +44,19 @@
48 "url": "https://github.com/mwakerman" 44 "url": "https://github.com/mwakerman"
49 } 45 }
50 ], 46 ],
51 - "deprecated": false, 47 + "main": "lib/deep-extend.js",
52 - "description": "Recursive object extending", 48 + "engines": {
49 + "node": ">=4.0.0"
50 + },
51 + "scripts": {
52 + "test": "./node_modules/.bin/mocha"
53 + },
53 "devDependencies": { 54 "devDependencies": {
54 "mocha": "5.2.0", 55 "mocha": "5.2.0",
55 "should": "13.2.1" 56 "should": "13.2.1"
56 }, 57 },
57 - "engines": {
58 - "node": ">=4.0.0"
59 - },
60 "files": [ 58 "files": [
61 "index.js", 59 "index.js",
62 "lib/" 60 "lib/"
63 - ], 61 + ]
64 - "homepage": "https://github.com/unclechu/node-deep-extend",
65 - "keywords": [
66 - "deep-extend",
67 - "extend",
68 - "deep",
69 - "recursive",
70 - "xtend",
71 - "clone",
72 - "merge",
73 - "json"
74 - ],
75 - "license": "MIT",
76 - "licenses": [
77 - {
78 - "type": "MIT",
79 - "url": "https://raw.githubusercontent.com/unclechu/node-deep-extend/master/LICENSE"
80 - }
81 - ],
82 - "main": "lib/deep-extend.js",
83 - "name": "deep-extend",
84 - "repository": {
85 - "type": "git",
86 - "url": "git://github.com/unclechu/node-deep-extend.git"
87 - },
88 - "scripts": {
89 - "test": "mocha"
90 - },
91 - "version": "0.6.0"
92 } 62 }
......
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed