Skip to content
This repository has been archived by the owner on Sep 2, 2022. It is now read-only.

Commit

Permalink
Merge pull request #1 from busyxiang/changeset-release/main
Browse files Browse the repository at this point in the history
chore: update versions
  • Loading branch information
busyxiang committed Aug 25, 2022
2 parents 632a83c + 10e6558 commit 81203da
Show file tree
Hide file tree
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.
5 changes: 0 additions & 5 deletions .changeset/twenty-pants-turn.md

This file was deleted.

1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
//registry.npmjs.org/:_authToken=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
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();
});
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
import { sortedLastIndexBy } from "lodash";
export default sortedLastIndexBy;
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"};
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"};
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;
Loading

0 comments on commit 81203da

Please sign in to comment.