This repository has been archived by the owner on Sep 2, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from busyxiang/changeset-release/main
chore: update versions
- Loading branch information
Showing
9,363 changed files
with
2,009,440 additions
and
6 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
//registry.npmjs.org/:_authToken=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 |
30 changes: 30 additions & 0 deletions
30
...db43bc05d667ada3fcd8e4bbece2847684cfea95a01e30db9c3868cc3c106c118513973c630b7a64aeec274c7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
'use strict'; | ||
|
||
var testArray = function testArray(t, actual, expected, msg) { | ||
t.deepEqual(actual, expected, msg); | ||
t.equal(actual.length, expected.length, 'expected ' + expected.length + ', got ' + actual.length); | ||
}; | ||
|
||
module.exports = function (flat, t) { | ||
t.test('flattens', function (st) { | ||
testArray(st, flat([1, [2], [[3]], [[['four']]]]), [1, 2, [3], [['four']]], 'missing depth only flattens 1 deep'); | ||
|
||
testArray(st, flat([1, [2], [[3]], [[['four']]]], 1), [1, 2, [3], [['four']]], 'depth of 1 only flattens 1 deep'); | ||
st.notDeepEqual(flat([1, [2], [[3]], [[['four']]]], 1), [1, 2, 3, ['four']], 'depth of 1 only flattens 1 deep: sanity check'); | ||
|
||
testArray(st, flat([1, [2], [[3]], [[['four']]]], 2), [1, 2, 3, ['four']], 'depth of 2 only flattens 2 deep'); | ||
st.notDeepEqual(flat([1, [2], [[3]], [[['four']]]], 2), [1, 2, 3, 'four'], 'depth of 2 only flattens 2 deep: sanity check'); | ||
|
||
testArray(st, flat([1, [2], [[3]], [[['four']]]], 3), [1, 2, 3, 'four'], 'depth of 3 only flattens 3 deep'); | ||
testArray(st, flat([1, [2], [[3]], [[['four']]]], Infinity), [1, 2, 3, 'four'], 'depth of Infinity flattens all the way'); | ||
|
||
st.end(); | ||
}); | ||
|
||
t.test('sparse arrays', function (st) { | ||
// eslint-disable-next-line no-sparse-arrays | ||
st.deepEqual(flat([, [1]]), flat([[], [1]]), 'an array hole is treated the same as an empty array'); | ||
|
||
st.end(); | ||
}); | ||
}; |
2 changes: 2 additions & 0 deletions
2
...5f6fa58b8c0f8de8c9bf064dbc730eaf480576fc1d66bee6bfdf08f416c5c8a6f0ab19a730cc970d38ae-exec
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
import { sortedLastIndexBy } from "lodash"; | ||
export default sortedLastIndexBy; |
1 change: 1 addition & 0 deletions
1
...fd584479845692e52cbaa4d6ee52a5061f04f17794aea7d307d5ddbb58293228c7d219343e0a981b9cd15bba7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
module.exports={A:{A:{"2436":"J D E F A B 1B"},B:{"260":"N O","2436":"C K L G M","8196":"P Q R S T U V W X Y Z c d e f g h i j k l a m n H"},C:{"2":"2B nB I o J D E F A B C K L G M N O p q r 3B 4B","772":"0 1 2 3 4 5 6 7 8 9 s t u v w x y z AB","4100":"BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB oB TB pB UB VB b WB XB YB ZB aB bB cB dB eB fB gB hB iB jB P Q R qB S T U V W X Y Z c d e f g h i j k l a m n H rB sB"},D:{"2":"I o J D E F A B C","2564":"0 1 2 3 4 5 6 7 8 9 K L G M N O p q r s t u v w x y z AB BB CB","8196":"SB oB TB pB UB VB b WB XB YB ZB aB bB cB dB eB fB gB hB iB jB P Q R S T U V W X Y Z c d e f g h i j k l a m n H rB sB 5B","10244":"DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB"},E:{"1":"C K L G lB BC CC DC vB wB xB yB mB EC","16":"6B tB","2308":"A B uB kB","2820":"I o J D E F 7B 8B 9B AC"},F:{"2":"F B FC GC HC IC kB zB JC","16":"C","516":"lB","2564":"G M N O p q r s t u v w x y z","8196":"FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB b WB XB YB ZB aB bB cB dB eB fB gB hB iB jB P Q R qB S T U V W X Y Z","10244":"0 1 2 3 4 5 6 7 8 9 AB BB CB DB EB"},G:{"1":"VC WC XC YC ZC aC bC cC dC vB wB xB yB mB","2":"tB KC 0B","2820":"E LC MC NC OC PC QC RC SC TC UC"},H:{"2":"eC"},I:{"2":"nB I fC gC hC iC 0B","260":"H","2308":"jC kC"},J:{"2":"D","2308":"A"},K:{"2":"A B C kB zB","16":"lB","260":"b"},L:{"8196":"H"},M:{"1028":"a"},N:{"2":"A B"},O:{"2":"lC"},P:{"2052":"mC nC","2308":"I","8196":"oC pC qC uB rC sC tC uC vC mB wC xC"},Q:{"10244":"yC"},R:{"2052":"zC"},S:{"4100":"0C"}},B:5,C:"Synchronous Clipboard API"}; |
1 change: 1 addition & 0 deletions
1
...b2e2be0300b68494ab647a2c86061be0661e8b0e767cfc9206952c30638c45a8cda5f0f5ae134a138990b66c4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
module.exports={A:{A:{"2":"J D E F A B 1B"},B:{"1":"T U V W X Y Z c d e f g h i j k l a m n H","2":"C K L G M N O P Q R S"},C:{"1":"VB b WB XB YB ZB aB bB cB dB eB fB gB hB iB jB P Q R qB S T U V W X Y Z c d e f g h i j k l a m n H rB sB","2":"0 1 2 3 4 5 6 7 8 9 2B nB I o J D E F A B C K L G M N O p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB oB TB pB UB 3B 4B"},D:{"1":"T U V W X Y Z c d e f g h i j k l a m n H rB sB 5B","2":"0 1 2 3 4 5 6 7 8 9 I o J D E F A B C K L G M N O p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB oB TB pB UB VB b WB XB YB ZB aB bB cB dB eB fB gB hB iB jB P Q R S"},E:{"1":"G CC DC vB wB xB yB mB EC","2":"I o J D E F A B C K L 6B tB 7B 8B 9B AC uB kB lB BC"},F:{"1":"bB cB dB eB fB gB hB iB jB P Q R qB S T U V W X Y Z","2":"0 1 2 3 4 5 6 7 8 9 F B C G M N O p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB b WB XB YB ZB aB FC GC HC IC kB zB JC lB"},G:{"1":"cC dC vB wB xB yB mB","2":"E tB KC 0B LC MC NC OC PC QC RC SC TC UC VC WC XC YC ZC aC bC"},H:{"2":"eC"},I:{"1":"H","2":"nB I fC gC hC iC 0B jC kC"},J:{"2":"D A"},K:{"1":"b","2":"A B C kB zB lB"},L:{"1":"H"},M:{"1":"a"},N:{"2":"A B"},O:{"2":"lC"},P:{"1":"uC vC mB wC xC","2":"I mC nC oC pC qC uB rC sC tC"},Q:{"2":"yC"},R:{"2":"zC"},S:{"2":"0C"}},B:5,C:"gap property for Flexbox"}; |
34 changes: 34 additions & 0 deletions
34
...573fc911548cdad0701587a3617d6dc9954610260c3d1c421adc4799ccec5835ec14b994d5fc5baa8a6f83e0a
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
var baseHasIn = require('./_baseHasIn'), | ||
hasPath = require('./_hasPath'); | ||
|
||
/** | ||
* Checks if `path` is a direct or inherited property of `object`. | ||
* | ||
* @static | ||
* @memberOf _ | ||
* @since 4.0.0 | ||
* @category Object | ||
* @param {Object} object The object to query. | ||
* @param {Array|string} path The path to check. | ||
* @returns {boolean} Returns `true` if `path` exists, else `false`. | ||
* @example | ||
* | ||
* var object = _.create({ 'a': _.create({ 'b': 2 }) }); | ||
* | ||
* _.hasIn(object, 'a'); | ||
* // => true | ||
* | ||
* _.hasIn(object, 'a.b'); | ||
* // => true | ||
* | ||
* _.hasIn(object, ['a', 'b']); | ||
* // => true | ||
* | ||
* _.hasIn(object, 'b'); | ||
* // => false | ||
*/ | ||
function hasIn(object, path) { | ||
return object != null && hasPath(object, path, baseHasIn); | ||
} | ||
|
||
module.exports = hasIn; |
Oops, something went wrong.