claude-flow-novice 2.2.0 → 2.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -1
- package/dist/src/web/frontend/node_modules/.cross-env-RSYxJplp/src/index.js +0 -95
- package/dist/src/web/frontend/node_modules/.cross-env-RSYxJplp/src/is-windows.js +0 -2
- package/dist/src/web/frontend/node_modules/.cross-env-RSYxJplp/src/variable.js +0 -69
- package/dist/src/web/frontend/node_modules/.css-blank-pseudo-8k2G2dsc/browser.js +0 -2
- package/dist/src/web/frontend/node_modules/.css-blank-pseudo-8k2G2dsc/dist/browser-global.js +0 -2
- package/dist/src/web/frontend/node_modules/.css-has-pseudo-6pj9tKmr/browser.js +0 -2
- package/dist/src/web/frontend/node_modules/.css-has-pseudo-6pj9tKmr/dist/browser-global.js +0 -2
- package/dist/src/web/frontend/node_modules/.css-prefers-color-scheme-5O8P6fXl/browser.js +0 -2
- package/dist/src/web/frontend/node_modules/.css-prefers-color-scheme-5O8P6fXl/browser.min.js +0 -2
- package/dist/src/web/frontend/node_modules/.css-prefers-color-scheme-5O8P6fXl/dist/browser-global.js +0 -2
- package/dist/src/web/frontend/node_modules/.cssesc-iMHKNzC2/cssesc.js +0 -110
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/_lib/addLeadingZeros/index.js +0 -15
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/_lib/assign/index.js +0 -19
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/_lib/cloneObject/index.js +0 -12
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/_lib/defaultLocale/index.js +0 -11
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/_lib/defaultOptions/index.js +0 -14
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/_lib/format/formatters/index.js +0 -781
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/_lib/format/lightFormatters/index.js +0 -90
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/_lib/format/longFormatters/index.js +0 -88
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/_lib/getTimezoneOffsetInMilliseconds/index.js +0 -23
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/_lib/getUTCDayOfYear/index.js +0 -21
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/_lib/getUTCISOWeek/index.js +0 -23
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/_lib/getUTCISOWeekYear/index.js +0 -31
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/_lib/getUTCWeek/index.js +0 -23
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/_lib/getUTCWeekYear/index.js +0 -41
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/_lib/isSameUTCWeek/index.js +0 -16
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/_lib/protectedTokens/index.js +0 -27
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/_lib/requiredArgs/index.js +0 -12
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/_lib/roundingMethods/index.js +0 -19
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/_lib/setUTCDay/index.js +0 -31
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/_lib/setUTCISODay/index.js +0 -26
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/_lib/setUTCISOWeek/index.js +0 -20
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/_lib/setUTCWeek/index.js +0 -20
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/_lib/startOfUTCISOWeek/index.js +0 -20
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/_lib/startOfUTCISOWeekYear/index.js +0 -20
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/_lib/startOfUTCWeek/index.js +0 -29
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/_lib/startOfUTCWeekYear/index.js +0 -25
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/_lib/test/index.js +0 -33
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/_lib/toInteger/index.js +0 -17
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/add/index.js +0 -78
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/addBusinessDays/index.js +0 -66
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/addDays/index.js +0 -43
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/addHours/index.js +0 -36
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/addISOWeekYears/index.js +0 -37
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/addMilliseconds/index.js +0 -35
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/addMinutes/index.js +0 -36
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/addMonths/index.js +0 -69
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/addQuarters/index.js +0 -35
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/addSeconds/index.js +0 -34
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/addWeeks/index.js +0 -35
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/addYears/index.js +0 -34
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/areIntervalsOverlapping/index.js +0 -81
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/clamp/index.js +0 -43
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/closestIndexTo/index.js +0 -69
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/closestTo/index.js +0 -67
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/compareAsc/index.js +0 -56
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/compareDesc/index.js +0 -56
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/constants/index.js +0 -207
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/daysToWeeks/index.js +0 -38
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/differenceInBusinessDays/index.js +0 -84
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/differenceInCalendarDays/index.js +0 -55
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/differenceInCalendarISOWeekYears/index.js +0 -37
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/differenceInCalendarISOWeeks/index.js +0 -48
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/differenceInCalendarMonths/index.js +0 -39
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/differenceInCalendarQuarters/index.js +0 -40
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/differenceInCalendarWeeks/index.js +0 -60
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/differenceInCalendarYears/index.js +0 -37
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/differenceInDays/index.js +0 -91
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/differenceInHours/index.js +0 -40
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/differenceInISOWeekYears/index.js +0 -52
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/differenceInMilliseconds/index.js +0 -36
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/differenceInMinutes/index.js +0 -48
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/differenceInMonths/index.js +0 -64
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/differenceInQuarters/index.js +0 -36
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/differenceInSeconds/index.js +0 -40
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/differenceInWeeks/index.js +0 -57
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/differenceInYears/index.js +0 -49
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/docs/.eslintrc.js +0 -5
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/docs/Day.js +0 -15
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/docs/Duration.js +0 -19
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/docs/index.js +0 -147
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/eachDayOfInterval/index.js +0 -65
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/eachHourOfInterval/index.js +0 -65
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/eachMinuteOfInterval/index.js +0 -62
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/eachMonthOfInterval/index.js +0 -61
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/eachQuarterOfInterval/index.js +0 -60
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/eachWeekOfInterval/index.js +0 -75
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/eachWeekendOfInterval/index.js +0 -53
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/eachWeekendOfMonth/index.js +0 -49
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/eachWeekendOfYear/index.js +0 -45
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/eachYearOfInterval/index.js +0 -58
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/endOfDay/index.js +0 -34
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/endOfDecade/index.js +0 -39
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/endOfHour/index.js +0 -34
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/endOfISOWeek/index.js +0 -36
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/endOfISOWeekYear/index.js +0 -42
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/endOfMinute/index.js +0 -34
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/endOfMonth/index.js +0 -36
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/endOfQuarter/index.js +0 -37
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/endOfSecond/index.js +0 -34
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/endOfToday/index.js +0 -31
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/endOfTomorrow/index.js +0 -36
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/endOfWeek/index.js +0 -56
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/endOfYear/index.js +0 -36
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/endOfYesterday/index.js +0 -36
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/_lib/addLeadingZeros/index.js +0 -8
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/_lib/assign/index.js +0 -12
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/_lib/cloneObject/index.js +0 -4
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/_lib/defaultLocale/index.js +0 -2
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/_lib/defaultOptions/index.js +0 -7
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/_lib/format/formatters/index.js +0 -772
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/_lib/format/lightFormatters/index.js +0 -80
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/_lib/format/longFormatters/index.js +0 -80
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/_lib/getTimezoneOffsetInMilliseconds/index.js +0 -16
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/_lib/getUTCDayOfYear/index.js +0 -13
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/_lib/getUTCISOWeek/index.js +0 -15
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/_lib/getUTCISOWeekYear/index.js +0 -23
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/_lib/getUTCWeek/index.js +0 -15
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/_lib/getUTCWeekYear/index.js +0 -33
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/_lib/isSameUTCWeek/index.js +0 -8
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/_lib/protectedTokens/index.js +0 -19
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/_lib/requiredArgs/index.js +0 -5
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/_lib/roundingMethods/index.js +0 -13
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/_lib/setUTCDay/index.js +0 -23
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/_lib/setUTCISODay/index.js +0 -18
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/_lib/setUTCISOWeek/index.js +0 -12
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/_lib/setUTCWeek/index.js +0 -12
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/_lib/startOfUTCISOWeek/index.js +0 -12
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/_lib/startOfUTCISOWeekYear/index.js +0 -12
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/_lib/startOfUTCWeek/index.js +0 -21
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/_lib/startOfUTCWeekYear/index.js +0 -17
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/_lib/test/index.js +0 -24
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/_lib/toInteger/index.js +0 -10
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/add/index.js +0 -70
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/addBusinessDays/index.js +0 -58
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/addDays/index.js +0 -35
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/addHours/index.js +0 -28
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/addISOWeekYears/index.js +0 -29
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/addMilliseconds/index.js +0 -27
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/addMinutes/index.js +0 -28
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/addMonths/index.js +0 -61
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/addQuarters/index.js +0 -27
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/addSeconds/index.js +0 -26
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/addWeeks/index.js +0 -27
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/addYears/index.js +0 -26
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/areIntervalsOverlapping/index.js +0 -73
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/clamp/index.js +0 -35
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/closestIndexTo/index.js +0 -61
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/closestTo/index.js +0 -59
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/compareAsc/index.js +0 -48
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/compareDesc/index.js +0 -48
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/constants/index.js +0 -183
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/daysToWeeks/index.js +0 -30
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/differenceInBusinessDays/index.js +0 -76
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/differenceInCalendarDays/index.js +0 -47
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/differenceInCalendarISOWeekYears/index.js +0 -29
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/differenceInCalendarISOWeeks/index.js +0 -40
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/differenceInCalendarMonths/index.js +0 -31
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/differenceInCalendarQuarters/index.js +0 -32
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/differenceInCalendarWeeks/index.js +0 -52
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/differenceInCalendarYears/index.js +0 -29
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/differenceInDays/index.js +0 -82
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/differenceInHours/index.js +0 -32
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/differenceInISOWeekYears/index.js +0 -44
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/differenceInMilliseconds/index.js +0 -28
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/differenceInMinutes/index.js +0 -40
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/differenceInMonths/index.js +0 -56
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/differenceInQuarters/index.js +0 -28
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/differenceInSeconds/index.js +0 -32
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/differenceInWeeks/index.js +0 -49
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/differenceInYears/index.js +0 -41
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/eachDayOfInterval/index.js +0 -57
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/eachHourOfInterval/index.js +0 -57
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/eachMinuteOfInterval/index.js +0 -54
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/eachMonthOfInterval/index.js +0 -53
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/eachQuarterOfInterval/index.js +0 -52
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/eachWeekOfInterval/index.js +0 -67
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/eachWeekendOfInterval/index.js +0 -45
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/eachWeekendOfMonth/index.js +0 -41
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/eachWeekendOfYear/index.js +0 -37
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/eachYearOfInterval/index.js +0 -50
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/endOfDay/index.js +0 -26
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/endOfDecade/index.js +0 -31
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/endOfHour/index.js +0 -26
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/endOfISOWeek/index.js +0 -28
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/endOfISOWeekYear/index.js +0 -34
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/endOfMinute/index.js +0 -26
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/endOfMonth/index.js +0 -28
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/endOfQuarter/index.js +0 -29
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/endOfSecond/index.js +0 -26
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/endOfToday/index.js +0 -23
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/endOfTomorrow/index.js +0 -29
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/endOfWeek/index.js +0 -48
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/endOfYear/index.js +0 -28
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/endOfYesterday/index.js +0 -29
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/format/index.js +0 -402
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/formatDistance/index.js +0 -203
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/formatDistanceStrict/index.js +0 -190
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/formatDistanceToNow/index.js +0 -92
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/formatDistanceToNowStrict/index.js +0 -80
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/formatDuration/index.js +0 -91
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/formatISO/index.js +0 -100
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/formatISO9075/index.js +0 -86
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/formatISODuration/index.js +0 -45
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/formatRFC3339/index.js +0 -76
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/formatRFC7231/index.js +0 -44
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/formatRelative/index.js +0 -93
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/fp/_lib/convertToFP/index.js +0 -12
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/fp/add/index.js +0 -4
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/fp/addBusinessDays/index.js +0 -4
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/fp/addDays/index.js +0 -4
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/fp/addHours/index.js +0 -4
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/fp/addISOWeekYears/index.js +0 -4
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/fp/addMilliseconds/index.js +0 -4
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/fp/addMinutes/index.js +0 -4
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/fp/addMonths/index.js +0 -4
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/fp/addQuarters/index.js +0 -4
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/fp/addSeconds/index.js +0 -4
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/fp/addWeeks/index.js +0 -4
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/fp/addYears/index.js +0 -4
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/fp/areIntervalsOverlapping/index.js +0 -4
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/fp/areIntervalsOverlappingWithOptions/index.js +0 -4
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/fp/clamp/index.js +0 -4
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/fp/closestIndexTo/index.js +0 -4
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/fp/closestTo/index.js +0 -4
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/fp/compareAsc/index.js +0 -4
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/fp/compareDesc/index.js +0 -4
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/fp/daysToWeeks/index.js +0 -4
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/fp/differenceInBusinessDays/index.js +0 -4
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/fp/differenceInCalendarDays/index.js +0 -4
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/fp/differenceInCalendarISOWeekYears/index.js +0 -4
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/fp/differenceInCalendarISOWeeks/index.js +0 -4
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/fp/differenceInCalendarMonths/index.js +0 -4
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/fp/differenceInCalendarQuarters/index.js +0 -4
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/fp/differenceInCalendarWeeks/index.js +0 -4
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/fp/differenceInCalendarWeeksWithOptions/index.js +0 -4
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/fp/differenceInCalendarYears/index.js +0 -4
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/fp/differenceInDays/index.js +0 -4
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/fp/differenceInHours/index.js +0 -4
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/fp/differenceInHoursWithOptions/index.js +0 -4
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/fp/differenceInISOWeekYears/index.js +0 -4
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/fp/differenceInMilliseconds/index.js +0 -4
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/fp/differenceInMinutes/index.js +0 -4
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/fp/differenceInMinutesWithOptions/index.js +0 -4
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/fp/differenceInMonths/index.js +0 -4
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/fp/differenceInQuarters/index.js +0 -4
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/fp/differenceInQuartersWithOptions/index.js +0 -4
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/fp/differenceInSeconds/index.js +0 -4
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/fp/differenceInSecondsWithOptions/index.js +0 -4
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/fp/differenceInWeeks/index.js +0 -4
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/fp/differenceInWeeksWithOptions/index.js +0 -4
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/fp/differenceInYears/index.js +0 -4
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/fp/eachDayOfInterval/index.js +0 -4
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/fp/eachDayOfIntervalWithOptions/index.js +0 -4
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/fp/eachHourOfInterval/index.js +0 -4
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/fp/eachHourOfIntervalWithOptions/index.js +0 -4
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/fp/eachMinuteOfInterval/index.js +0 -4
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/fp/eachMinuteOfIntervalWithOptions/index.js +0 -4
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/parse/_lib/constants.js +0 -48
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/parse/_lib/parsers/AMPMMidnightParser.js +0 -64
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/parse/_lib/parsers/AMPMParser.js +0 -64
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/parse/_lib/parsers/DateParser.js +0 -64
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/parse/_lib/parsers/DayOfYearParser.js +0 -60
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/parse/_lib/parsers/DayParser.js +0 -88
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/parse/_lib/parsers/DayPeriodParser.js +0 -64
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/parse/_lib/parsers/EraParser.js +0 -62
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/parse/_lib/parsers/ExtendedYearParser.js +0 -40
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/parse/_lib/parsers/FractionOfSecondParser.js +0 -39
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/parse/_lib/parsers/Hour0To11Parser.js +0 -56
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/parse/_lib/parsers/Hour0to23Parser.js +0 -51
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/parse/_lib/parsers/Hour1To24Parser.js +0 -52
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/esm/parse/_lib/parsers/Hour1to12Parser.js +0 -58
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/parse/_lib/constants.js +0 -55
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/parse/_lib/parsers/AMPMMidnightParser.js +0 -72
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/parse/_lib/parsers/AMPMParser.js +0 -72
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/parse/_lib/parsers/DateParser.js +0 -72
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/parse/_lib/parsers/DayOfYearParser.js +0 -68
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/parse/_lib/parsers/DayParser.js +0 -97
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/parse/_lib/parsers/DayPeriodParser.js +0 -73
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/parse/_lib/parsers/EraParser.js +0 -70
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/parse/_lib/parsers/ExtendedYearParser.js +0 -48
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/parse/_lib/parsers/FractionOfSecondParser.js +0 -47
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/parse/_lib/parsers/Hour0To11Parser.js +0 -64
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/parse/_lib/parsers/Hour0to23Parser.js +0 -59
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/parse/_lib/parsers/Hour1To24Parser.js +0 -60
- package/dist/src/web/frontend/node_modules/.date-fns-XMls0sMk/parse/_lib/parsers/Hour1to12Parser.js +0 -66
- package/dist/src/web/frontend/node_modules/.detect-port-alt-Qap6bfIk/index.js +0 -3
- package/dist/src/web/frontend/node_modules/.detect-port-alt-Qap6bfIk/lib/detect-port.js +0 -114
- package/dist/src/web/frontend/node_modules/.detect-port-alt-Qap6bfIk/node_modules/debug/karma.conf.js +0 -70
- package/dist/src/web/frontend/node_modules/.detect-port-alt-Qap6bfIk/node_modules/debug/node.js +0 -1
- package/dist/src/web/frontend/node_modules/.detect-port-alt-Qap6bfIk/node_modules/debug/src/browser.js +0 -185
- package/dist/src/web/frontend/node_modules/.detect-port-alt-Qap6bfIk/node_modules/debug/src/debug.js +0 -202
- package/dist/src/web/frontend/node_modules/.detect-port-alt-Qap6bfIk/node_modules/debug/src/index.js +0 -10
- package/dist/src/web/frontend/node_modules/.detect-port-alt-Qap6bfIk/node_modules/debug/src/inspector-log.js +0 -15
- package/dist/src/web/frontend/node_modules/.detect-port-alt-Qap6bfIk/node_modules/debug/src/node.js +0 -248
- package/dist/src/web/frontend/node_modules/.detect-port-alt-Qap6bfIk/node_modules/ms/index.js +0 -152
- package/dist/src/web/frontend/node_modules/.ejs-BTDa9X3p/bin/cli.js +0 -211
- package/dist/src/web/frontend/node_modules/.ejs-BTDa9X3p/ejs.js +0 -1746
- package/dist/src/web/frontend/node_modules/.ejs-BTDa9X3p/ejs.min.js +0 -1
- package/dist/src/web/frontend/node_modules/.ejs-BTDa9X3p/jakefile.js +0 -88
- package/dist/src/web/frontend/node_modules/.ejs-BTDa9X3p/lib/ejs.js +0 -952
- package/dist/src/web/frontend/node_modules/.ejs-BTDa9X3p/lib/utils.js +0 -250
- package/dist/src/web/frontend/node_modules/.escodegen-dt8nupst/bin/escodegen.js +0 -77
- package/dist/src/web/frontend/node_modules/.escodegen-dt8nupst/bin/esgenerate.js +0 -64
- package/dist/src/web/frontend/node_modules/.escodegen-dt8nupst/escodegen.js +0 -2667
- package/dist/src/web/frontend/node_modules/.escodegen-dt8nupst/node_modules/source-map/dist/source-map.debug.js +0 -3234
- package/dist/src/web/frontend/node_modules/.escodegen-dt8nupst/node_modules/source-map/dist/source-map.js +0 -3233
- package/dist/src/web/frontend/node_modules/.escodegen-dt8nupst/node_modules/source-map/dist/source-map.min.js +0 -2
- package/dist/src/web/frontend/node_modules/.escodegen-dt8nupst/node_modules/source-map/lib/array-set.js +0 -121
- package/dist/src/web/frontend/node_modules/.escodegen-dt8nupst/node_modules/source-map/lib/base64-vlq.js +0 -140
- package/dist/src/web/frontend/node_modules/.escodegen-dt8nupst/node_modules/source-map/lib/base64.js +0 -67
- package/dist/src/web/frontend/node_modules/.escodegen-dt8nupst/node_modules/source-map/lib/binary-search.js +0 -111
- package/dist/src/web/frontend/node_modules/.escodegen-dt8nupst/node_modules/source-map/lib/mapping-list.js +0 -79
- package/dist/src/web/frontend/node_modules/.escodegen-dt8nupst/node_modules/source-map/lib/quick-sort.js +0 -114
- package/dist/src/web/frontend/node_modules/.escodegen-dt8nupst/node_modules/source-map/lib/source-map-consumer.js +0 -1145
- package/dist/src/web/frontend/node_modules/.escodegen-dt8nupst/node_modules/source-map/lib/source-map-generator.js +0 -425
- package/dist/src/web/frontend/node_modules/.escodegen-dt8nupst/node_modules/source-map/lib/source-node.js +0 -413
- package/dist/src/web/frontend/node_modules/.escodegen-dt8nupst/node_modules/source-map/lib/util.js +0 -488
- package/dist/src/web/frontend/node_modules/.escodegen-dt8nupst/node_modules/source-map/source-map.js +0 -8
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/bin/eslint.js +0 -173
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/conf/config-schema.js +0 -93
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/conf/default-cli-options.js +0 -32
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/conf/globals.js +0 -154
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/api.js +0 -54
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/cli-engine/cli-engine.js +0 -1078
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/cli-engine/file-enumerator.js +0 -547
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/cli-engine/formatters/checkstyle.js +0 -60
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/cli-engine/formatters/compact.js +0 -60
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/cli-engine/formatters/html.js +0 -351
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/cli-engine/formatters/jslint-xml.js +0 -41
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/cli-engine/formatters/json-with-metadata.js +0 -16
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/cli-engine/formatters/json.js +0 -13
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/cli-engine/formatters/junit.js +0 -82
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/cli-engine/formatters/stylish.js +0 -101
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/cli-engine/formatters/tap.js +0 -95
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/cli-engine/formatters/unix.js +0 -58
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/cli-engine/formatters/visualstudio.js +0 -63
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/cli-engine/hash.js +0 -35
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/cli-engine/index.js +0 -7
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/cli-engine/lint-result-cache.js +0 -203
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/cli-engine/load-rules.js +0 -46
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/cli-engine/xml-escape.js +0 -34
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/cli.js +0 -471
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/config/default-config.js +0 -67
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/config/flat-config-array.js +0 -380
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/config/flat-config-helpers.js +0 -111
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/config/flat-config-schema.js +0 -598
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/config/rule-validator.js +0 -158
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/eslint/eslint-helpers.js +0 -932
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/eslint/eslint.js +0 -707
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/eslint/flat-eslint.js +0 -1159
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/eslint/index.js +0 -9
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/linter/apply-disable-directives.js +0 -465
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/linter/code-path-analysis/code-path-analyzer.js +0 -852
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/linter/code-path-analysis/code-path-segment.js +0 -263
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/linter/code-path-analysis/code-path-state.js +0 -2348
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/linter/code-path-analysis/code-path.js +0 -342
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/linter/code-path-analysis/debug-helpers.js +0 -203
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/linter/code-path-analysis/fork-context.js +0 -349
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/linter/code-path-analysis/id-generator.js +0 -45
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/linter/config-comment-parser.js +0 -185
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/linter/index.js +0 -13
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/linter/interpolate.js +0 -28
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/linter/linter.js +0 -2119
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/linter/node-event-generator.js +0 -354
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/linter/report-translator.js +0 -369
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/linter/rule-fixer.js +0 -140
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/linter/rules.js +0 -80
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/linter/safe-emitter.js +0 -52
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/linter/source-code-fixer.js +0 -152
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/linter/timing.js +0 -161
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/options.js +0 -398
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rule-tester/flat-rule-tester.js +0 -1131
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rule-tester/index.js +0 -5
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rule-tester/rule-tester.js +0 -1206
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/accessor-pairs.js +0 -346
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/array-bracket-newline.js +0 -261
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/array-bracket-spacing.js +0 -244
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/array-callback-return.js +0 -446
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/array-element-newline.js +0 -311
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/arrow-body-style.js +0 -296
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/arrow-parens.js +0 -186
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/arrow-spacing.js +0 -164
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/block-scoped-var.js +0 -135
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/block-spacing.js +0 -174
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/brace-style.js +0 -197
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/callback-return.js +0 -187
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/camelcase.js +0 -399
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/capitalized-comments.js +0 -300
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/class-methods-use-this.js +0 -187
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/comma-dangle.js +0 -373
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/comma-spacing.js +0 -192
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/comma-style.js +0 -314
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/complexity.js +0 -165
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/computed-property-spacing.js +0 -208
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/consistent-return.js +0 -210
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/consistent-this.js +0 -153
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/constructor-super.js +0 -446
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/curly.js +0 -486
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/default-case-last.js +0 -44
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/default-case.js +0 -97
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/default-param-last.js +0 -62
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/dot-location.js +0 -108
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/dot-notation.js +0 -176
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/eol-last.js +0 -115
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/eqeqeq.js +0 -174
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/for-direction.js +0 -140
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/func-call-spacing.js +0 -233
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/func-name-matching.js +0 -253
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/func-names.js +0 -191
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/func-style.js +0 -98
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/function-call-argument-newline.js +0 -125
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/function-paren-newline.js +0 -292
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/generator-star-spacing.js +0 -209
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/getter-return.js +0 -204
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/global-require.js +0 -90
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/grouped-accessor-pairs.js +0 -215
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/guard-for-in.js +0 -76
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/handle-callback-err.js +0 -101
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/id-blacklist.js +0 -246
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/id-denylist.js +0 -228
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/id-length.js +0 -177
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/id-match.js +0 -299
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/implicit-arrow-linebreak.js +0 -84
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/indent-legacy.js +0 -1126
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/indent.js +0 -1803
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/index.js +0 -306
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/init-declarations.js +0 -139
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/jsx-quotes.js +0 -98
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/key-spacing.js +0 -687
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/keyword-spacing.js +0 -640
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/line-comment-position.js +0 -122
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/linebreak-style.js +0 -108
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/lines-around-comment.js +0 -471
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/lines-around-directive.js +0 -201
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/lines-between-class-members.js +0 -269
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/logical-assignment-operators.js +0 -504
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/max-classes-per-file.js +0 -89
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/max-depth.js +0 -156
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/max-len.js +0 -440
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/max-lines-per-function.js +0 -213
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/max-lines.js +0 -193
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/max-nested-callbacks.js +0 -117
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/max-params.js +0 -102
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/max-statements-per-line.js +0 -199
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/max-statements.js +0 -184
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/multiline-comment-style.js +0 -474
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/multiline-ternary.js +0 -174
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/new-cap.js +0 -276
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/new-parens.js +0 -93
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/newline-after-var.js +0 -253
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/newline-before-return.js +0 -217
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/newline-per-chained-call.js +0 -126
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-alert.js +0 -138
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-array-constructor.js +0 -133
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-async-promise-executor.js +0 -39
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-await-in-loop.js +0 -106
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-bitwise.js +0 -119
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-buffer-constructor.js +0 -50
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-caller.js +0 -46
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-case-declarations.js +0 -64
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-catch-shadow.js +0 -82
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-class-assign.js +0 -63
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-compare-neg-zero.js +0 -60
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-cond-assign.js +0 -159
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-confusing-arrow.js +0 -92
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-console.js +0 -207
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-const-assign.js +0 -56
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-constant-binary-expression.js +0 -509
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-constant-condition.js +0 -150
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-constructor-return.js +0 -62
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-continue.js +0 -39
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-control-regex.js +0 -138
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-debugger.js +0 -43
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-delete-var.js +0 -42
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-div-regex.js +0 -53
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-dupe-args.js +0 -82
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-dupe-class-members.js +0 -104
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-dupe-else-if.js +0 -122
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-dupe-keys.js +0 -142
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-duplicate-case.js +0 -71
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-duplicate-imports.js +0 -290
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-else-return.js +0 -405
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-empty-character-class.js +0 -76
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-empty-function.js +0 -167
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-empty-pattern.js +0 -78
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-empty-static-block.js +0 -47
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-empty.js +0 -103
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-eq-null.js +0 -46
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-eval.js +0 -286
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-ex-assign.js +0 -54
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-extend-native.js +0 -179
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-extra-bind.js +0 -213
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-extra-boolean-cast.js +0 -317
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-extra-label.js +0 -149
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-extra-parens.js +0 -1322
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-extra-semi.js +0 -147
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-fallthrough.js +0 -196
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-floating-decimal.js +0 -73
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-func-assign.js +0 -78
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-global-assign.js +0 -95
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-implicit-coercion.js +0 -380
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-implicit-globals.js +0 -146
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-implied-eval.js +0 -132
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-import-assign.js +0 -241
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-inline-comments.js +0 -110
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-inner-declarations.js +0 -110
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-invalid-regexp.js +0 -194
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-invalid-this.js +0 -150
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-irregular-whitespace.js +0 -276
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-iterator.js +0 -52
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-label-var.js +0 -80
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-labels.js +0 -149
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-lone-blocks.js +0 -136
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-lonely-if.js +0 -88
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-loop-func.js +0 -206
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-loss-of-precision.js +0 -214
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-magic-numbers.js +0 -243
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-misleading-character-class.js +0 -300
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-mixed-operators.js +0 -229
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-mixed-requires.js +0 -238
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-mixed-spaces-and-tabs.js +0 -116
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-multi-assign.js +0 -67
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-multi-spaces.js +0 -141
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-multi-str.js +0 -65
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-multiple-empty-lines.js +0 -154
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-native-reassign.js +0 -98
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-negated-condition.js +0 -95
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-negated-in-lhs.js +0 -46
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-nested-ternary.js +0 -44
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-new-func.js +0 -87
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-new-native-nonconstructor.js +0 -66
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-new-object.js +0 -67
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-new-require.js +0 -50
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-new-symbol.js +0 -56
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-new-wrappers.js +0 -60
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-new.js +0 -43
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-nonoctal-decimal-escape.js +0 -148
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-obj-calls.js +0 -86
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-object-constructor.js +0 -117
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-octal-escape.js +0 -56
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-octal.js +0 -45
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-param-reassign.js +0 -230
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-path-concat.js +0 -64
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-plusplus.js +0 -105
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-process-env.js +0 -51
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-process-exit.js +0 -47
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-promise-executor-return.js +0 -263
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-proto.js +0 -48
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-prototype-builtins.js +0 -159
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-redeclare.js +0 -174
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-regex-spaces.js +0 -197
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-restricted-exports.js +0 -193
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-restricted-globals.js +0 -124
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-restricted-imports.js +0 -410
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-restricted-modules.js +0 -213
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-restricted-properties.js +0 -168
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-restricted-syntax.js +0 -70
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-return-assign.js +0 -80
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-return-await.js +0 -135
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-script-url.js +0 -61
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-self-assign.js +0 -183
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-self-compare.js +0 -60
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-sequences.js +0 -138
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-setter-return.js +0 -226
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-shadow-restricted-names.js +0 -65
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-shadow.js +0 -336
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-spaced-func.js +0 -83
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-sparse-arrays.js +0 -50
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-sync.js +0 -64
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-tabs.js +0 -81
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-template-curly-in-string.js +0 -44
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-ternary.js +0 -41
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-this-before-super.js +0 -331
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-throw-literal.js +0 -51
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-trailing-spaces.js +0 -193
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-undef-init.js +0 -75
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-undef.js +0 -79
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-undefined.js +0 -86
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-underscore-dangle.js +0 -335
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-unexpected-multiline.js +0 -120
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-unmodified-loop-condition.js +0 -360
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-unneeded-ternary.js +0 -166
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-unreachable-loop.js +0 -185
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-unreachable.js +0 -293
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-unsafe-finally.js +0 -111
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-unsafe-negation.js +0 -128
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-unsafe-optional-chaining.js +0 -205
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-unused-expressions.js +0 -186
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-unused-labels.js +0 -143
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-unused-private-class-members.js +0 -195
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-unused-vars.js +0 -718
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-use-before-define.js +0 -348
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-useless-backreference.js +0 -194
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-useless-call.js +0 -90
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-useless-catch.js +0 -57
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-useless-computed-key.js +0 -168
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/no-useless-concat.js +0 -115
|
@@ -1,932 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview Helper functions for ESLint class
|
|
3
|
-
* @author Nicholas C. Zakas
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
"use strict";
|
|
7
|
-
|
|
8
|
-
//-----------------------------------------------------------------------------
|
|
9
|
-
// Requirements
|
|
10
|
-
//-----------------------------------------------------------------------------
|
|
11
|
-
|
|
12
|
-
const path = require("path");
|
|
13
|
-
const fs = require("fs");
|
|
14
|
-
const fsp = fs.promises;
|
|
15
|
-
const isGlob = require("is-glob");
|
|
16
|
-
const hash = require("../cli-engine/hash");
|
|
17
|
-
const minimatch = require("minimatch");
|
|
18
|
-
const fswalk = require("@nodelib/fs.walk");
|
|
19
|
-
const globParent = require("glob-parent");
|
|
20
|
-
const isPathInside = require("is-path-inside");
|
|
21
|
-
|
|
22
|
-
//-----------------------------------------------------------------------------
|
|
23
|
-
// Fixup references
|
|
24
|
-
//-----------------------------------------------------------------------------
|
|
25
|
-
|
|
26
|
-
const Minimatch = minimatch.Minimatch;
|
|
27
|
-
const MINIMATCH_OPTIONS = { dot: true };
|
|
28
|
-
|
|
29
|
-
//-----------------------------------------------------------------------------
|
|
30
|
-
// Types
|
|
31
|
-
//-----------------------------------------------------------------------------
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
* @typedef {Object} GlobSearch
|
|
35
|
-
* @property {Array<string>} patterns The normalized patterns to use for a search.
|
|
36
|
-
* @property {Array<string>} rawPatterns The patterns as entered by the user
|
|
37
|
-
* before doing any normalization.
|
|
38
|
-
*/
|
|
39
|
-
|
|
40
|
-
//-----------------------------------------------------------------------------
|
|
41
|
-
// Errors
|
|
42
|
-
//-----------------------------------------------------------------------------
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* The error type when no files match a glob.
|
|
46
|
-
*/
|
|
47
|
-
class NoFilesFoundError extends Error {
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* @param {string} pattern The glob pattern which was not found.
|
|
51
|
-
* @param {boolean} globEnabled If `false` then the pattern was a glob pattern, but glob was disabled.
|
|
52
|
-
*/
|
|
53
|
-
constructor(pattern, globEnabled) {
|
|
54
|
-
super(`No files matching '${pattern}' were found${!globEnabled ? " (glob was disabled)" : ""}.`);
|
|
55
|
-
this.messageTemplate = "file-not-found";
|
|
56
|
-
this.messageData = { pattern, globDisabled: !globEnabled };
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* The error type when a search fails to match multiple patterns.
|
|
62
|
-
*/
|
|
63
|
-
class UnmatchedSearchPatternsError extends Error {
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* @param {Object} options The options for the error.
|
|
67
|
-
* @param {string} options.basePath The directory that was searched.
|
|
68
|
-
* @param {Array<string>} options.unmatchedPatterns The glob patterns
|
|
69
|
-
* which were not found.
|
|
70
|
-
* @param {Array<string>} options.patterns The glob patterns that were
|
|
71
|
-
* searched.
|
|
72
|
-
* @param {Array<string>} options.rawPatterns The raw glob patterns that
|
|
73
|
-
* were searched.
|
|
74
|
-
*/
|
|
75
|
-
constructor({ basePath, unmatchedPatterns, patterns, rawPatterns }) {
|
|
76
|
-
super(`No files matching '${rawPatterns}' in '${basePath}' were found.`);
|
|
77
|
-
this.basePath = basePath;
|
|
78
|
-
this.unmatchedPatterns = unmatchedPatterns;
|
|
79
|
-
this.patterns = patterns;
|
|
80
|
-
this.rawPatterns = rawPatterns;
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
/**
|
|
85
|
-
* The error type when there are files matched by a glob, but all of them have been ignored.
|
|
86
|
-
*/
|
|
87
|
-
class AllFilesIgnoredError extends Error {
|
|
88
|
-
|
|
89
|
-
/**
|
|
90
|
-
* @param {string} pattern The glob pattern which was not found.
|
|
91
|
-
*/
|
|
92
|
-
constructor(pattern) {
|
|
93
|
-
super(`All files matched by '${pattern}' are ignored.`);
|
|
94
|
-
this.messageTemplate = "all-files-ignored";
|
|
95
|
-
this.messageData = { pattern };
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
//-----------------------------------------------------------------------------
|
|
101
|
-
// General Helpers
|
|
102
|
-
//-----------------------------------------------------------------------------
|
|
103
|
-
|
|
104
|
-
/**
|
|
105
|
-
* Check if a given value is a non-empty string or not.
|
|
106
|
-
* @param {any} x The value to check.
|
|
107
|
-
* @returns {boolean} `true` if `x` is a non-empty string.
|
|
108
|
-
*/
|
|
109
|
-
function isNonEmptyString(x) {
|
|
110
|
-
return typeof x === "string" && x.trim() !== "";
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
/**
|
|
114
|
-
* Check if a given value is an array of non-empty strings or not.
|
|
115
|
-
* @param {any} x The value to check.
|
|
116
|
-
* @returns {boolean} `true` if `x` is an array of non-empty strings.
|
|
117
|
-
*/
|
|
118
|
-
function isArrayOfNonEmptyString(x) {
|
|
119
|
-
return Array.isArray(x) && x.every(isNonEmptyString);
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
//-----------------------------------------------------------------------------
|
|
123
|
-
// File-related Helpers
|
|
124
|
-
//-----------------------------------------------------------------------------
|
|
125
|
-
|
|
126
|
-
/**
|
|
127
|
-
* Normalizes slashes in a file pattern to posix-style.
|
|
128
|
-
* @param {string} pattern The pattern to replace slashes in.
|
|
129
|
-
* @returns {string} The pattern with slashes normalized.
|
|
130
|
-
*/
|
|
131
|
-
function normalizeToPosix(pattern) {
|
|
132
|
-
return pattern.replace(/\\/gu, "/");
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
/**
|
|
136
|
-
* Check if a string is a glob pattern or not.
|
|
137
|
-
* @param {string} pattern A glob pattern.
|
|
138
|
-
* @returns {boolean} `true` if the string is a glob pattern.
|
|
139
|
-
*/
|
|
140
|
-
function isGlobPattern(pattern) {
|
|
141
|
-
return isGlob(path.sep === "\\" ? normalizeToPosix(pattern) : pattern);
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
/**
|
|
146
|
-
* Determines if a given glob pattern will return any results.
|
|
147
|
-
* Used primarily to help with useful error messages.
|
|
148
|
-
* @param {Object} options The options for the function.
|
|
149
|
-
* @param {string} options.basePath The directory to search.
|
|
150
|
-
* @param {string} options.pattern A glob pattern to match.
|
|
151
|
-
* @returns {Promise<boolean>} True if there is a glob match, false if not.
|
|
152
|
-
*/
|
|
153
|
-
function globMatch({ basePath, pattern }) {
|
|
154
|
-
|
|
155
|
-
let found = false;
|
|
156
|
-
const patternToUse = path.isAbsolute(pattern)
|
|
157
|
-
? normalizeToPosix(path.relative(basePath, pattern))
|
|
158
|
-
: pattern;
|
|
159
|
-
|
|
160
|
-
const matcher = new Minimatch(patternToUse, MINIMATCH_OPTIONS);
|
|
161
|
-
|
|
162
|
-
const fsWalkSettings = {
|
|
163
|
-
|
|
164
|
-
deepFilter(entry) {
|
|
165
|
-
const relativePath = normalizeToPosix(path.relative(basePath, entry.path));
|
|
166
|
-
|
|
167
|
-
return !found && matcher.match(relativePath, true);
|
|
168
|
-
},
|
|
169
|
-
|
|
170
|
-
entryFilter(entry) {
|
|
171
|
-
if (found || entry.dirent.isDirectory()) {
|
|
172
|
-
return false;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
const relativePath = normalizeToPosix(path.relative(basePath, entry.path));
|
|
176
|
-
|
|
177
|
-
if (matcher.match(relativePath)) {
|
|
178
|
-
found = true;
|
|
179
|
-
return true;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
return false;
|
|
183
|
-
}
|
|
184
|
-
};
|
|
185
|
-
|
|
186
|
-
return new Promise(resolve => {
|
|
187
|
-
|
|
188
|
-
// using a stream so we can exit early because we just need one match
|
|
189
|
-
const globStream = fswalk.walkStream(basePath, fsWalkSettings);
|
|
190
|
-
|
|
191
|
-
globStream.on("data", () => {
|
|
192
|
-
globStream.destroy();
|
|
193
|
-
resolve(true);
|
|
194
|
-
});
|
|
195
|
-
|
|
196
|
-
// swallow errors as they're not important here
|
|
197
|
-
globStream.on("error", () => { });
|
|
198
|
-
|
|
199
|
-
globStream.on("end", () => {
|
|
200
|
-
resolve(false);
|
|
201
|
-
});
|
|
202
|
-
globStream.read();
|
|
203
|
-
});
|
|
204
|
-
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
/**
|
|
208
|
-
* Searches a directory looking for matching glob patterns. This uses
|
|
209
|
-
* the config array's logic to determine if a directory or file should
|
|
210
|
-
* be ignored, so it is consistent with how ignoring works throughout
|
|
211
|
-
* ESLint.
|
|
212
|
-
* @param {Object} options The options for this function.
|
|
213
|
-
* @param {string} options.basePath The directory to search.
|
|
214
|
-
* @param {Array<string>} options.patterns An array of glob patterns
|
|
215
|
-
* to match.
|
|
216
|
-
* @param {Array<string>} options.rawPatterns An array of glob patterns
|
|
217
|
-
* as the user inputted them. Used for errors.
|
|
218
|
-
* @param {FlatConfigArray} options.configs The config array to use for
|
|
219
|
-
* determining what to ignore.
|
|
220
|
-
* @param {boolean} options.errorOnUnmatchedPattern Determines if an error
|
|
221
|
-
* should be thrown when a pattern is unmatched.
|
|
222
|
-
* @returns {Promise<Array<string>>} An array of matching file paths
|
|
223
|
-
* or an empty array if there are no matches.
|
|
224
|
-
* @throws {UnmatchedSearchPatternsError} If there is a pattern that doesn't
|
|
225
|
-
* match any files.
|
|
226
|
-
*/
|
|
227
|
-
async function globSearch({
|
|
228
|
-
basePath,
|
|
229
|
-
patterns,
|
|
230
|
-
rawPatterns,
|
|
231
|
-
configs,
|
|
232
|
-
errorOnUnmatchedPattern
|
|
233
|
-
}) {
|
|
234
|
-
|
|
235
|
-
if (patterns.length === 0) {
|
|
236
|
-
return [];
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
/*
|
|
240
|
-
* In this section we are converting the patterns into Minimatch
|
|
241
|
-
* instances for performance reasons. Because we are doing the same
|
|
242
|
-
* matches repeatedly, it's best to compile those patterns once and
|
|
243
|
-
* reuse them multiple times.
|
|
244
|
-
*
|
|
245
|
-
* To do that, we convert any patterns with an absolute path into a
|
|
246
|
-
* relative path and normalize it to Posix-style slashes. We also keep
|
|
247
|
-
* track of the relative patterns to map them back to the original
|
|
248
|
-
* patterns, which we need in order to throw an error if there are any
|
|
249
|
-
* unmatched patterns.
|
|
250
|
-
*/
|
|
251
|
-
const relativeToPatterns = new Map();
|
|
252
|
-
const matchers = patterns.map((pattern, i) => {
|
|
253
|
-
const patternToUse = path.isAbsolute(pattern)
|
|
254
|
-
? normalizeToPosix(path.relative(basePath, pattern))
|
|
255
|
-
: pattern;
|
|
256
|
-
|
|
257
|
-
relativeToPatterns.set(patternToUse, patterns[i]);
|
|
258
|
-
|
|
259
|
-
return new Minimatch(patternToUse, MINIMATCH_OPTIONS);
|
|
260
|
-
});
|
|
261
|
-
|
|
262
|
-
/*
|
|
263
|
-
* We track unmatched patterns because we may want to throw an error when
|
|
264
|
-
* they occur. To start, this set is initialized with all of the patterns.
|
|
265
|
-
* Every time a match occurs, the pattern is removed from the set, making
|
|
266
|
-
* it easy to tell if we have any unmatched patterns left at the end of
|
|
267
|
-
* search.
|
|
268
|
-
*/
|
|
269
|
-
const unmatchedPatterns = new Set([...relativeToPatterns.keys()]);
|
|
270
|
-
|
|
271
|
-
const filePaths = (await new Promise((resolve, reject) => {
|
|
272
|
-
|
|
273
|
-
let promiseRejected = false;
|
|
274
|
-
|
|
275
|
-
/**
|
|
276
|
-
* Wraps a boolean-returning filter function. The wrapped function will reject the promise if an error occurs.
|
|
277
|
-
* @param {Function} filter A filter function to wrap.
|
|
278
|
-
* @returns {Function} A function similar to the wrapped filter that rejects the promise if an error occurs.
|
|
279
|
-
*/
|
|
280
|
-
function wrapFilter(filter) {
|
|
281
|
-
return (...args) => {
|
|
282
|
-
|
|
283
|
-
// No need to run the filter if an error has been thrown.
|
|
284
|
-
if (!promiseRejected) {
|
|
285
|
-
try {
|
|
286
|
-
return filter(...args);
|
|
287
|
-
} catch (error) {
|
|
288
|
-
promiseRejected = true;
|
|
289
|
-
reject(error);
|
|
290
|
-
}
|
|
291
|
-
}
|
|
292
|
-
return false;
|
|
293
|
-
};
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
fswalk.walk(
|
|
297
|
-
basePath,
|
|
298
|
-
{
|
|
299
|
-
deepFilter: wrapFilter(entry => {
|
|
300
|
-
const relativePath = normalizeToPosix(path.relative(basePath, entry.path));
|
|
301
|
-
const matchesPattern = matchers.some(matcher => matcher.match(relativePath, true));
|
|
302
|
-
|
|
303
|
-
return matchesPattern && !configs.isDirectoryIgnored(entry.path);
|
|
304
|
-
}),
|
|
305
|
-
entryFilter: wrapFilter(entry => {
|
|
306
|
-
const relativePath = normalizeToPosix(path.relative(basePath, entry.path));
|
|
307
|
-
|
|
308
|
-
// entries may be directories or files so filter out directories
|
|
309
|
-
if (entry.dirent.isDirectory()) {
|
|
310
|
-
return false;
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
/*
|
|
314
|
-
* Optimization: We need to track when patterns are left unmatched
|
|
315
|
-
* and so we use `unmatchedPatterns` to do that. There is a bit of
|
|
316
|
-
* complexity here because the same file can be matched by more than
|
|
317
|
-
* one pattern. So, when we start, we actually need to test every
|
|
318
|
-
* pattern against every file. Once we know there are no remaining
|
|
319
|
-
* unmatched patterns, then we can switch to just looking for the
|
|
320
|
-
* first matching pattern for improved speed.
|
|
321
|
-
*/
|
|
322
|
-
const matchesPattern = unmatchedPatterns.size > 0
|
|
323
|
-
? matchers.reduce((previousValue, matcher) => {
|
|
324
|
-
const pathMatches = matcher.match(relativePath);
|
|
325
|
-
|
|
326
|
-
/*
|
|
327
|
-
* We updated the unmatched patterns set only if the path
|
|
328
|
-
* matches and the file isn't ignored. If the file is
|
|
329
|
-
* ignored, that means there wasn't a match for the
|
|
330
|
-
* pattern so it should not be removed.
|
|
331
|
-
*
|
|
332
|
-
* Performance note: isFileIgnored() aggressively caches
|
|
333
|
-
* results so there is no performance penalty for calling
|
|
334
|
-
* it twice with the same argument.
|
|
335
|
-
*/
|
|
336
|
-
if (pathMatches && !configs.isFileIgnored(entry.path)) {
|
|
337
|
-
unmatchedPatterns.delete(matcher.pattern);
|
|
338
|
-
}
|
|
339
|
-
|
|
340
|
-
return pathMatches || previousValue;
|
|
341
|
-
}, false)
|
|
342
|
-
: matchers.some(matcher => matcher.match(relativePath));
|
|
343
|
-
|
|
344
|
-
return matchesPattern && !configs.isFileIgnored(entry.path);
|
|
345
|
-
})
|
|
346
|
-
},
|
|
347
|
-
(error, entries) => {
|
|
348
|
-
|
|
349
|
-
// If the promise is already rejected, calling `resolve` or `reject` will do nothing.
|
|
350
|
-
if (error) {
|
|
351
|
-
reject(error);
|
|
352
|
-
} else {
|
|
353
|
-
resolve(entries);
|
|
354
|
-
}
|
|
355
|
-
}
|
|
356
|
-
);
|
|
357
|
-
})).map(entry => entry.path);
|
|
358
|
-
|
|
359
|
-
// now check to see if we have any unmatched patterns
|
|
360
|
-
if (errorOnUnmatchedPattern && unmatchedPatterns.size > 0) {
|
|
361
|
-
throw new UnmatchedSearchPatternsError({
|
|
362
|
-
basePath,
|
|
363
|
-
unmatchedPatterns: [...unmatchedPatterns].map(
|
|
364
|
-
pattern => relativeToPatterns.get(pattern)
|
|
365
|
-
),
|
|
366
|
-
patterns,
|
|
367
|
-
rawPatterns
|
|
368
|
-
});
|
|
369
|
-
}
|
|
370
|
-
|
|
371
|
-
return filePaths;
|
|
372
|
-
}
|
|
373
|
-
|
|
374
|
-
/**
|
|
375
|
-
* Throws an error for unmatched patterns. The error will only contain information about the first one.
|
|
376
|
-
* Checks to see if there are any ignored results for a given search.
|
|
377
|
-
* @param {Object} options The options for this function.
|
|
378
|
-
* @param {string} options.basePath The directory to search.
|
|
379
|
-
* @param {Array<string>} options.patterns An array of glob patterns
|
|
380
|
-
* that were used in the original search.
|
|
381
|
-
* @param {Array<string>} options.rawPatterns An array of glob patterns
|
|
382
|
-
* as the user inputted them. Used for errors.
|
|
383
|
-
* @param {Array<string>} options.unmatchedPatterns A non-empty array of glob patterns
|
|
384
|
-
* that were unmatched in the original search.
|
|
385
|
-
* @returns {void} Always throws an error.
|
|
386
|
-
* @throws {NoFilesFoundError} If the first unmatched pattern
|
|
387
|
-
* doesn't match any files even when there are no ignores.
|
|
388
|
-
* @throws {AllFilesIgnoredError} If the first unmatched pattern
|
|
389
|
-
* matches some files when there are no ignores.
|
|
390
|
-
*/
|
|
391
|
-
async function throwErrorForUnmatchedPatterns({
|
|
392
|
-
basePath,
|
|
393
|
-
patterns,
|
|
394
|
-
rawPatterns,
|
|
395
|
-
unmatchedPatterns
|
|
396
|
-
}) {
|
|
397
|
-
|
|
398
|
-
const pattern = unmatchedPatterns[0];
|
|
399
|
-
const rawPattern = rawPatterns[patterns.indexOf(pattern)];
|
|
400
|
-
|
|
401
|
-
const patternHasMatch = await globMatch({
|
|
402
|
-
basePath,
|
|
403
|
-
pattern
|
|
404
|
-
});
|
|
405
|
-
|
|
406
|
-
if (patternHasMatch) {
|
|
407
|
-
throw new AllFilesIgnoredError(rawPattern);
|
|
408
|
-
}
|
|
409
|
-
|
|
410
|
-
// if we get here there are truly no matches
|
|
411
|
-
throw new NoFilesFoundError(rawPattern, true);
|
|
412
|
-
}
|
|
413
|
-
|
|
414
|
-
/**
|
|
415
|
-
* Performs multiple glob searches in parallel.
|
|
416
|
-
* @param {Object} options The options for this function.
|
|
417
|
-
* @param {Map<string,GlobSearch>} options.searches
|
|
418
|
-
* An array of glob patterns to match.
|
|
419
|
-
* @param {FlatConfigArray} options.configs The config array to use for
|
|
420
|
-
* determining what to ignore.
|
|
421
|
-
* @param {boolean} options.errorOnUnmatchedPattern Determines if an
|
|
422
|
-
* unmatched glob pattern should throw an error.
|
|
423
|
-
* @returns {Promise<Array<string>>} An array of matching file paths
|
|
424
|
-
* or an empty array if there are no matches.
|
|
425
|
-
*/
|
|
426
|
-
async function globMultiSearch({ searches, configs, errorOnUnmatchedPattern }) {
|
|
427
|
-
|
|
428
|
-
/*
|
|
429
|
-
* For convenience, we normalized the search map into an array of objects.
|
|
430
|
-
* Next, we filter out all searches that have no patterns. This happens
|
|
431
|
-
* primarily for the cwd, which is prepopulated in the searches map as an
|
|
432
|
-
* optimization. However, if it has no patterns, it means all patterns
|
|
433
|
-
* occur outside of the cwd and we can safely filter out that search.
|
|
434
|
-
*/
|
|
435
|
-
const normalizedSearches = [...searches].map(
|
|
436
|
-
([basePath, { patterns, rawPatterns }]) => ({ basePath, patterns, rawPatterns })
|
|
437
|
-
).filter(({ patterns }) => patterns.length > 0);
|
|
438
|
-
|
|
439
|
-
const results = await Promise.allSettled(
|
|
440
|
-
normalizedSearches.map(
|
|
441
|
-
({ basePath, patterns, rawPatterns }) => globSearch({
|
|
442
|
-
basePath,
|
|
443
|
-
patterns,
|
|
444
|
-
rawPatterns,
|
|
445
|
-
configs,
|
|
446
|
-
errorOnUnmatchedPattern
|
|
447
|
-
})
|
|
448
|
-
)
|
|
449
|
-
);
|
|
450
|
-
|
|
451
|
-
const filePaths = [];
|
|
452
|
-
|
|
453
|
-
for (let i = 0; i < results.length; i++) {
|
|
454
|
-
|
|
455
|
-
const result = results[i];
|
|
456
|
-
const currentSearch = normalizedSearches[i];
|
|
457
|
-
|
|
458
|
-
if (result.status === "fulfilled") {
|
|
459
|
-
|
|
460
|
-
// if the search was successful just add the results
|
|
461
|
-
if (result.value.length > 0) {
|
|
462
|
-
filePaths.push(...result.value);
|
|
463
|
-
}
|
|
464
|
-
|
|
465
|
-
continue;
|
|
466
|
-
}
|
|
467
|
-
|
|
468
|
-
// if we make it here then there was an error
|
|
469
|
-
const error = result.reason;
|
|
470
|
-
|
|
471
|
-
// unexpected errors should be re-thrown
|
|
472
|
-
if (!error.basePath) {
|
|
473
|
-
throw error;
|
|
474
|
-
}
|
|
475
|
-
|
|
476
|
-
if (errorOnUnmatchedPattern) {
|
|
477
|
-
|
|
478
|
-
await throwErrorForUnmatchedPatterns({
|
|
479
|
-
...currentSearch,
|
|
480
|
-
unmatchedPatterns: error.unmatchedPatterns
|
|
481
|
-
});
|
|
482
|
-
|
|
483
|
-
}
|
|
484
|
-
|
|
485
|
-
}
|
|
486
|
-
|
|
487
|
-
return filePaths;
|
|
488
|
-
|
|
489
|
-
}
|
|
490
|
-
|
|
491
|
-
/**
|
|
492
|
-
* Finds all files matching the options specified.
|
|
493
|
-
* @param {Object} args The arguments objects.
|
|
494
|
-
* @param {Array<string>} args.patterns An array of glob patterns.
|
|
495
|
-
* @param {boolean} args.globInputPaths true to interpret glob patterns,
|
|
496
|
-
* false to not interpret glob patterns.
|
|
497
|
-
* @param {string} args.cwd The current working directory to find from.
|
|
498
|
-
* @param {FlatConfigArray} args.configs The configs for the current run.
|
|
499
|
-
* @param {boolean} args.errorOnUnmatchedPattern Determines if an unmatched pattern
|
|
500
|
-
* should throw an error.
|
|
501
|
-
* @returns {Promise<Array<string>>} The fully resolved file paths.
|
|
502
|
-
* @throws {AllFilesIgnoredError} If there are no results due to an ignore pattern.
|
|
503
|
-
* @throws {NoFilesFoundError} If no files matched the given patterns.
|
|
504
|
-
*/
|
|
505
|
-
async function findFiles({
|
|
506
|
-
patterns,
|
|
507
|
-
globInputPaths,
|
|
508
|
-
cwd,
|
|
509
|
-
configs,
|
|
510
|
-
errorOnUnmatchedPattern
|
|
511
|
-
}) {
|
|
512
|
-
|
|
513
|
-
const results = [];
|
|
514
|
-
const missingPatterns = [];
|
|
515
|
-
let globbyPatterns = [];
|
|
516
|
-
let rawPatterns = [];
|
|
517
|
-
const searches = new Map([[cwd, { patterns: globbyPatterns, rawPatterns: [] }]]);
|
|
518
|
-
|
|
519
|
-
// check to see if we have explicit files and directories
|
|
520
|
-
const filePaths = patterns.map(filePath => path.resolve(cwd, filePath));
|
|
521
|
-
const stats = await Promise.all(
|
|
522
|
-
filePaths.map(
|
|
523
|
-
filePath => fsp.stat(filePath).catch(() => { })
|
|
524
|
-
)
|
|
525
|
-
);
|
|
526
|
-
|
|
527
|
-
stats.forEach((stat, index) => {
|
|
528
|
-
|
|
529
|
-
const filePath = filePaths[index];
|
|
530
|
-
const pattern = normalizeToPosix(patterns[index]);
|
|
531
|
-
|
|
532
|
-
if (stat) {
|
|
533
|
-
|
|
534
|
-
// files are added directly to the list
|
|
535
|
-
if (stat.isFile()) {
|
|
536
|
-
results.push(filePath);
|
|
537
|
-
}
|
|
538
|
-
|
|
539
|
-
// directories need extensions attached
|
|
540
|
-
if (stat.isDirectory()) {
|
|
541
|
-
|
|
542
|
-
// group everything in cwd together and split out others
|
|
543
|
-
if (isPathInside(filePath, cwd)) {
|
|
544
|
-
({ patterns: globbyPatterns, rawPatterns } = searches.get(cwd));
|
|
545
|
-
} else {
|
|
546
|
-
if (!searches.has(filePath)) {
|
|
547
|
-
searches.set(filePath, { patterns: [], rawPatterns: [] });
|
|
548
|
-
}
|
|
549
|
-
({ patterns: globbyPatterns, rawPatterns } = searches.get(filePath));
|
|
550
|
-
}
|
|
551
|
-
|
|
552
|
-
globbyPatterns.push(`${normalizeToPosix(filePath)}/**`);
|
|
553
|
-
rawPatterns.push(pattern);
|
|
554
|
-
}
|
|
555
|
-
|
|
556
|
-
return;
|
|
557
|
-
}
|
|
558
|
-
|
|
559
|
-
// save patterns for later use based on whether globs are enabled
|
|
560
|
-
if (globInputPaths && isGlobPattern(pattern)) {
|
|
561
|
-
|
|
562
|
-
const basePath = path.resolve(cwd, globParent(pattern));
|
|
563
|
-
|
|
564
|
-
// group in cwd if possible and split out others
|
|
565
|
-
if (isPathInside(basePath, cwd)) {
|
|
566
|
-
({ patterns: globbyPatterns, rawPatterns } = searches.get(cwd));
|
|
567
|
-
} else {
|
|
568
|
-
if (!searches.has(basePath)) {
|
|
569
|
-
searches.set(basePath, { patterns: [], rawPatterns: [] });
|
|
570
|
-
}
|
|
571
|
-
({ patterns: globbyPatterns, rawPatterns } = searches.get(basePath));
|
|
572
|
-
}
|
|
573
|
-
|
|
574
|
-
globbyPatterns.push(filePath);
|
|
575
|
-
rawPatterns.push(pattern);
|
|
576
|
-
} else {
|
|
577
|
-
missingPatterns.push(pattern);
|
|
578
|
-
}
|
|
579
|
-
});
|
|
580
|
-
|
|
581
|
-
// there were patterns that didn't match anything, tell the user
|
|
582
|
-
if (errorOnUnmatchedPattern && missingPatterns.length) {
|
|
583
|
-
throw new NoFilesFoundError(missingPatterns[0], globInputPaths);
|
|
584
|
-
}
|
|
585
|
-
|
|
586
|
-
// now we are safe to do the search
|
|
587
|
-
const globbyResults = await globMultiSearch({
|
|
588
|
-
searches,
|
|
589
|
-
configs,
|
|
590
|
-
errorOnUnmatchedPattern
|
|
591
|
-
});
|
|
592
|
-
|
|
593
|
-
return [
|
|
594
|
-
...new Set([
|
|
595
|
-
...results,
|
|
596
|
-
...globbyResults.map(filePath => path.resolve(filePath))
|
|
597
|
-
])
|
|
598
|
-
];
|
|
599
|
-
}
|
|
600
|
-
|
|
601
|
-
//-----------------------------------------------------------------------------
|
|
602
|
-
// Results-related Helpers
|
|
603
|
-
//-----------------------------------------------------------------------------
|
|
604
|
-
|
|
605
|
-
/**
|
|
606
|
-
* Checks if the given message is an error message.
|
|
607
|
-
* @param {LintMessage} message The message to check.
|
|
608
|
-
* @returns {boolean} Whether or not the message is an error message.
|
|
609
|
-
* @private
|
|
610
|
-
*/
|
|
611
|
-
function isErrorMessage(message) {
|
|
612
|
-
return message.severity === 2;
|
|
613
|
-
}
|
|
614
|
-
|
|
615
|
-
/**
|
|
616
|
-
* Returns result with warning by ignore settings
|
|
617
|
-
* @param {string} filePath File path of checked code
|
|
618
|
-
* @param {string} baseDir Absolute path of base directory
|
|
619
|
-
* @returns {LintResult} Result with single warning
|
|
620
|
-
* @private
|
|
621
|
-
*/
|
|
622
|
-
function createIgnoreResult(filePath, baseDir) {
|
|
623
|
-
let message;
|
|
624
|
-
const isInNodeModules = baseDir && path.dirname(path.relative(baseDir, filePath)).split(path.sep).includes("node_modules");
|
|
625
|
-
|
|
626
|
-
if (isInNodeModules) {
|
|
627
|
-
message = "File ignored by default because it is located under the node_modules directory. Use ignore pattern \"!**/node_modules/\" to disable file ignore settings or use \"--no-warn-ignored\" to suppress this warning.";
|
|
628
|
-
} else {
|
|
629
|
-
message = "File ignored because of a matching ignore pattern. Use \"--no-ignore\" to disable file ignore settings or use \"--no-warn-ignored\" to suppress this warning.";
|
|
630
|
-
}
|
|
631
|
-
|
|
632
|
-
return {
|
|
633
|
-
filePath: path.resolve(filePath),
|
|
634
|
-
messages: [
|
|
635
|
-
{
|
|
636
|
-
ruleId: null,
|
|
637
|
-
fatal: false,
|
|
638
|
-
severity: 1,
|
|
639
|
-
message,
|
|
640
|
-
nodeType: null
|
|
641
|
-
}
|
|
642
|
-
],
|
|
643
|
-
suppressedMessages: [],
|
|
644
|
-
errorCount: 0,
|
|
645
|
-
warningCount: 1,
|
|
646
|
-
fatalErrorCount: 0,
|
|
647
|
-
fixableErrorCount: 0,
|
|
648
|
-
fixableWarningCount: 0
|
|
649
|
-
};
|
|
650
|
-
}
|
|
651
|
-
|
|
652
|
-
//-----------------------------------------------------------------------------
|
|
653
|
-
// Options-related Helpers
|
|
654
|
-
//-----------------------------------------------------------------------------
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
/**
|
|
658
|
-
* Check if a given value is a valid fix type or not.
|
|
659
|
-
* @param {any} x The value to check.
|
|
660
|
-
* @returns {boolean} `true` if `x` is valid fix type.
|
|
661
|
-
*/
|
|
662
|
-
function isFixType(x) {
|
|
663
|
-
return x === "directive" || x === "problem" || x === "suggestion" || x === "layout";
|
|
664
|
-
}
|
|
665
|
-
|
|
666
|
-
/**
|
|
667
|
-
* Check if a given value is an array of fix types or not.
|
|
668
|
-
* @param {any} x The value to check.
|
|
669
|
-
* @returns {boolean} `true` if `x` is an array of fix types.
|
|
670
|
-
*/
|
|
671
|
-
function isFixTypeArray(x) {
|
|
672
|
-
return Array.isArray(x) && x.every(isFixType);
|
|
673
|
-
}
|
|
674
|
-
|
|
675
|
-
/**
|
|
676
|
-
* The error for invalid options.
|
|
677
|
-
*/
|
|
678
|
-
class ESLintInvalidOptionsError extends Error {
|
|
679
|
-
constructor(messages) {
|
|
680
|
-
super(`Invalid Options:\n- ${messages.join("\n- ")}`);
|
|
681
|
-
this.code = "ESLINT_INVALID_OPTIONS";
|
|
682
|
-
Error.captureStackTrace(this, ESLintInvalidOptionsError);
|
|
683
|
-
}
|
|
684
|
-
}
|
|
685
|
-
|
|
686
|
-
/**
|
|
687
|
-
* Validates and normalizes options for the wrapped CLIEngine instance.
|
|
688
|
-
* @param {FlatESLintOptions} options The options to process.
|
|
689
|
-
* @throws {ESLintInvalidOptionsError} If of any of a variety of type errors.
|
|
690
|
-
* @returns {FlatESLintOptions} The normalized options.
|
|
691
|
-
*/
|
|
692
|
-
function processOptions({
|
|
693
|
-
allowInlineConfig = true, // ← we cannot use `overrideConfig.noInlineConfig` instead because `allowInlineConfig` has side-effect that suppress warnings that show inline configs are ignored.
|
|
694
|
-
baseConfig = null,
|
|
695
|
-
cache = false,
|
|
696
|
-
cacheLocation = ".eslintcache",
|
|
697
|
-
cacheStrategy = "metadata",
|
|
698
|
-
cwd = process.cwd(),
|
|
699
|
-
errorOnUnmatchedPattern = true,
|
|
700
|
-
fix = false,
|
|
701
|
-
fixTypes = null, // ← should be null by default because if it's an array then it suppresses rules that don't have the `meta.type` property.
|
|
702
|
-
globInputPaths = true,
|
|
703
|
-
ignore = true,
|
|
704
|
-
ignorePatterns = null,
|
|
705
|
-
overrideConfig = null,
|
|
706
|
-
overrideConfigFile = null,
|
|
707
|
-
plugins = {},
|
|
708
|
-
warnIgnored = true,
|
|
709
|
-
...unknownOptions
|
|
710
|
-
}) {
|
|
711
|
-
const errors = [];
|
|
712
|
-
const unknownOptionKeys = Object.keys(unknownOptions);
|
|
713
|
-
|
|
714
|
-
if (unknownOptionKeys.length >= 1) {
|
|
715
|
-
errors.push(`Unknown options: ${unknownOptionKeys.join(", ")}`);
|
|
716
|
-
if (unknownOptionKeys.includes("cacheFile")) {
|
|
717
|
-
errors.push("'cacheFile' has been removed. Please use the 'cacheLocation' option instead.");
|
|
718
|
-
}
|
|
719
|
-
if (unknownOptionKeys.includes("configFile")) {
|
|
720
|
-
errors.push("'configFile' has been removed. Please use the 'overrideConfigFile' option instead.");
|
|
721
|
-
}
|
|
722
|
-
if (unknownOptionKeys.includes("envs")) {
|
|
723
|
-
errors.push("'envs' has been removed.");
|
|
724
|
-
}
|
|
725
|
-
if (unknownOptionKeys.includes("extensions")) {
|
|
726
|
-
errors.push("'extensions' has been removed.");
|
|
727
|
-
}
|
|
728
|
-
if (unknownOptionKeys.includes("resolvePluginsRelativeTo")) {
|
|
729
|
-
errors.push("'resolvePluginsRelativeTo' has been removed.");
|
|
730
|
-
}
|
|
731
|
-
if (unknownOptionKeys.includes("globals")) {
|
|
732
|
-
errors.push("'globals' has been removed. Please use the 'overrideConfig.languageOptions.globals' option instead.");
|
|
733
|
-
}
|
|
734
|
-
if (unknownOptionKeys.includes("ignorePath")) {
|
|
735
|
-
errors.push("'ignorePath' has been removed.");
|
|
736
|
-
}
|
|
737
|
-
if (unknownOptionKeys.includes("ignorePattern")) {
|
|
738
|
-
errors.push("'ignorePattern' has been removed. Please use the 'overrideConfig.ignorePatterns' option instead.");
|
|
739
|
-
}
|
|
740
|
-
if (unknownOptionKeys.includes("parser")) {
|
|
741
|
-
errors.push("'parser' has been removed. Please use the 'overrideConfig.languageOptions.parser' option instead.");
|
|
742
|
-
}
|
|
743
|
-
if (unknownOptionKeys.includes("parserOptions")) {
|
|
744
|
-
errors.push("'parserOptions' has been removed. Please use the 'overrideConfig.languageOptions.parserOptions' option instead.");
|
|
745
|
-
}
|
|
746
|
-
if (unknownOptionKeys.includes("rules")) {
|
|
747
|
-
errors.push("'rules' has been removed. Please use the 'overrideConfig.rules' option instead.");
|
|
748
|
-
}
|
|
749
|
-
if (unknownOptionKeys.includes("rulePaths")) {
|
|
750
|
-
errors.push("'rulePaths' has been removed. Please define your rules using plugins.");
|
|
751
|
-
}
|
|
752
|
-
if (unknownOptionKeys.includes("reportUnusedDisableDirectives")) {
|
|
753
|
-
errors.push("'reportUnusedDisableDirectives' has been removed. Please use the 'overrideConfig.linterOptions.reportUnusedDisableDirectives' option instead.");
|
|
754
|
-
}
|
|
755
|
-
}
|
|
756
|
-
if (typeof allowInlineConfig !== "boolean") {
|
|
757
|
-
errors.push("'allowInlineConfig' must be a boolean.");
|
|
758
|
-
}
|
|
759
|
-
if (typeof baseConfig !== "object") {
|
|
760
|
-
errors.push("'baseConfig' must be an object or null.");
|
|
761
|
-
}
|
|
762
|
-
if (typeof cache !== "boolean") {
|
|
763
|
-
errors.push("'cache' must be a boolean.");
|
|
764
|
-
}
|
|
765
|
-
if (!isNonEmptyString(cacheLocation)) {
|
|
766
|
-
errors.push("'cacheLocation' must be a non-empty string.");
|
|
767
|
-
}
|
|
768
|
-
if (
|
|
769
|
-
cacheStrategy !== "metadata" &&
|
|
770
|
-
cacheStrategy !== "content"
|
|
771
|
-
) {
|
|
772
|
-
errors.push("'cacheStrategy' must be any of \"metadata\", \"content\".");
|
|
773
|
-
}
|
|
774
|
-
if (!isNonEmptyString(cwd) || !path.isAbsolute(cwd)) {
|
|
775
|
-
errors.push("'cwd' must be an absolute path.");
|
|
776
|
-
}
|
|
777
|
-
if (typeof errorOnUnmatchedPattern !== "boolean") {
|
|
778
|
-
errors.push("'errorOnUnmatchedPattern' must be a boolean.");
|
|
779
|
-
}
|
|
780
|
-
if (typeof fix !== "boolean" && typeof fix !== "function") {
|
|
781
|
-
errors.push("'fix' must be a boolean or a function.");
|
|
782
|
-
}
|
|
783
|
-
if (fixTypes !== null && !isFixTypeArray(fixTypes)) {
|
|
784
|
-
errors.push("'fixTypes' must be an array of any of \"directive\", \"problem\", \"suggestion\", and \"layout\".");
|
|
785
|
-
}
|
|
786
|
-
if (typeof globInputPaths !== "boolean") {
|
|
787
|
-
errors.push("'globInputPaths' must be a boolean.");
|
|
788
|
-
}
|
|
789
|
-
if (typeof ignore !== "boolean") {
|
|
790
|
-
errors.push("'ignore' must be a boolean.");
|
|
791
|
-
}
|
|
792
|
-
if (!isArrayOfNonEmptyString(ignorePatterns) && ignorePatterns !== null) {
|
|
793
|
-
errors.push("'ignorePatterns' must be an array of non-empty strings or null.");
|
|
794
|
-
}
|
|
795
|
-
if (typeof overrideConfig !== "object") {
|
|
796
|
-
errors.push("'overrideConfig' must be an object or null.");
|
|
797
|
-
}
|
|
798
|
-
if (!isNonEmptyString(overrideConfigFile) && overrideConfigFile !== null && overrideConfigFile !== true) {
|
|
799
|
-
errors.push("'overrideConfigFile' must be a non-empty string, null, or true.");
|
|
800
|
-
}
|
|
801
|
-
if (typeof plugins !== "object") {
|
|
802
|
-
errors.push("'plugins' must be an object or null.");
|
|
803
|
-
} else if (plugins !== null && Object.keys(plugins).includes("")) {
|
|
804
|
-
errors.push("'plugins' must not include an empty string.");
|
|
805
|
-
}
|
|
806
|
-
if (Array.isArray(plugins)) {
|
|
807
|
-
errors.push("'plugins' doesn't add plugins to configuration to load. Please use the 'overrideConfig.plugins' option instead.");
|
|
808
|
-
}
|
|
809
|
-
if (typeof warnIgnored !== "boolean") {
|
|
810
|
-
errors.push("'warnIgnored' must be a boolean.");
|
|
811
|
-
}
|
|
812
|
-
if (errors.length > 0) {
|
|
813
|
-
throw new ESLintInvalidOptionsError(errors);
|
|
814
|
-
}
|
|
815
|
-
|
|
816
|
-
return {
|
|
817
|
-
allowInlineConfig,
|
|
818
|
-
baseConfig,
|
|
819
|
-
cache,
|
|
820
|
-
cacheLocation,
|
|
821
|
-
cacheStrategy,
|
|
822
|
-
|
|
823
|
-
// when overrideConfigFile is true that means don't do config file lookup
|
|
824
|
-
configFile: overrideConfigFile === true ? false : overrideConfigFile,
|
|
825
|
-
overrideConfig,
|
|
826
|
-
cwd: path.normalize(cwd),
|
|
827
|
-
errorOnUnmatchedPattern,
|
|
828
|
-
fix,
|
|
829
|
-
fixTypes,
|
|
830
|
-
globInputPaths,
|
|
831
|
-
ignore,
|
|
832
|
-
ignorePatterns,
|
|
833
|
-
warnIgnored
|
|
834
|
-
};
|
|
835
|
-
}
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
//-----------------------------------------------------------------------------
|
|
839
|
-
// Cache-related helpers
|
|
840
|
-
//-----------------------------------------------------------------------------
|
|
841
|
-
|
|
842
|
-
/**
|
|
843
|
-
* return the cacheFile to be used by eslint, based on whether the provided parameter is
|
|
844
|
-
* a directory or looks like a directory (ends in `path.sep`), in which case the file
|
|
845
|
-
* name will be the `cacheFile/.cache_hashOfCWD`
|
|
846
|
-
*
|
|
847
|
-
* if cacheFile points to a file or looks like a file then in will just use that file
|
|
848
|
-
* @param {string} cacheFile The name of file to be used to store the cache
|
|
849
|
-
* @param {string} cwd Current working directory
|
|
850
|
-
* @returns {string} the resolved path to the cache file
|
|
851
|
-
*/
|
|
852
|
-
function getCacheFile(cacheFile, cwd) {
|
|
853
|
-
|
|
854
|
-
/*
|
|
855
|
-
* make sure the path separators are normalized for the environment/os
|
|
856
|
-
* keeping the trailing path separator if present
|
|
857
|
-
*/
|
|
858
|
-
const normalizedCacheFile = path.normalize(cacheFile);
|
|
859
|
-
|
|
860
|
-
const resolvedCacheFile = path.resolve(cwd, normalizedCacheFile);
|
|
861
|
-
const looksLikeADirectory = normalizedCacheFile.slice(-1) === path.sep;
|
|
862
|
-
|
|
863
|
-
/**
|
|
864
|
-
* return the name for the cache file in case the provided parameter is a directory
|
|
865
|
-
* @returns {string} the resolved path to the cacheFile
|
|
866
|
-
*/
|
|
867
|
-
function getCacheFileForDirectory() {
|
|
868
|
-
return path.join(resolvedCacheFile, `.cache_${hash(cwd)}`);
|
|
869
|
-
}
|
|
870
|
-
|
|
871
|
-
let fileStats;
|
|
872
|
-
|
|
873
|
-
try {
|
|
874
|
-
fileStats = fs.lstatSync(resolvedCacheFile);
|
|
875
|
-
} catch {
|
|
876
|
-
fileStats = null;
|
|
877
|
-
}
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
/*
|
|
881
|
-
* in case the file exists we need to verify if the provided path
|
|
882
|
-
* is a directory or a file. If it is a directory we want to create a file
|
|
883
|
-
* inside that directory
|
|
884
|
-
*/
|
|
885
|
-
if (fileStats) {
|
|
886
|
-
|
|
887
|
-
/*
|
|
888
|
-
* is a directory or is a file, but the original file the user provided
|
|
889
|
-
* looks like a directory but `path.resolve` removed the `last path.sep`
|
|
890
|
-
* so we need to still treat this like a directory
|
|
891
|
-
*/
|
|
892
|
-
if (fileStats.isDirectory() || looksLikeADirectory) {
|
|
893
|
-
return getCacheFileForDirectory();
|
|
894
|
-
}
|
|
895
|
-
|
|
896
|
-
// is file so just use that file
|
|
897
|
-
return resolvedCacheFile;
|
|
898
|
-
}
|
|
899
|
-
|
|
900
|
-
/*
|
|
901
|
-
* here we known the file or directory doesn't exist,
|
|
902
|
-
* so we will try to infer if its a directory if it looks like a directory
|
|
903
|
-
* for the current operating system.
|
|
904
|
-
*/
|
|
905
|
-
|
|
906
|
-
// if the last character passed is a path separator we assume is a directory
|
|
907
|
-
if (looksLikeADirectory) {
|
|
908
|
-
return getCacheFileForDirectory();
|
|
909
|
-
}
|
|
910
|
-
|
|
911
|
-
return resolvedCacheFile;
|
|
912
|
-
}
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
//-----------------------------------------------------------------------------
|
|
916
|
-
// Exports
|
|
917
|
-
//-----------------------------------------------------------------------------
|
|
918
|
-
|
|
919
|
-
module.exports = {
|
|
920
|
-
isGlobPattern,
|
|
921
|
-
findFiles,
|
|
922
|
-
|
|
923
|
-
isNonEmptyString,
|
|
924
|
-
isArrayOfNonEmptyString,
|
|
925
|
-
|
|
926
|
-
createIgnoreResult,
|
|
927
|
-
isErrorMessage,
|
|
928
|
-
|
|
929
|
-
processOptions,
|
|
930
|
-
|
|
931
|
-
getCacheFile
|
|
932
|
-
};
|