Skip to content

Commit d6199c0

Browse files
author
Peter Svetlichny
committed
chore(yarn): migrate to yarn; update deps
1 parent 792c8d7 commit d6199c0

File tree

8,808 files changed

+1208570
-24
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

8,808 files changed

+1208570
-24
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"artifacts": [],
3+
"remote": {
4+
"resolved": "https://registry.yarnpkg.com/abbrev/-/abbrev-1.0.9.tgz#91b4792588a7738c25f35dd6f63752a2f8776135",
5+
"type": "tarball",
6+
"reference": "https://registry.yarnpkg.com/abbrev/-/abbrev-1.0.9.tgz",
7+
"hash": "91b4792588a7738c25f35dd6f63752a2f8776135",
8+
"registry": "npm"
9+
},
10+
"registry": "npm",
11+
"hash": "91b4792588a7738c25f35dd6f63752a2f8776135"
12+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
The ISC License
2+
3+
Copyright (c) Isaac Z. Schlueter and Contributors
4+
5+
Permission to use, copy, modify, and/or distribute this software for any
6+
purpose with or without fee is hereby granted, provided that the above
7+
copyright notice and this permission notice appear in all copies.
8+
9+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10+
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11+
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12+
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13+
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14+
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
15+
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# abbrev-js
2+
3+
Just like [ruby's Abbrev](http://apidock.com/ruby/Abbrev).
4+
5+
Usage:
6+
7+
var abbrev = require("abbrev");
8+
abbrev("foo", "fool", "folding", "flop");
9+
10+
// returns:
11+
{ fl: 'flop'
12+
, flo: 'flop'
13+
, flop: 'flop'
14+
, fol: 'folding'
15+
, fold: 'folding'
16+
, foldi: 'folding'
17+
, foldin: 'folding'
18+
, folding: 'folding'
19+
, foo: 'foo'
20+
, fool: 'fool'
21+
}
22+
23+
This is handy for command-line scripts, or other cases where you want to be able to accept shorthands.
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
2+
module.exports = exports = abbrev.abbrev = abbrev
3+
4+
abbrev.monkeyPatch = monkeyPatch
5+
6+
function monkeyPatch () {
7+
Object.defineProperty(Array.prototype, 'abbrev', {
8+
value: function () { return abbrev(this) },
9+
enumerable: false, configurable: true, writable: true
10+
})
11+
12+
Object.defineProperty(Object.prototype, 'abbrev', {
13+
value: function () { return abbrev(Object.keys(this)) },
14+
enumerable: false, configurable: true, writable: true
15+
})
16+
}
17+
18+
function abbrev (list) {
19+
if (arguments.length !== 1 || !Array.isArray(list)) {
20+
list = Array.prototype.slice.call(arguments, 0)
21+
}
22+
for (var i = 0, l = list.length, args = [] ; i < l ; i ++) {
23+
args[i] = typeof list[i] === "string" ? list[i] : String(list[i])
24+
}
25+
26+
// sort them lexicographically, so that they're next to their nearest kin
27+
args = args.sort(lexSort)
28+
29+
// walk through each, seeing how much it has in common with the next and previous
30+
var abbrevs = {}
31+
, prev = ""
32+
for (var i = 0, l = args.length ; i < l ; i ++) {
33+
var current = args[i]
34+
, next = args[i + 1] || ""
35+
, nextMatches = true
36+
, prevMatches = true
37+
if (current === next) continue
38+
for (var j = 0, cl = current.length ; j < cl ; j ++) {
39+
var curChar = current.charAt(j)
40+
nextMatches = nextMatches && curChar === next.charAt(j)
41+
prevMatches = prevMatches && curChar === prev.charAt(j)
42+
if (!nextMatches && !prevMatches) {
43+
j ++
44+
break
45+
}
46+
}
47+
prev = current
48+
if (j === cl) {
49+
abbrevs[current] = current
50+
continue
51+
}
52+
for (var a = current.substr(0, j) ; j <= cl ; j ++) {
53+
abbrevs[a] = current
54+
a += current.charAt(j)
55+
}
56+
}
57+
return abbrevs
58+
}
59+
60+
function lexSort (a, b) {
61+
return a === b ? 0 : a > b ? 1 : -1
62+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"name": "abbrev",
3+
"version": "1.0.9",
4+
"description": "Like ruby's abbrev module, but in js",
5+
"author": "Isaac Z. Schlueter <i@izs.me>",
6+
"main": "abbrev.js",
7+
"scripts": {
8+
"test": "tap test.js --cov"
9+
},
10+
"repository": "http://github.com/isaacs/abbrev-js",
11+
"license": "ISC",
12+
"devDependencies": {
13+
"tap": "^5.7.2"
14+
},
15+
"files": [
16+
"abbrev.js"
17+
]
18+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"artifacts": [],
3+
"remote": {
4+
"resolved": "https://registry.yarnpkg.com/accepts/-/accepts-1.3.4.tgz#86246758c7dd6d21a6474ff084a4740ec05eb21f",
5+
"type": "tarball",
6+
"reference": "https://registry.yarnpkg.com/accepts/-/accepts-1.3.4.tgz",
7+
"hash": "86246758c7dd6d21a6474ff084a4740ec05eb21f",
8+
"registry": "npm"
9+
},
10+
"registry": "npm",
11+
"hash": "86246758c7dd6d21a6474ff084a4740ec05eb21f"
12+
}
Lines changed: 218 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,218 @@
1+
1.3.4 / 2017-08-22
2+
==================
3+
4+
* deps: mime-types@~2.1.16
5+
- deps: mime-db@~1.29.0
6+
7+
1.3.3 / 2016-05-02
8+
==================
9+
10+
* deps: mime-types@~2.1.11
11+
- deps: mime-db@~1.23.0
12+
* deps: negotiator@0.6.1
13+
- perf: improve `Accept` parsing speed
14+
- perf: improve `Accept-Charset` parsing speed
15+
- perf: improve `Accept-Encoding` parsing speed
16+
- perf: improve `Accept-Language` parsing speed
17+
18+
1.3.2 / 2016-03-08
19+
==================
20+
21+
* deps: mime-types@~2.1.10
22+
- Fix extension of `application/dash+xml`
23+
- Update primary extension for `audio/mp4`
24+
- deps: mime-db@~1.22.0
25+
26+
1.3.1 / 2016-01-19
27+
==================
28+
29+
* deps: mime-types@~2.1.9
30+
- deps: mime-db@~1.21.0
31+
32+
1.3.0 / 2015-09-29
33+
==================
34+
35+
* deps: mime-types@~2.1.7
36+
- deps: mime-db@~1.19.0
37+
* deps: negotiator@0.6.0
38+
- Fix including type extensions in parameters in `Accept` parsing
39+
- Fix parsing `Accept` parameters with quoted equals
40+
- Fix parsing `Accept` parameters with quoted semicolons
41+
- Lazy-load modules from main entry point
42+
- perf: delay type concatenation until needed
43+
- perf: enable strict mode
44+
- perf: hoist regular expressions
45+
- perf: remove closures getting spec properties
46+
- perf: remove a closure from media type parsing
47+
- perf: remove property delete from media type parsing
48+
49+
1.2.13 / 2015-09-06
50+
===================
51+
52+
* deps: mime-types@~2.1.6
53+
- deps: mime-db@~1.18.0
54+
55+
1.2.12 / 2015-07-30
56+
===================
57+
58+
* deps: mime-types@~2.1.4
59+
- deps: mime-db@~1.16.0
60+
61+
1.2.11 / 2015-07-16
62+
===================
63+
64+
* deps: mime-types@~2.1.3
65+
- deps: mime-db@~1.15.0
66+
67+
1.2.10 / 2015-07-01
68+
===================
69+
70+
* deps: mime-types@~2.1.2
71+
- deps: mime-db@~1.14.0
72+
73+
1.2.9 / 2015-06-08
74+
==================
75+
76+
* deps: mime-types@~2.1.1
77+
- perf: fix deopt during mapping
78+
79+
1.2.8 / 2015-06-07
80+
==================
81+
82+
* deps: mime-types@~2.1.0
83+
- deps: mime-db@~1.13.0
84+
* perf: avoid argument reassignment & argument slice
85+
* perf: avoid negotiator recursive construction
86+
* perf: enable strict mode
87+
* perf: remove unnecessary bitwise operator
88+
89+
1.2.7 / 2015-05-10
90+
==================
91+
92+
* deps: negotiator@0.5.3
93+
- Fix media type parameter matching to be case-insensitive
94+
95+
1.2.6 / 2015-05-07
96+
==================
97+
98+
* deps: mime-types@~2.0.11
99+
- deps: mime-db@~1.9.1
100+
* deps: negotiator@0.5.2
101+
- Fix comparing media types with quoted values
102+
- Fix splitting media types with quoted commas
103+
104+
1.2.5 / 2015-03-13
105+
==================
106+
107+
* deps: mime-types@~2.0.10
108+
- deps: mime-db@~1.8.0
109+
110+
1.2.4 / 2015-02-14
111+
==================
112+
113+
* Support Node.js 0.6
114+
* deps: mime-types@~2.0.9
115+
- deps: mime-db@~1.7.0
116+
* deps: negotiator@0.5.1
117+
- Fix preference sorting to be stable for long acceptable lists
118+
119+
1.2.3 / 2015-01-31
120+
==================
121+
122+
* deps: mime-types@~2.0.8
123+
- deps: mime-db@~1.6.0
124+
125+
1.2.2 / 2014-12-30
126+
==================
127+
128+
* deps: mime-types@~2.0.7
129+
- deps: mime-db@~1.5.0
130+
131+
1.2.1 / 2014-12-30
132+
==================
133+
134+
* deps: mime-types@~2.0.5
135+
- deps: mime-db@~1.3.1
136+
137+
1.2.0 / 2014-12-19
138+
==================
139+
140+
* deps: negotiator@0.5.0
141+
- Fix list return order when large accepted list
142+
- Fix missing identity encoding when q=0 exists
143+
- Remove dynamic building of Negotiator class
144+
145+
1.1.4 / 2014-12-10
146+
==================
147+
148+
* deps: mime-types@~2.0.4
149+
- deps: mime-db@~1.3.0
150+
151+
1.1.3 / 2014-11-09
152+
==================
153+
154+
* deps: mime-types@~2.0.3
155+
- deps: mime-db@~1.2.0
156+
157+
1.1.2 / 2014-10-14
158+
==================
159+
160+
* deps: negotiator@0.4.9
161+
- Fix error when media type has invalid parameter
162+
163+
1.1.1 / 2014-09-28
164+
==================
165+
166+
* deps: mime-types@~2.0.2
167+
- deps: mime-db@~1.1.0
168+
* deps: negotiator@0.4.8
169+
- Fix all negotiations to be case-insensitive
170+
- Stable sort preferences of same quality according to client order
171+
172+
1.1.0 / 2014-09-02
173+
==================
174+
175+
* update `mime-types`
176+
177+
1.0.7 / 2014-07-04
178+
==================
179+
180+
* Fix wrong type returned from `type` when match after unknown extension
181+
182+
1.0.6 / 2014-06-24
183+
==================
184+
185+
* deps: negotiator@0.4.7
186+
187+
1.0.5 / 2014-06-20
188+
==================
189+
190+
* fix crash when unknown extension given
191+
192+
1.0.4 / 2014-06-19
193+
==================
194+
195+
* use `mime-types`
196+
197+
1.0.3 / 2014-06-11
198+
==================
199+
200+
* deps: negotiator@0.4.6
201+
- Order by specificity when quality is the same
202+
203+
1.0.2 / 2014-05-29
204+
==================
205+
206+
* Fix interpretation when header not in request
207+
* deps: pin negotiator@0.4.5
208+
209+
1.0.1 / 2014-01-18
210+
==================
211+
212+
* Identity encoding isn't always acceptable
213+
* deps: negotiator@~0.4.0
214+
215+
1.0.0 / 2013-12-27
216+
==================
217+
218+
* Genesis
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
(The MIT License)
2+
3+
Copyright (c) 2014 Jonathan Ong <me@jongleberry.com>
4+
Copyright (c) 2015 Douglas Christopher Wilson <doug@somethingdoug.com>
5+
6+
Permission is hereby granted, free of charge, to any person obtaining
7+
a copy of this software and associated documentation files (the
8+
'Software'), to deal in the Software without restriction, including
9+
without limitation the rights to use, copy, modify, merge, publish,
10+
distribute, sublicense, and/or sell copies of the Software, and to
11+
permit persons to whom the Software is furnished to do so, subject to
12+
the following conditions:
13+
14+
The above copyright notice and this permission notice shall be
15+
included in all copies or substantial portions of the Software.
16+
17+
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
18+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
19+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
20+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
21+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
22+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
23+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

0 commit comments

Comments
 (0)