@8ms/helpers 3.0.26 → 3.1.0
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/dist/_class/BaseClass.d.cts +2 -3
- package/dist/_class/BaseClass.d.mts +2 -3
- package/dist/_class/BaseNamespace.d.cts +2 -3
- package/dist/_class/BaseNamespace.d.mts +2 -3
- package/dist/adverity/adverity.d.cts +7 -8
- package/dist/adverity/adverity.d.mts +7 -8
- package/dist/adverity/server/getJobs.d.cts +2 -3
- package/dist/adverity/server/getJobs.d.mts +2 -3
- package/dist/api/ApiResponseClass.d.cts +3 -4
- package/dist/api/ApiResponseClass.d.mts +3 -4
- package/dist/api/api.d.cts +6 -6
- package/dist/api/api.d.mts +6 -6
- package/dist/api/config.d.cts +2 -3
- package/dist/api/config.d.mts +2 -3
- package/dist/api/deleteRequest.d.cts +2 -3
- package/dist/api/deleteRequest.d.mts +2 -3
- package/dist/api/functions.d.cts +7 -8
- package/dist/api/functions.d.mts +7 -8
- package/dist/api/get.d.cts +2 -3
- package/dist/api/get.d.mts +2 -3
- package/dist/api/httpMethod.cjs +13 -0
- package/dist/api/httpMethod.d.cts +12 -0
- package/dist/api/httpMethod.d.mts +12 -0
- package/dist/api/httpMethod.mjs +12 -0
- package/dist/api/index.cjs +2 -0
- package/dist/api/index.d.cts +2 -1
- package/dist/api/index.d.mts +2 -1
- package/dist/api/index.mjs +2 -1
- package/dist/api/post.d.cts +2 -3
- package/dist/api/post.d.mts +2 -3
- package/dist/array/array.d.cts +3 -4
- package/dist/array/array.d.mts +3 -4
- package/dist/atInternet/atInternet.d.cts +3 -4
- package/dist/atInternet/atInternet.d.mts +3 -4
- package/dist/aws/cloudWatchLog/server/AwsCloudWatchLog.d.cts +2 -3
- package/dist/aws/cloudWatchLog/server/AwsCloudWatchLog.d.mts +2 -3
- package/dist/aws/cloudWatchLog/server/logEvent.d.cts +4 -5
- package/dist/aws/cloudWatchLog/server/logEvent.d.mts +4 -5
- package/dist/aws/cloudWatchMetric/server/AwsCloudWatchMetric.d.cts +2 -3
- package/dist/aws/cloudWatchMetric/server/AwsCloudWatchMetric.d.mts +2 -3
- package/dist/aws/cloudWatchMetric/server/logMetric.d.cts +2 -3
- package/dist/aws/cloudWatchMetric/server/logMetric.d.mts +2 -3
- package/dist/aws/ec2/server/AwsEc2.d.cts +2 -3
- package/dist/aws/ec2/server/AwsEc2.d.mts +2 -3
- package/dist/aws/ec2/server/ec2InstanceState.cjs +12 -0
- package/dist/aws/ec2/server/ec2InstanceState.d.cts +11 -0
- package/dist/aws/ec2/server/ec2InstanceState.d.mts +11 -0
- package/dist/aws/ec2/server/ec2InstanceState.mjs +11 -0
- package/dist/aws/ec2/server/index.cjs +2 -0
- package/dist/aws/ec2/server/index.d.cts +2 -1
- package/dist/aws/ec2/server/index.d.mts +2 -1
- package/dist/aws/ec2/server/index.mjs +2 -1
- package/dist/aws/ecs/server/AwsEcs.d.cts +2 -3
- package/dist/aws/ecs/server/AwsEcs.d.mts +2 -3
- package/dist/aws/ecs/server/index.cjs +2 -0
- package/dist/aws/ecs/server/index.d.cts +2 -1
- package/dist/aws/ecs/server/index.d.mts +2 -1
- package/dist/aws/ecs/server/index.mjs +2 -1
- package/dist/aws/ecs/server/launchType.cjs +10 -0
- package/dist/aws/ecs/server/launchType.d.cts +9 -0
- package/dist/aws/ecs/server/launchType.d.mts +9 -0
- package/dist/aws/ecs/server/launchType.mjs +9 -0
- package/dist/aws/glue/server/AwsGlue.d.cts +2 -3
- package/dist/aws/glue/server/AwsGlue.d.mts +2 -3
- package/dist/aws/lambda/server/AwsLambda.d.cts +2 -3
- package/dist/aws/lambda/server/AwsLambda.d.mts +2 -3
- package/dist/aws/lambda/server/getHandlerPath.d.cts +2 -3
- package/dist/aws/lambda/server/getHandlerPath.d.mts +2 -3
- package/dist/aws/s3/server/AwsS3.cjs +58 -18
- package/dist/aws/s3/server/AwsS3.d.cts +28 -10
- package/dist/aws/s3/server/AwsS3.d.mts +28 -10
- package/dist/aws/s3/server/AwsS3.mjs +58 -18
- package/dist/aws/s3/server/awsS3File.d.cts +4 -5
- package/dist/aws/s3/server/awsS3File.d.mts +4 -5
- package/dist/aws/s3/server/index.d.cts +2 -2
- package/dist/aws/s3/server/index.d.mts +2 -2
- package/dist/aws/s3/server/payload.cjs +2 -0
- package/dist/aws/s3/server/payload.d.cts +5 -4
- package/dist/aws/s3/server/payload.d.mts +5 -4
- package/dist/aws/s3/server/payload.mjs +2 -0
- package/dist/aws/server/getAwsConfig.d.cts +2 -3
- package/dist/aws/server/getAwsConfig.d.mts +2 -3
- package/dist/aws/server/isResponse200.d.cts +2 -3
- package/dist/aws/server/isResponse200.d.mts +2 -3
- package/dist/aws/ses/server/AwsSes.d.cts +2 -3
- package/dist/aws/ses/server/AwsSes.d.mts +2 -3
- package/dist/aws/ses/server/SimpleEmail.d.cts +2 -3
- package/dist/aws/ses/server/SimpleEmail.d.mts +2 -3
- package/dist/aws/sqs/server/AwsSqs.d.cts +2 -3
- package/dist/aws/sqs/server/AwsSqs.d.mts +2 -3
- package/dist/aws/ssm/server/AwsSsm.d.cts +2 -3
- package/dist/aws/ssm/server/AwsSsm.d.mts +2 -3
- package/dist/boolean/boolean.d.cts +2 -3
- package/dist/boolean/boolean.d.mts +2 -3
- package/dist/brightData/googleTrends/brightDataSerpGoogleTrends.cjs +97 -0
- package/dist/brightData/googleTrends/brightDataSerpGoogleTrends.d.cts +206 -0
- package/dist/brightData/googleTrends/brightDataSerpGoogleTrends.d.mts +206 -0
- package/dist/brightData/googleTrends/brightDataSerpGoogleTrends.mjs +91 -0
- package/dist/brightData/googleTrends/buildGoogleTrendsUrl.cjs +38 -0
- package/dist/brightData/{serpApi/server → googleTrends}/buildGoogleTrendsUrl.d.cts +10 -13
- package/dist/brightData/{serpApi/server → googleTrends}/buildGoogleTrendsUrl.d.mts +10 -13
- package/dist/brightData/googleTrends/buildGoogleTrendsUrl.mjs +36 -0
- package/dist/brightData/googleTrends/getReportQueries.cjs +30 -0
- package/dist/brightData/googleTrends/getReportQueries.d.cts +21 -0
- package/dist/brightData/googleTrends/getReportQueries.d.mts +21 -0
- package/dist/brightData/googleTrends/getReportQueries.mjs +29 -0
- package/dist/brightData/googleTrends/getReportTopics.cjs +30 -0
- package/dist/brightData/googleTrends/getReportTopics.d.cts +21 -0
- package/dist/brightData/googleTrends/getReportTopics.d.mts +21 -0
- package/dist/brightData/googleTrends/getReportTopics.mjs +29 -0
- package/dist/brightData/googleTrends/getReportTrend.cjs +18 -0
- package/dist/brightData/googleTrends/getReportTrend.d.cts +12 -0
- package/dist/brightData/googleTrends/getReportTrend.d.mts +12 -0
- package/dist/brightData/googleTrends/getReportTrend.mjs +17 -0
- package/dist/brightData/googleTrends/index.cjs +25 -0
- package/dist/brightData/googleTrends/index.d.cts +9 -0
- package/dist/brightData/googleTrends/index.d.mts +9 -0
- package/dist/brightData/googleTrends/index.mjs +9 -0
- package/dist/brightData/googleTrends/searchType.cjs +10 -0
- package/dist/brightData/googleTrends/searchType.d.cts +9 -0
- package/dist/brightData/googleTrends/searchType.d.mts +9 -0
- package/dist/brightData/googleTrends/searchType.mjs +9 -0
- package/dist/brightData/googleTrends/timeframe.cjs +27 -0
- package/dist/brightData/googleTrends/timeframe.d.cts +10 -0
- package/dist/brightData/googleTrends/timeframe.d.mts +10 -0
- package/dist/brightData/googleTrends/timeframe.mjs +25 -0
- package/dist/brightData/googleTrends/widgetId.cjs +17 -0
- package/dist/brightData/googleTrends/widgetId.d.cts +16 -0
- package/dist/brightData/googleTrends/widgetId.d.mts +16 -0
- package/dist/brightData/googleTrends/widgetId.mjs +15 -0
- package/dist/brightData/serpApi/server/brightDataSerpApi.d.cts +3 -4
- package/dist/brightData/serpApi/server/brightDataSerpApi.d.mts +3 -4
- package/dist/brightData/serpApi/server/buildGoogleSerpUrl.d.cts +2 -3
- package/dist/brightData/serpApi/server/buildGoogleSerpUrl.d.mts +2 -3
- package/dist/brightData/serpApi/server/getAsyncRequestId.d.cts +2 -3
- package/dist/brightData/serpApi/server/getAsyncRequestId.d.mts +2 -3
- package/dist/brightData/serpApi/server/getAsyncResults.d.cts +2 -3
- package/dist/brightData/serpApi/server/getAsyncResults.d.mts +2 -3
- package/dist/brightData/serpApi/server/getRealtime.d.cts +2 -3
- package/dist/brightData/serpApi/server/getRealtime.d.mts +2 -3
- package/dist/brightData/serpApi/server/index.cjs +3 -2
- package/dist/brightData/serpApi/server/index.d.cts +2 -2
- package/dist/brightData/serpApi/server/index.d.mts +2 -2
- package/dist/brightData/serpApi/server/index.mjs +2 -2
- package/dist/brightData/server/brightData.d.cts +4 -5
- package/dist/brightData/server/brightData.d.mts +4 -5
- package/dist/brightData/webScraperIde/server/getBatch.d.cts +2 -3
- package/dist/brightData/webScraperIde/server/getBatch.d.mts +2 -3
- package/dist/brightData/webScraperIde/server/getRealtime.d.cts +2 -3
- package/dist/brightData/webScraperIde/server/getRealtime.d.mts +2 -3
- package/dist/cache/server/cache.d.cts +4 -5
- package/dist/cache/server/cache.d.mts +4 -5
- package/dist/color/generateColorHex.cjs +14 -0
- package/dist/color/generateColorHex.d.cts +7 -0
- package/dist/color/generateColorHex.d.mts +7 -0
- package/dist/color/generateColorHex.mjs +13 -0
- package/dist/color/generateTextColorHex.cjs +12 -0
- package/dist/color/generateTextColorHex.d.cts +7 -0
- package/dist/color/generateTextColorHex.d.mts +7 -0
- package/dist/color/generateTextColorHex.mjs +11 -0
- package/dist/color/index.cjs +5 -0
- package/dist/color/index.d.cts +3 -0
- package/dist/color/index.d.mts +3 -0
- package/dist/color/index.mjs +3 -0
- package/dist/crud/crud.d.cts +3 -4
- package/dist/crud/crud.d.mts +3 -4
- package/dist/crypto/server/getMd5.d.cts +2 -3
- package/dist/crypto/server/getMd5.d.mts +2 -3
- package/dist/crypto/server/getRandom.d.cts +2 -3
- package/dist/crypto/server/getRandom.d.mts +2 -3
- package/dist/crypto/server/getSha256.d.cts +2 -3
- package/dist/crypto/server/getSha256.d.mts +2 -3
- package/dist/date/calculation.cjs +11 -1
- package/dist/date/calculation.d.cts +34 -29
- package/dist/date/calculation.d.mts +34 -29
- package/dist/date/calculation.mjs +11 -2
- package/dist/date/date.d.cts +22 -11
- package/dist/date/date.d.mts +22 -11
- package/dist/date/financialYear.cjs +1 -1
- package/dist/date/financialYear.d.cts +6 -7
- package/dist/date/financialYear.d.mts +6 -7
- package/dist/date/financialYear.mjs +1 -1
- package/dist/date/format.cjs +10 -0
- package/dist/date/format.d.cts +23 -20
- package/dist/date/format.d.mts +23 -20
- package/dist/date/format.mjs +11 -2
- package/dist/date/index.cjs +2 -0
- package/dist/date/index.d.cts +4 -4
- package/dist/date/index.d.mts +4 -4
- package/dist/date/index.mjs +3 -3
- package/dist/device/client/index.cjs +8 -0
- package/dist/device/client/index.d.cts +3 -0
- package/dist/device/client/index.d.mts +3 -0
- package/dist/device/client/index.mjs +3 -0
- package/dist/device/client/input.cjs +11 -0
- package/dist/device/client/input.d.cts +6 -0
- package/dist/device/client/input.d.mts +6 -0
- package/dist/device/client/input.mjs +7 -0
- package/dist/device/client/isSafari.cjs +5 -0
- package/dist/device/client/isSafari.d.cts +3 -0
- package/dist/device/client/isSafari.d.mts +3 -0
- package/dist/device/client/isSafari.mjs +4 -0
- package/dist/drizzle/server/Drizzle.d.cts +3 -4
- package/dist/drizzle/server/Drizzle.d.mts +3 -4
- package/dist/ems/index.cjs +3 -0
- package/dist/ems/index.d.cts +2 -0
- package/dist/ems/index.d.mts +2 -0
- package/dist/ems/index.mjs +2 -0
- package/dist/ems/staff.cjs +13 -0
- package/dist/ems/staff.d.cts +15 -0
- package/dist/ems/staff.d.mts +15 -0
- package/dist/ems/staff.mjs +12 -0
- package/dist/emsApi/awsTs/endpoint.d.cts +4 -5
- package/dist/emsApi/awsTs/endpoint.d.mts +4 -5
- package/dist/emsApi/awsTs/get.d.cts +2 -3
- package/dist/emsApi/awsTs/get.d.mts +2 -3
- package/dist/emsApi/awsTs/post.d.cts +2 -3
- package/dist/emsApi/awsTs/post.d.mts +2 -3
- package/dist/emsApi/vercel/endpoint.d.cts +4 -5
- package/dist/emsApi/vercel/endpoint.d.mts +4 -5
- package/dist/emsApi/vercel/get.d.cts +2 -3
- package/dist/emsApi/vercel/get.d.mts +2 -3
- package/dist/emsApi/vercel/post.d.cts +2 -3
- package/dist/emsApi/vercel/post.d.mts +2 -3
- package/dist/environment/environment.d.cts +14 -15
- package/dist/environment/environment.d.mts +14 -15
- package/dist/eskimi/eskimi.d.cts +6 -7
- package/dist/eskimi/eskimi.d.mts +6 -7
- package/dist/eskimi/server/getAgeGroup.d.cts +2 -3
- package/dist/eskimi/server/getAgeGroup.d.mts +2 -3
- package/dist/eskimi/server/getData.d.cts +2 -3
- package/dist/eskimi/server/getData.d.mts +2 -3
- package/dist/eskimi/server/getDevice.d.cts +2 -3
- package/dist/eskimi/server/getDevice.d.mts +2 -3
- package/dist/eskimi/server/getGender.d.cts +2 -3
- package/dist/eskimi/server/getGender.d.mts +2 -3
- package/dist/file/archiveFileType.cjs +5 -0
- package/dist/file/archiveFileType.d.cts +6 -0
- package/dist/file/archiveFileType.d.mts +6 -0
- package/dist/file/archiveFileType.mjs +4 -0
- package/dist/file/dataFileType.cjs +8 -0
- package/dist/file/dataFileType.d.cts +7 -0
- package/dist/file/dataFileType.d.mts +7 -0
- package/dist/file/dataFileType.mjs +7 -0
- package/dist/file/documentFileType.cjs +12 -0
- package/dist/file/documentFileType.d.cts +11 -0
- package/dist/file/documentFileType.d.mts +11 -0
- package/dist/file/documentFileType.mjs +11 -0
- package/dist/file/fileMimeType.cjs +31 -0
- package/dist/file/fileMimeType.d.cts +4 -0
- package/dist/file/fileMimeType.d.mts +4 -0
- package/dist/file/fileMimeType.mjs +30 -0
- package/dist/file/fileType.cjs +18 -0
- package/dist/file/fileType.d.cts +29 -0
- package/dist/file/fileType.d.mts +29 -0
- package/dist/file/fileType.mjs +17 -0
- package/dist/file/getFileKey.d.cts +2 -3
- package/dist/file/getFileKey.d.mts +2 -3
- package/dist/file/imageFileType.cjs +12 -0
- package/dist/file/imageFileType.d.cts +11 -0
- package/dist/file/imageFileType.d.mts +11 -0
- package/dist/file/imageFileType.mjs +11 -0
- package/dist/file/index.cjs +16 -0
- package/dist/file/index.d.cts +9 -1
- package/dist/file/index.d.mts +9 -1
- package/dist/file/index.mjs +9 -1
- package/dist/file/server/createDirectory.d.cts +2 -3
- package/dist/file/server/createDirectory.d.mts +2 -3
- package/dist/file/spreadsheetFileType.cjs +10 -0
- package/dist/file/spreadsheetFileType.d.cts +9 -0
- package/dist/file/spreadsheetFileType.d.mts +9 -0
- package/dist/file/spreadsheetFileType.mjs +9 -0
- package/dist/file/videoFileType.cjs +11 -0
- package/dist/file/videoFileType.d.cts +10 -0
- package/dist/file/videoFileType.d.mts +10 -0
- package/dist/file/videoFileType.mjs +10 -0
- package/dist/googleAds/keywordPlanner/bigquery.cjs +92 -0
- package/dist/googleAds/keywordPlanner/bigquery.d.cts +120 -0
- package/dist/googleAds/keywordPlanner/bigquery.d.mts +120 -0
- package/dist/googleAds/keywordPlanner/bigquery.mjs +87 -0
- package/dist/googleAds/keywordPlanner/countries.cjs +12 -0
- package/dist/googleAds/keywordPlanner/countries.d.cts +8 -0
- package/dist/googleAds/keywordPlanner/countries.d.mts +8 -0
- package/dist/googleAds/keywordPlanner/countries.mjs +11 -0
- package/dist/googleAds/keywordPlanner/customerId.cjs +11 -0
- package/dist/googleAds/keywordPlanner/customerId.d.cts +7 -0
- package/dist/googleAds/keywordPlanner/customerId.d.mts +7 -0
- package/dist/googleAds/keywordPlanner/customerId.mjs +10 -0
- package/dist/googleAds/keywordPlanner/endpoint.cjs +8 -0
- package/dist/googleAds/keywordPlanner/endpoint.d.cts +7 -0
- package/dist/googleAds/keywordPlanner/endpoint.d.mts +7 -0
- package/dist/googleAds/keywordPlanner/endpoint.mjs +7 -0
- package/dist/googleAds/keywordPlanner/getKwpTimeframe.cjs +39 -0
- package/dist/googleAds/keywordPlanner/getKwpTimeframe.d.cts +16 -0
- package/dist/googleAds/keywordPlanner/getKwpTimeframe.d.mts +16 -0
- package/dist/googleAds/keywordPlanner/getKwpTimeframe.mjs +38 -0
- package/dist/googleAds/keywordPlanner/getLambdaFunctionName.cjs +16 -0
- package/dist/googleAds/keywordPlanner/getLambdaFunctionName.d.cts +7 -0
- package/dist/googleAds/keywordPlanner/getLambdaFunctionName.d.mts +7 -0
- package/dist/googleAds/keywordPlanner/getLambdaFunctionName.mjs +15 -0
- package/dist/googleAds/keywordPlanner/index.cjs +38 -0
- package/dist/googleAds/keywordPlanner/index.d.cts +14 -0
- package/dist/googleAds/keywordPlanner/index.d.mts +14 -0
- package/dist/googleAds/keywordPlanner/index.mjs +14 -0
- package/dist/googleAds/keywordPlanner/language.cjs +11 -0
- package/dist/googleAds/keywordPlanner/language.d.cts +7 -0
- package/dist/googleAds/keywordPlanner/language.d.mts +7 -0
- package/dist/googleAds/keywordPlanner/language.mjs +10 -0
- package/dist/googleAds/keywordPlanner/maxRequests.cjs +8 -0
- package/dist/googleAds/keywordPlanner/maxRequests.d.cts +6 -0
- package/dist/googleAds/keywordPlanner/maxRequests.d.mts +6 -0
- package/dist/googleAds/keywordPlanner/maxRequests.mjs +7 -0
- package/dist/googleAds/keywordPlanner/network.cjs +33 -0
- package/dist/googleAds/keywordPlanner/network.d.cts +28 -0
- package/dist/googleAds/keywordPlanner/network.d.mts +28 -0
- package/dist/googleAds/keywordPlanner/network.mjs +29 -0
- package/dist/googleAds/keywordPlanner/normalizeQuery.cjs +14 -0
- package/dist/googleAds/keywordPlanner/normalizeQuery.d.cts +10 -0
- package/dist/googleAds/keywordPlanner/normalizeQuery.d.mts +10 -0
- package/dist/googleAds/keywordPlanner/normalizeQuery.mjs +13 -0
- package/dist/googleAds/keywordPlanner/server/buildRowId.cjs +14 -0
- package/dist/googleAds/keywordPlanner/server/buildRowId.d.cts +8 -0
- package/dist/googleAds/keywordPlanner/server/buildRowId.d.mts +8 -0
- package/dist/googleAds/keywordPlanner/server/buildRowId.mjs +13 -0
- package/dist/googleAds/keywordPlanner/server/index.cjs +40 -5
- package/dist/googleAds/keywordPlanner/server/index.d.cts +16 -2
- package/dist/googleAds/keywordPlanner/server/index.d.mts +16 -2
- package/dist/googleAds/keywordPlanner/server/index.mjs +16 -2
- package/dist/googleAds/keywordPlanner/zodPHP.cjs +45 -0
- package/dist/googleAds/keywordPlanner/zodPHP.d.cts +71 -0
- package/dist/googleAds/keywordPlanner/zodPHP.d.mts +71 -0
- package/dist/googleAds/keywordPlanner/zodPHP.mjs +43 -0
- package/dist/googleAds/keywordPlanner/zodPHPPayload.cjs +29 -0
- package/dist/googleAds/keywordPlanner/zodPHPPayload.d.cts +82 -0
- package/dist/googleAds/keywordPlanner/zodPHPPayload.d.mts +82 -0
- package/dist/googleAds/keywordPlanner/zodPHPPayload.mjs +27 -0
- package/dist/googleAds/keywordPlanner/zodPHPResponse.cjs +52 -0
- package/dist/googleAds/keywordPlanner/zodPHPResponse.d.cts +123 -0
- package/dist/googleAds/keywordPlanner/zodPHPResponse.d.mts +123 -0
- package/dist/googleAds/keywordPlanner/zodPHPResponse.mjs +49 -0
- package/dist/googleAds/server/GoogleAds.d.cts +3 -4
- package/dist/googleAds/server/GoogleAds.d.mts +3 -4
- package/dist/googleCloud/bigquery/_field/bqBool.cjs +8 -0
- package/dist/googleCloud/bigquery/_field/bqBool.d.cts +8 -0
- package/dist/googleCloud/bigquery/_field/bqBool.d.mts +8 -0
- package/dist/googleCloud/bigquery/_field/bqBool.mjs +8 -0
- package/dist/googleCloud/bigquery/_field/bqBytes.cjs +11 -0
- package/dist/googleCloud/bigquery/_field/bqBytes.d.cts +9 -0
- package/dist/googleCloud/bigquery/_field/bqBytes.d.mts +9 -0
- package/dist/googleCloud/bigquery/_field/bqBytes.mjs +9 -0
- package/dist/googleCloud/bigquery/_field/bqDate.cjs +30 -0
- package/dist/googleCloud/bigquery/_field/bqDate.d.cts +20 -0
- package/dist/googleCloud/bigquery/_field/bqDate.d.mts +20 -0
- package/dist/googleCloud/bigquery/_field/bqDate.mjs +26 -0
- package/dist/googleCloud/bigquery/_field/bqDateTime.cjs +31 -0
- package/dist/googleCloud/bigquery/_field/bqDateTime.d.cts +21 -0
- package/dist/googleCloud/bigquery/_field/bqDateTime.d.mts +21 -0
- package/dist/googleCloud/bigquery/_field/bqDateTime.mjs +27 -0
- package/dist/googleCloud/bigquery/_field/bqFieldMode.cjs +11 -0
- package/dist/googleCloud/bigquery/_field/bqFieldMode.d.cts +12 -0
- package/dist/googleCloud/bigquery/_field/bqFieldMode.d.mts +12 -0
- package/dist/googleCloud/bigquery/_field/bqFieldMode.mjs +9 -0
- package/dist/googleCloud/bigquery/_field/bqFieldType.cjs +20 -0
- package/dist/googleCloud/bigquery/_field/bqFieldType.d.cts +30 -0
- package/dist/googleCloud/bigquery/_field/bqFieldType.d.mts +30 -0
- package/dist/googleCloud/bigquery/_field/bqFieldType.mjs +18 -0
- package/dist/googleCloud/bigquery/_field/bqFloat.cjs +8 -0
- package/dist/googleCloud/bigquery/_field/bqFloat.d.cts +8 -0
- package/dist/googleCloud/bigquery/_field/bqFloat.d.mts +8 -0
- package/dist/googleCloud/bigquery/_field/bqFloat.mjs +8 -0
- package/dist/googleCloud/bigquery/_field/bqInt.cjs +5 -0
- package/dist/googleCloud/bigquery/_field/bqInt.d.cts +4 -0
- package/dist/googleCloud/bigquery/_field/bqInt.d.mts +4 -0
- package/dist/googleCloud/bigquery/_field/bqInt.mjs +5 -0
- package/dist/googleCloud/bigquery/_field/bqInt64.cjs +13 -0
- package/dist/googleCloud/bigquery/_field/bqInt64.d.cts +13 -0
- package/dist/googleCloud/bigquery/_field/bqInt64.d.mts +13 -0
- package/dist/googleCloud/bigquery/_field/bqInt64.mjs +11 -0
- package/dist/googleCloud/bigquery/_field/bqNumeric.cjs +13 -0
- package/dist/googleCloud/bigquery/_field/bqNumeric.d.cts +13 -0
- package/dist/googleCloud/bigquery/_field/bqNumeric.d.mts +13 -0
- package/dist/googleCloud/bigquery/_field/bqNumeric.mjs +11 -0
- package/dist/googleCloud/bigquery/_field/bqString.cjs +8 -0
- package/dist/googleCloud/bigquery/_field/bqString.d.cts +8 -0
- package/dist/googleCloud/bigquery/_field/bqString.d.mts +8 -0
- package/dist/googleCloud/bigquery/_field/bqString.mjs +8 -0
- package/dist/googleCloud/bigquery/_field/bqTime.cjs +11 -0
- package/dist/googleCloud/bigquery/_field/bqTime.d.cts +11 -0
- package/dist/googleCloud/bigquery/_field/bqTime.d.mts +11 -0
- package/dist/googleCloud/bigquery/_field/bqTime.mjs +9 -0
- package/dist/googleCloud/bigquery/_field/bqTimestamp.cjs +9 -0
- package/dist/googleCloud/bigquery/_field/bqTimestamp.d.cts +9 -0
- package/dist/googleCloud/bigquery/_field/bqTimestamp.d.mts +9 -0
- package/dist/googleCloud/bigquery/_field/bqTimestamp.mjs +9 -0
- package/dist/googleCloud/bigquery/_lookup/country.cjs +19 -0
- package/dist/googleCloud/bigquery/_lookup/country.d.cts +21 -0
- package/dist/googleCloud/bigquery/_lookup/country.d.mts +21 -0
- package/dist/googleCloud/bigquery/_lookup/country.mjs +18 -0
- package/dist/googleCloud/bigquery/_lookup/googleAdsAccount.cjs +17 -0
- package/dist/googleCloud/bigquery/_lookup/googleAdsAccount.d.cts +19 -0
- package/dist/googleCloud/bigquery/_lookup/googleAdsAccount.d.mts +19 -0
- package/dist/googleCloud/bigquery/_lookup/googleAdsAccount.mjs +16 -0
- package/dist/googleCloud/bigquery/_lookup/googleCloud.cjs +17 -0
- package/dist/googleCloud/bigquery/_lookup/googleCloud.d.cts +19 -0
- package/dist/googleCloud/bigquery/_lookup/googleCloud.d.mts +19 -0
- package/dist/googleCloud/bigquery/_lookup/googleCloud.mjs +16 -0
- package/dist/googleCloud/bigquery/_lookup/language.cjs +18 -0
- package/dist/googleCloud/bigquery/_lookup/language.d.cts +20 -0
- package/dist/googleCloud/bigquery/_lookup/language.d.mts +20 -0
- package/dist/googleCloud/bigquery/_lookup/language.mjs +17 -0
- package/dist/googleCloud/bigquery/index.cjs +51 -0
- package/dist/googleCloud/bigquery/index.d.cts +21 -0
- package/dist/googleCloud/bigquery/index.d.mts +21 -0
- package/dist/googleCloud/bigquery/index.mjs +20 -0
- package/dist/googleCloud/bigquery/partitionType.cjs +10 -0
- package/dist/googleCloud/bigquery/partitionType.d.cts +9 -0
- package/dist/googleCloud/bigquery/partitionType.d.mts +9 -0
- package/dist/googleCloud/bigquery/partitionType.mjs +9 -0
- package/dist/googleCloud/bigquery/server/GoogleCloudBigquery.cjs +23 -2
- package/dist/googleCloud/bigquery/server/GoogleCloudBigquery.d.cts +27 -4
- package/dist/googleCloud/bigquery/server/GoogleCloudBigquery.d.mts +27 -4
- package/dist/googleCloud/bigquery/server/GoogleCloudBigquery.mjs +23 -2
- package/dist/googleCloud/bigquery/server/getHandlerPath.d.cts +2 -3
- package/dist/googleCloud/bigquery/server/getHandlerPath.d.mts +2 -3
- package/dist/googleCloud/bigquery/server/index.cjs +0 -2
- package/dist/googleCloud/bigquery/server/index.d.cts +1 -2
- package/dist/googleCloud/bigquery/server/index.d.mts +1 -2
- package/dist/googleCloud/bigquery/server/index.mjs +1 -2
- package/dist/googleCloud/bigquery/tableDefinition.cjs +0 -0
- package/dist/googleCloud/bigquery/tableDefinition.d.cts +20 -0
- package/dist/googleCloud/bigquery/tableDefinition.d.mts +20 -0
- package/dist/googleCloud/bigquery/tableDefinition.mjs +1 -0
- package/dist/googleCloud/bigquery/zodToBQDefinition.cjs +59 -0
- package/dist/googleCloud/bigquery/zodToBQDefinition.d.cts +19 -0
- package/dist/googleCloud/bigquery/zodToBQDefinition.d.mts +19 -0
- package/dist/googleCloud/bigquery/zodToBQDefinition.mjs +58 -0
- package/dist/googleCloud/drive/server/GoogleCloudDrive.cjs +64 -4
- package/dist/googleCloud/drive/server/GoogleCloudDrive.d.cts +14 -3
- package/dist/googleCloud/drive/server/GoogleCloudDrive.d.mts +14 -3
- package/dist/googleCloud/drive/server/GoogleCloudDrive.mjs +64 -4
- package/dist/googleCloud/server/getGoogleCloudConfig.d.cts +5 -6
- package/dist/googleCloud/server/getGoogleCloudConfig.d.mts +5 -6
- package/dist/googleCloud/sheets/server/GoogleCloudSheets.cjs +3 -4
- package/dist/googleCloud/sheets/server/GoogleCloudSheets.d.cts +2 -3
- package/dist/googleCloud/sheets/server/GoogleCloudSheets.d.mts +2 -3
- package/dist/googleCloud/sheets/server/GoogleCloudSheets.mjs +3 -4
- package/dist/googleCloud/sheets/server/getAssociatedData.d.cts +2 -3
- package/dist/googleCloud/sheets/server/getAssociatedData.d.mts +2 -3
- package/dist/googleCloud/storage/server/GoogleCloudStorage.d.cts +2 -3
- package/dist/googleCloud/storage/server/GoogleCloudStorage.d.mts +2 -3
- package/dist/googlePageSpeed/server/GooglePageSpeed.d.cts +3 -4
- package/dist/googlePageSpeed/server/GooglePageSpeed.d.mts +3 -4
- package/dist/googlePageSpeed/server/category.d.cts +3 -4
- package/dist/googlePageSpeed/server/category.d.mts +3 -4
- package/dist/googlePageSpeed/server/strategy.d.cts +3 -4
- package/dist/googlePageSpeed/server/strategy.d.mts +3 -4
- package/dist/googleSearchIncidents/server/googleSearchIncidents.d.cts +7 -8
- package/dist/googleSearchIncidents/server/googleSearchIncidents.d.mts +7 -8
- package/dist/greenDomain/server/greenDomain.d.cts +4 -5
- package/dist/greenDomain/server/greenDomain.d.mts +4 -5
- package/dist/inngest/inngestState.d.cts +3 -4
- package/dist/inngest/inngestState.d.mts +3 -4
- package/dist/json/getJsonNewline.d.cts +2 -3
- package/dist/json/getJsonNewline.d.mts +2 -3
- package/dist/json/isJson.d.cts +2 -3
- package/dist/json/isJson.d.mts +2 -3
- package/dist/littleWarden/server/LittleWarden.d.cts +3 -4
- package/dist/littleWarden/server/LittleWarden.d.mts +3 -4
- package/dist/littleWarden/server/getUrlStatus.d.cts +2 -3
- package/dist/littleWarden/server/getUrlStatus.d.mts +2 -3
- package/dist/littleWarden/server/littleWardenAttrs.d.cts +6 -6
- package/dist/littleWarden/server/littleWardenAttrs.d.mts +6 -6
- package/dist/lodash/chunk.d.cts +2 -3
- package/dist/lodash/chunk.d.mts +2 -3
- package/dist/lodash/findKey.d.cts +2 -3
- package/dist/lodash/findKey.d.mts +2 -3
- package/dist/lodash/flatten.d.cts +2 -3
- package/dist/lodash/flatten.d.mts +2 -3
- package/dist/lodash/isDate.d.cts +2 -3
- package/dist/lodash/isDate.d.mts +2 -3
- package/dist/lodash/isEmpty.d.cts +2 -3
- package/dist/lodash/isEmpty.d.mts +2 -3
- package/dist/lodash/isEqual.d.cts +2 -3
- package/dist/lodash/isEqual.d.mts +2 -3
- package/dist/lodash/isFunction.d.cts +2 -3
- package/dist/lodash/isFunction.d.mts +2 -3
- package/dist/lodash/isObject.d.cts +2 -3
- package/dist/lodash/isObject.d.mts +2 -3
- package/dist/lodash/merge.d.cts +2 -3
- package/dist/lodash/merge.d.mts +2 -3
- package/dist/lodash/orderBy.d.cts +2 -3
- package/dist/lodash/orderBy.d.mts +2 -3
- package/dist/lodash/set.d.cts +2 -3
- package/dist/lodash/set.d.mts +2 -3
- package/dist/lodash/trim.d.cts +2 -3
- package/dist/lodash/trim.d.mts +2 -3
- package/dist/lodash/unescape.d.cts +2 -3
- package/dist/lodash/unescape.d.mts +2 -3
- package/dist/lodash/uniq.d.cts +2 -3
- package/dist/lodash/uniq.d.mts +2 -3
- package/dist/lodash/uniqBy.d.cts +2 -3
- package/dist/lodash/uniqBy.d.mts +2 -3
- package/dist/lumar/api/server/buildRequest.d.cts +3 -4
- package/dist/lumar/api/server/buildRequest.d.mts +3 -4
- package/dist/lumar/api/server/getAccessToken.d.cts +2 -3
- package/dist/lumar/api/server/getAccessToken.d.mts +2 -3
- package/dist/lumar/api/server/getData.d.cts +2 -3
- package/dist/lumar/api/server/getData.d.mts +2 -3
- package/dist/lumar/api/server/lumarApi.d.cts +27 -28
- package/dist/lumar/api/server/lumarApi.d.mts +27 -28
- package/dist/lumar/graphql/server/columns.d.cts +29 -30
- package/dist/lumar/graphql/server/columns.d.mts +29 -30
- package/dist/lumar/graphql/server/getAccessToken.d.cts +2 -3
- package/dist/lumar/graphql/server/getAccessToken.d.mts +2 -3
- package/dist/lumar/graphql/server/getData.d.cts +2 -3
- package/dist/lumar/graphql/server/getData.d.mts +2 -3
- package/dist/lumar/graphql/server/index.cjs +8 -1
- package/dist/lumar/graphql/server/index.d.cts +5 -1
- package/dist/lumar/graphql/server/index.d.mts +5 -1
- package/dist/lumar/graphql/server/index.mjs +5 -2
- package/dist/lumar/graphql/server/lumarGraphql.d.cts +6 -7
- package/dist/lumar/graphql/server/lumarGraphql.d.mts +6 -7
- package/dist/lumar/graphql/server/queries/crawl.d.cts +2 -3
- package/dist/lumar/graphql/server/queries/crawl.d.mts +2 -3
- package/dist/lumar/graphql/server/queries/getCrawls.cjs +2 -1
- package/dist/lumar/graphql/server/queries/getCrawls.d.cts +2 -2
- package/dist/lumar/graphql/server/queries/getCrawls.d.mts +2 -3
- package/dist/lumar/graphql/server/queries/getCrawls.mjs +1 -1
- package/dist/lumar/graphql/server/queries/getReportDifferences.cjs +2 -1
- package/dist/lumar/graphql/server/queries/getReportDifferences.d.cts +2 -2
- package/dist/lumar/graphql/server/queries/getReportDifferences.d.mts +2 -3
- package/dist/lumar/graphql/server/queries/getReportDifferences.mjs +1 -1
- package/dist/lumar/graphql/server/queries/getRows.cjs +2 -1
- package/dist/lumar/graphql/server/queries/getRows.d.cts +2 -2
- package/dist/lumar/graphql/server/queries/getRows.d.mts +2 -3
- package/dist/lumar/graphql/server/queries/getRows.mjs +1 -1
- package/dist/lumar/graphql/server/queries/getTotals.cjs +2 -1
- package/dist/lumar/graphql/server/queries/getTotals.d.cts +2 -2
- package/dist/lumar/graphql/server/queries/getTotals.d.mts +2 -3
- package/dist/lumar/graphql/server/queries/getTotals.mjs +1 -1
- package/dist/lumar/graphql/server/queries/row.d.cts +2 -3
- package/dist/lumar/graphql/server/queries/row.d.mts +2 -3
- package/dist/lumar/graphql/server/reportTemplates.d.cts +64 -65
- package/dist/lumar/graphql/server/reportTemplates.d.mts +64 -65
- package/dist/myTarget/server/myTarget.d.cts +2 -3
- package/dist/myTarget/server/myTarget.d.mts +2 -3
- package/dist/number/formatCompact.d.cts +2 -3
- package/dist/number/formatCompact.d.mts +2 -3
- package/dist/number/formatCurrency.cjs +5 -5
- package/dist/number/formatCurrency.d.cts +4 -3
- package/dist/number/formatCurrency.d.mts +4 -3
- package/dist/number/formatCurrency.mjs +5 -5
- package/dist/number/formatEur.cjs +11 -0
- package/dist/number/formatEur.d.cts +6 -0
- package/dist/number/formatEur.d.mts +6 -0
- package/dist/number/formatEur.mjs +10 -0
- package/dist/number/formatGbp.cjs +11 -0
- package/dist/number/formatGbp.d.cts +6 -0
- package/dist/number/formatGbp.d.mts +6 -0
- package/dist/number/formatGbp.mjs +10 -0
- package/dist/number/formatStandard.d.cts +2 -3
- package/dist/number/formatStandard.d.mts +2 -3
- package/dist/number/formatUsd.cjs +11 -0
- package/dist/number/formatUsd.d.cts +6 -0
- package/dist/number/formatUsd.d.mts +6 -0
- package/dist/number/formatUsd.mjs +10 -0
- package/dist/number/getDecimal.d.cts +2 -3
- package/dist/number/getDecimal.d.mts +2 -3
- package/dist/number/getNumber.d.cts +2 -3
- package/dist/number/getNumber.d.mts +2 -3
- package/dist/number/getPercent.d.cts +2 -3
- package/dist/number/getPercent.d.mts +2 -3
- package/dist/number/getPercentIncrease.d.cts +2 -3
- package/dist/number/getPercentIncrease.d.mts +2 -3
- package/dist/number/getSafeDivide.d.cts +2 -3
- package/dist/number/getSafeDivide.d.mts +2 -3
- package/dist/number/index.cjs +6 -0
- package/dist/number/index.d.cts +4 -1
- package/dist/number/index.d.mts +4 -1
- package/dist/number/index.mjs +4 -1
- package/dist/object/replaceKeys.cjs +6 -11
- package/dist/object/replaceKeys.d.cts +2 -3
- package/dist/object/replaceKeys.d.mts +2 -3
- package/dist/object/replaceKeys.mjs +6 -11
- package/dist/onePassword/server/OnePassword.d.cts +3 -4
- package/dist/onePassword/server/OnePassword.d.mts +3 -4
- package/dist/onePassword/server/getIdsFromUrl.d.cts +2 -3
- package/dist/onePassword/server/getIdsFromUrl.d.mts +2 -3
- package/dist/openAi/server/OpenAi.d.cts +3 -4
- package/dist/openAi/server/OpenAi.d.mts +3 -4
- package/dist/prisma/getDecimal.d.cts +2 -3
- package/dist/prisma/getDecimal.d.mts +2 -3
- package/dist/prisma/server/Prisma.d.cts +3 -4
- package/dist/prisma/server/Prisma.d.mts +3 -4
- package/dist/{nextJs → react}/client/LazyLoad.cjs +2 -2
- package/dist/{nextJs → react}/client/LazyLoad.d.cts +3 -4
- package/dist/{nextJs → react}/client/LazyLoad.d.mts +4 -5
- package/dist/{nextJs → react}/client/LazyLoad.mjs +2 -2
- package/dist/react/client/cn.cjs +37 -0
- package/dist/react/client/cn.d.cts +8 -0
- package/dist/react/client/cn.d.mts +8 -0
- package/dist/react/client/cn.mjs +36 -0
- package/dist/{nextJs/client → react/client/hooks}/useAsyncEffect.cjs +1 -1
- package/dist/react/client/hooks/useAsyncEffect.d.cts +4 -0
- package/dist/react/client/hooks/useAsyncEffect.d.mts +4 -0
- package/dist/{nextJs/client → react/client/hooks}/useAsyncEffect.mjs +1 -1
- package/dist/react/client/hooks/useCopyText.cjs +29 -0
- package/dist/react/client/hooks/useCopyText.d.cts +11 -0
- package/dist/react/client/hooks/useCopyText.d.mts +11 -0
- package/dist/react/client/hooks/useCopyText.mjs +28 -0
- package/dist/react/client/hooks/useFontReady.cjs +22 -0
- package/dist/react/client/hooks/useFontReady.d.cts +3 -0
- package/dist/react/client/hooks/useFontReady.d.mts +3 -0
- package/dist/react/client/hooks/useFontReady.mjs +21 -0
- package/dist/react/client/hooks/usePrefersReducedMotion.cjs +22 -0
- package/dist/react/client/hooks/usePrefersReducedMotion.d.cts +8 -0
- package/dist/react/client/hooks/usePrefersReducedMotion.d.mts +8 -0
- package/dist/react/client/hooks/usePrefersReducedMotion.mjs +21 -0
- package/dist/react/client/index.cjs +15 -0
- package/dist/react/client/index.d.cts +8 -0
- package/dist/react/client/index.d.mts +8 -0
- package/dist/react/client/index.mjs +8 -0
- package/dist/react/client/nextAuth/index.cjs +5 -0
- package/dist/{nextAuth → react/client/nextAuth}/isSessionReady.cjs +1 -1
- package/dist/react/client/nextAuth/isSessionReady.d.cts +3 -0
- package/dist/react/client/nextAuth/isSessionReady.d.mts +3 -0
- package/dist/{nextAuth → react/client/nextAuth}/isSessionReady.mjs +1 -1
- package/dist/{nextAuth → react/client/nextAuth}/nextAuth.cjs +3 -3
- package/dist/{nextAuth → react/client/nextAuth}/nextAuth.d.cts +4 -4
- package/dist/{nextAuth → react/client/nextAuth}/nextAuth.d.mts +4 -4
- package/dist/{nextAuth → react/client/nextAuth}/nextAuth.mjs +1 -1
- package/dist/react/client/nextjs/buildRelativeUrl.cjs +0 -0
- package/dist/react/client/nextjs/buildRelativeUrl.d.cts +1 -0
- package/dist/react/client/nextjs/buildRelativeUrl.d.mts +1 -0
- package/dist/react/client/nextjs/buildRelativeUrl.mjs +1 -0
- package/dist/regex/extractRegex.cjs +31 -0
- package/dist/regex/extractRegex.d.cts +13 -0
- package/dist/regex/extractRegex.d.mts +13 -0
- package/dist/regex/extractRegex.mjs +30 -0
- package/dist/regex/index.cjs +3 -0
- package/dist/regex/index.d.cts +2 -0
- package/dist/regex/index.d.mts +2 -0
- package/dist/regex/index.mjs +2 -0
- package/dist/snapchat/server/Snapchat.d.cts +3 -4
- package/dist/snapchat/server/Snapchat.d.mts +3 -4
- package/dist/sorting/byNumberAscending.d.cts +2 -3
- package/dist/sorting/byNumberAscending.d.mts +2 -3
- package/dist/sorting/byNumberDescending.d.cts +2 -3
- package/dist/sorting/byNumberDescending.d.mts +2 -3
- package/dist/sorting/byStringAscending.d.cts +2 -3
- package/dist/sorting/byStringAscending.d.mts +2 -3
- package/dist/sorting/byStringDescending.d.cts +2 -3
- package/dist/sorting/byStringDescending.d.mts +2 -3
- package/dist/stream/server/sort.d.cts +2 -3
- package/dist/stream/server/sort.d.mts +2 -3
- package/dist/string/client/copyText.cjs +17 -0
- package/dist/string/client/copyText.d.cts +7 -0
- package/dist/string/client/copyText.d.mts +7 -0
- package/dist/string/client/copyText.mjs +16 -0
- package/dist/string/client/index.cjs +33 -0
- package/dist/string/client/index.d.cts +16 -0
- package/dist/string/client/index.d.mts +16 -0
- package/dist/string/client/index.mjs +17 -0
- package/dist/string/getCapitalised.d.cts +2 -3
- package/dist/string/getCapitalised.d.mts +2 -3
- package/dist/string/getClean.d.cts +2 -3
- package/dist/string/getClean.d.mts +2 -3
- package/dist/string/getFolder.d.cts +2 -3
- package/dist/string/getFolder.d.mts +2 -3
- package/dist/string/getNormalisedTypography.cjs +17 -0
- package/dist/string/getNormalisedTypography.d.cts +13 -0
- package/dist/string/getNormalisedTypography.d.mts +13 -0
- package/dist/string/getNormalisedTypography.mjs +16 -0
- package/dist/string/getProperCase.d.cts +2 -3
- package/dist/string/getProperCase.d.mts +2 -3
- package/dist/string/getString.d.cts +2 -3
- package/dist/string/getString.d.mts +2 -3
- package/dist/string/getStringFromStream.d.cts +2 -3
- package/dist/string/getStringFromStream.d.mts +2 -3
- package/dist/string/getUnescaped.d.cts +2 -3
- package/dist/string/getUnescaped.d.mts +2 -3
- package/dist/string/getWithoutAccents.d.cts +2 -3
- package/dist/string/getWithoutAccents.d.mts +2 -3
- package/dist/string/getWithoutHtmlTags.d.cts +2 -3
- package/dist/string/getWithoutHtmlTags.d.mts +2 -3
- package/dist/string/getWithoutPunctuation.d.cts +2 -3
- package/dist/string/getWithoutPunctuation.d.mts +2 -3
- package/dist/string/getWithoutUnderscores.d.cts +2 -3
- package/dist/string/getWithoutUnderscores.d.mts +2 -3
- package/dist/string/getWithoutWhitespaces.d.cts +2 -3
- package/dist/string/getWithoutWhitespaces.d.mts +2 -3
- package/dist/string/index.cjs +2 -0
- package/dist/string/index.d.cts +2 -1
- package/dist/string/index.d.mts +2 -1
- package/dist/string/index.mjs +2 -1
- package/dist/string/reservedWords.cjs +2 -6
- package/dist/string/reservedWords.d.cts +3 -4
- package/dist/string/reservedWords.d.mts +3 -4
- package/dist/string/reservedWords.mjs +2 -6
- package/dist/string/server/index.cjs +3 -0
- package/dist/string/server/index.d.cts +2 -0
- package/dist/string/server/index.d.mts +2 -0
- package/dist/string/server/index.mjs +2 -0
- package/dist/string/server/isEmpty.cjs +23 -0
- package/dist/string/server/isEmpty.d.cts +6 -0
- package/dist/string/server/isEmpty.d.mts +6 -0
- package/dist/string/server/isEmpty.mjs +22 -0
- package/dist/swr/client/swr.d.cts +9 -10
- package/dist/swr/client/swr.d.mts +9 -10
- package/dist/upTimeRobot/server/UpTimeRobot.d.cts +3 -4
- package/dist/upTimeRobot/server/UpTimeRobot.d.mts +3 -4
- package/dist/upTimeRobot/server/logType.d.cts +3 -4
- package/dist/upTimeRobot/server/logType.d.mts +3 -4
- package/dist/upTimeRobot/server/monitorStatus.d.cts +3 -4
- package/dist/upTimeRobot/server/monitorStatus.d.mts +3 -4
- package/dist/upTimeRobot/server/monitorSubTypes.d.cts +3 -4
- package/dist/upTimeRobot/server/monitorSubTypes.d.mts +3 -4
- package/dist/upTimeRobot/server/monitorType.d.cts +3 -4
- package/dist/upTimeRobot/server/monitorType.d.mts +3 -4
- package/dist/upTimeRobot/server/requestStatus.d.cts +3 -4
- package/dist/upTimeRobot/server/requestStatus.d.mts +3 -4
- package/dist/url/buildUrl.cjs +22 -0
- package/dist/url/buildUrl.d.cts +6 -0
- package/dist/url/buildUrl.d.mts +6 -0
- package/dist/url/buildUrl.mjs +21 -0
- package/dist/url/getClean.cjs +16 -0
- package/dist/{util → url}/getClean.d.cts +3 -4
- package/dist/{util → url}/getClean.d.mts +3 -4
- package/dist/{util → url}/getClean.mjs +1 -1
- package/dist/url/getParametersUrl.cjs +17 -0
- package/dist/url/getParametersUrl.d.cts +6 -0
- package/dist/url/getParametersUrl.d.mts +6 -0
- package/dist/url/getParametersUrl.mjs +16 -0
- package/dist/{util → url}/getWithoutHash.cjs +1 -1
- package/dist/url/getWithoutHash.d.cts +6 -0
- package/dist/url/getWithoutHash.d.mts +6 -0
- package/dist/{util → url}/getWithoutHash.mjs +1 -1
- package/dist/{util → url}/getWithoutParameter.cjs +1 -1
- package/dist/url/getWithoutParameter.d.cts +6 -0
- package/dist/url/getWithoutParameter.d.mts +6 -0
- package/dist/{util → url}/getWithoutParameter.mjs +1 -1
- package/dist/url/index.cjs +14 -5
- package/dist/url/index.d.cts +8 -2
- package/dist/url/index.d.mts +8 -2
- package/dist/url/index.mjs +8 -2
- package/dist/url/isAbsolute.cjs +15 -0
- package/dist/url/isAbsolute.d.cts +6 -0
- package/dist/url/isAbsolute.d.mts +6 -0
- package/dist/url/isAbsolute.mjs +14 -0
- package/dist/url/isRelative.cjs +10 -0
- package/dist/url/isRelative.d.cts +6 -0
- package/dist/url/isRelative.d.mts +6 -0
- package/dist/url/isRelative.mjs +9 -0
- package/dist/url/server/writeUrlContents.d.cts +2 -3
- package/dist/url/server/writeUrlContents.d.mts +2 -3
- package/dist/util/defaultTo.cjs +5 -7
- package/dist/util/defaultTo.d.cts +2 -3
- package/dist/util/defaultTo.d.mts +2 -3
- package/dist/util/defaultTo.mjs +5 -7
- package/dist/util/getError.d.cts +2 -3
- package/dist/util/getError.d.mts +2 -3
- package/dist/util/index.cjs +2 -6
- package/dist/util/index.d.cts +2 -4
- package/dist/util/index.d.mts +2 -4
- package/dist/util/index.mjs +2 -4
- package/dist/util/isUndefined.cjs +1 -2
- package/dist/util/isUndefined.d.cts +2 -3
- package/dist/util/isUndefined.d.mts +2 -3
- package/dist/util/isUndefined.mjs +1 -2
- package/dist/util/promiseChunks.d.cts +2 -3
- package/dist/util/promiseChunks.d.mts +2 -3
- package/dist/util/server/getBrotliCompressed.d.cts +2 -3
- package/dist/util/server/getBrotliCompressed.d.mts +2 -3
- package/dist/util/server/getBrotliDecompressed.d.cts +2 -3
- package/dist/util/server/getBrotliDecompressed.d.mts +2 -3
- package/dist/util/server/getGzipCompressed.d.cts +2 -3
- package/dist/util/server/getGzipCompressed.d.mts +2 -3
- package/dist/util/server/getGzipDecompressed.d.cts +2 -3
- package/dist/util/server/getGzipDecompressed.d.mts +2 -3
- package/dist/util/sleep.d.cts +2 -3
- package/dist/util/sleep.d.mts +2 -3
- package/dist/util/sort.cjs +8 -0
- package/dist/util/sort.d.cts +7 -0
- package/dist/util/sort.d.mts +7 -0
- package/dist/util/sort.mjs +7 -0
- package/dist/webWorker/index.cjs +1 -1
- package/dist/webWorker/index.d.cts +2 -2
- package/dist/webWorker/index.d.mts +2 -2
- package/dist/webWorker/index.mjs +2 -2
- package/dist/webWorker/webWorkerState.cjs +2 -2
- package/dist/webWorker/webWorkerState.d.cts +3 -4
- package/dist/webWorker/webWorkerState.d.mts +3 -4
- package/dist/webWorker/webWorkerState.mjs +2 -2
- package/dist/xlsx/cell.d.cts +7 -8
- package/dist/xlsx/cell.d.mts +7 -8
- package/dist/xlsx/column.d.cts +4 -5
- package/dist/xlsx/column.d.mts +4 -5
- package/dist/xlsx/createXlsx.d.cts +3 -4
- package/dist/xlsx/createXlsx.d.mts +3 -4
- package/dist/xlsx/modifyXlsx.d.cts +3 -4
- package/dist/xlsx/modifyXlsx.d.mts +3 -4
- package/dist/xlsx/sheet.d.cts +4 -5
- package/dist/xlsx/sheet.d.mts +4 -5
- package/dist/xml/server/getXml.d.cts +2 -3
- package/dist/xml/server/getXml.d.mts +2 -3
- package/package.json +425 -109
- package/dist/brightData/serpApi/server/buildGoogleTrendsUrl.cjs +0 -51
- package/dist/brightData/serpApi/server/buildGoogleTrendsUrl.mjs +0 -50
- package/dist/geo/countries.cjs +0 -1333
- package/dist/geo/countries.d.cts +0 -15
- package/dist/geo/countries.d.mts +0 -15
- package/dist/geo/countries.mjs +0 -1332
- package/dist/geo/index.cjs +0 -5
- package/dist/geo/index.d.cts +0 -3
- package/dist/geo/index.d.mts +0 -3
- package/dist/geo/index.mjs +0 -3
- package/dist/geo/languages.cjs +0 -259
- package/dist/geo/languages.d.cts +0 -12
- package/dist/geo/languages.d.mts +0 -12
- package/dist/geo/languages.mjs +0 -258
- package/dist/googleAds/keywordPlanner/server/googleAdsKeywordPlanner.cjs +0 -53
- package/dist/googleAds/keywordPlanner/server/googleAdsKeywordPlanner.d.cts +0 -44
- package/dist/googleAds/keywordPlanner/server/googleAdsKeywordPlanner.d.mts +0 -44
- package/dist/googleAds/keywordPlanner/server/googleAdsKeywordPlanner.mjs +0 -49
- package/dist/googleCloud/bigquery/server/loadData.cjs +0 -13
- package/dist/googleCloud/bigquery/server/loadData.d.cts +0 -23
- package/dist/googleCloud/bigquery/server/loadData.d.mts +0 -23
- package/dist/googleCloud/bigquery/server/loadData.mjs +0 -12
- package/dist/nextAuth/index.cjs +0 -5
- package/dist/nextAuth/isSessionReady.d.cts +0 -4
- package/dist/nextAuth/isSessionReady.d.mts +0 -4
- package/dist/nextJs/client/index.cjs +0 -5
- package/dist/nextJs/client/index.d.cts +0 -3
- package/dist/nextJs/client/index.d.mts +0 -3
- package/dist/nextJs/client/index.mjs +0 -3
- package/dist/nextJs/client/useAsyncEffect.d.cts +0 -5
- package/dist/nextJs/client/useAsyncEffect.d.mts +0 -5
- package/dist/url/url.cjs +0 -42
- package/dist/url/url.d.cts +0 -19
- package/dist/url/url.d.mts +0 -19
- package/dist/url/url.mjs +0 -38
- package/dist/util/getClean.cjs +0 -16
- package/dist/util/getWithoutHash.d.cts +0 -7
- package/dist/util/getWithoutHash.d.mts +0 -7
- package/dist/util/getWithoutParameter.d.cts +0 -7
- package/dist/util/getWithoutParameter.d.mts +0 -7
- /package/dist/{nextAuth → react/client/nextAuth}/index.d.cts +0 -0
- /package/dist/{nextAuth → react/client/nextAuth}/index.d.mts +0 -0
- /package/dist/{nextAuth → react/client/nextAuth}/index.mjs +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BaseNamespace } from "../../_class/BaseNamespace.cjs";
|
|
2
2
|
//#region src/upTimeRobot/server/UpTimeRobot.d.ts
|
|
3
|
-
type UpTimeRobotConfig = {
|
|
3
|
+
export type UpTimeRobotConfig = {
|
|
4
4
|
apiKey: string;
|
|
5
5
|
};
|
|
6
6
|
type GetReportProps = {
|
|
@@ -22,7 +22,7 @@ type GetReportProps = {
|
|
|
22
22
|
* Use the Up Time Robot API to retrieve up to 50 monitors at a time.
|
|
23
23
|
* https://uptimerobot.com/api/
|
|
24
24
|
*/
|
|
25
|
-
declare class UpTimeRobot extends BaseNamespace {
|
|
25
|
+
export declare class UpTimeRobot extends BaseNamespace {
|
|
26
26
|
client: boolean;
|
|
27
27
|
config: UpTimeRobotConfig;
|
|
28
28
|
/**
|
|
@@ -31,5 +31,4 @@ declare class UpTimeRobot extends BaseNamespace {
|
|
|
31
31
|
ensureInit: (config: UpTimeRobotConfig) => Promise<void>;
|
|
32
32
|
getReport: (props?: GetReportProps) => Promise<any>;
|
|
33
33
|
}
|
|
34
|
-
//#endregion
|
|
35
|
-
export { UpTimeRobot, UpTimeRobotConfig };
|
|
34
|
+
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BaseNamespace } from "../../_class/BaseNamespace.mjs";
|
|
2
2
|
//#region src/upTimeRobot/server/UpTimeRobot.d.ts
|
|
3
|
-
type UpTimeRobotConfig = {
|
|
3
|
+
export type UpTimeRobotConfig = {
|
|
4
4
|
apiKey: string;
|
|
5
5
|
};
|
|
6
6
|
type GetReportProps = {
|
|
@@ -22,7 +22,7 @@ type GetReportProps = {
|
|
|
22
22
|
* Use the Up Time Robot API to retrieve up to 50 monitors at a time.
|
|
23
23
|
* https://uptimerobot.com/api/
|
|
24
24
|
*/
|
|
25
|
-
declare class UpTimeRobot extends BaseNamespace {
|
|
25
|
+
export declare class UpTimeRobot extends BaseNamespace {
|
|
26
26
|
client: boolean;
|
|
27
27
|
config: UpTimeRobotConfig;
|
|
28
28
|
/**
|
|
@@ -31,5 +31,4 @@ declare class UpTimeRobot extends BaseNamespace {
|
|
|
31
31
|
ensureInit: (config: UpTimeRobotConfig) => Promise<void>;
|
|
32
32
|
getReport: (props?: GetReportProps) => Promise<any>;
|
|
33
33
|
}
|
|
34
|
-
//#endregion
|
|
35
|
-
export { UpTimeRobot, UpTimeRobotConfig };
|
|
34
|
+
//#endregion
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
//#region src/upTimeRobot/server/logType.d.ts
|
|
2
|
-
declare const logType: {
|
|
2
|
+
export declare const logType: {
|
|
3
3
|
readonly DOWN: 1;
|
|
4
4
|
readonly UP: 2;
|
|
5
5
|
readonly PAUSED: 99;
|
|
6
6
|
readonly STARTED: 98;
|
|
7
7
|
};
|
|
8
|
-
type LogType = typeof logType[keyof typeof logType];
|
|
9
|
-
//#endregion
|
|
10
|
-
export { LogType, logType };
|
|
8
|
+
export type LogType = typeof logType[keyof typeof logType];
|
|
9
|
+
//#endregion
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
//#region src/upTimeRobot/server/logType.d.ts
|
|
2
|
-
declare const logType: {
|
|
2
|
+
export declare const logType: {
|
|
3
3
|
readonly DOWN: 1;
|
|
4
4
|
readonly UP: 2;
|
|
5
5
|
readonly PAUSED: 99;
|
|
6
6
|
readonly STARTED: 98;
|
|
7
7
|
};
|
|
8
|
-
type LogType = typeof logType[keyof typeof logType];
|
|
9
|
-
//#endregion
|
|
10
|
-
export { LogType, logType };
|
|
8
|
+
export type LogType = typeof logType[keyof typeof logType];
|
|
9
|
+
//#endregion
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
//#region src/upTimeRobot/server/monitorStatus.d.ts
|
|
2
|
-
declare const monitorStatus: {
|
|
2
|
+
export declare const monitorStatus: {
|
|
3
3
|
readonly PAUSED: 0;
|
|
4
4
|
readonly NOT_CHECKED: 1;
|
|
5
5
|
readonly UP: 2;
|
|
6
6
|
readonly SEEMS_DOWN: 8;
|
|
7
7
|
readonly DOWN: 9;
|
|
8
8
|
};
|
|
9
|
-
type MonitorStatus = typeof monitorStatus[keyof typeof monitorStatus];
|
|
10
|
-
//#endregion
|
|
11
|
-
export { MonitorStatus, monitorStatus };
|
|
9
|
+
export type MonitorStatus = typeof monitorStatus[keyof typeof monitorStatus];
|
|
10
|
+
//#endregion
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
//#region src/upTimeRobot/server/monitorStatus.d.ts
|
|
2
|
-
declare const monitorStatus: {
|
|
2
|
+
export declare const monitorStatus: {
|
|
3
3
|
readonly PAUSED: 0;
|
|
4
4
|
readonly NOT_CHECKED: 1;
|
|
5
5
|
readonly UP: 2;
|
|
6
6
|
readonly SEEMS_DOWN: 8;
|
|
7
7
|
readonly DOWN: 9;
|
|
8
8
|
};
|
|
9
|
-
type MonitorStatus = typeof monitorStatus[keyof typeof monitorStatus];
|
|
10
|
-
//#endregion
|
|
11
|
-
export { MonitorStatus, monitorStatus };
|
|
9
|
+
export type MonitorStatus = typeof monitorStatus[keyof typeof monitorStatus];
|
|
10
|
+
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/upTimeRobot/server/monitorSubTypes.d.ts
|
|
2
|
-
declare const monitorSubType: {
|
|
2
|
+
export declare const monitorSubType: {
|
|
3
3
|
readonly HTTP: 1;
|
|
4
4
|
readonly HTTPS: 2;
|
|
5
5
|
readonly FTP: 3;
|
|
@@ -8,6 +8,5 @@ declare const monitorSubType: {
|
|
|
8
8
|
readonly IMAP: 6;
|
|
9
9
|
readonly CUSTOM_PORT: 99;
|
|
10
10
|
};
|
|
11
|
-
type MonitorSubType = typeof monitorSubType[keyof typeof monitorSubType];
|
|
12
|
-
//#endregion
|
|
13
|
-
export { MonitorSubType, monitorSubType };
|
|
11
|
+
export type MonitorSubType = typeof monitorSubType[keyof typeof monitorSubType];
|
|
12
|
+
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/upTimeRobot/server/monitorSubTypes.d.ts
|
|
2
|
-
declare const monitorSubType: {
|
|
2
|
+
export declare const monitorSubType: {
|
|
3
3
|
readonly HTTP: 1;
|
|
4
4
|
readonly HTTPS: 2;
|
|
5
5
|
readonly FTP: 3;
|
|
@@ -8,6 +8,5 @@ declare const monitorSubType: {
|
|
|
8
8
|
readonly IMAP: 6;
|
|
9
9
|
readonly CUSTOM_PORT: 99;
|
|
10
10
|
};
|
|
11
|
-
type MonitorSubType = typeof monitorSubType[keyof typeof monitorSubType];
|
|
12
|
-
//#endregion
|
|
13
|
-
export { MonitorSubType, monitorSubType };
|
|
11
|
+
export type MonitorSubType = typeof monitorSubType[keyof typeof monitorSubType];
|
|
12
|
+
//#endregion
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
//#region src/upTimeRobot/server/monitorType.d.ts
|
|
2
|
-
declare const monitorType: {
|
|
2
|
+
export declare const monitorType: {
|
|
3
3
|
readonly HTTPS: 1;
|
|
4
4
|
readonly KEYWORD: 2;
|
|
5
5
|
readonly PING: 3;
|
|
6
6
|
readonly PORT: 4;
|
|
7
7
|
readonly HEARTBEAT: 5;
|
|
8
8
|
};
|
|
9
|
-
type MonitorType = typeof monitorType[keyof typeof monitorType];
|
|
10
|
-
//#endregion
|
|
11
|
-
export { MonitorType, monitorType };
|
|
9
|
+
export type MonitorType = typeof monitorType[keyof typeof monitorType];
|
|
10
|
+
//#endregion
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
//#region src/upTimeRobot/server/monitorType.d.ts
|
|
2
|
-
declare const monitorType: {
|
|
2
|
+
export declare const monitorType: {
|
|
3
3
|
readonly HTTPS: 1;
|
|
4
4
|
readonly KEYWORD: 2;
|
|
5
5
|
readonly PING: 3;
|
|
6
6
|
readonly PORT: 4;
|
|
7
7
|
readonly HEARTBEAT: 5;
|
|
8
8
|
};
|
|
9
|
-
type MonitorType = typeof monitorType[keyof typeof monitorType];
|
|
10
|
-
//#endregion
|
|
11
|
-
export { MonitorType, monitorType };
|
|
9
|
+
export type MonitorType = typeof monitorType[keyof typeof monitorType];
|
|
10
|
+
//#endregion
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
//#region src/upTimeRobot/server/requestStatus.d.ts
|
|
2
|
-
declare const requestStatus: {
|
|
2
|
+
export declare const requestStatus: {
|
|
3
3
|
readonly ERROR: "fail";
|
|
4
4
|
readonly SUCCESS: "ok";
|
|
5
5
|
};
|
|
6
|
-
type RequestStatus = typeof requestStatus[keyof typeof requestStatus];
|
|
7
|
-
//#endregion
|
|
8
|
-
export { RequestStatus, requestStatus };
|
|
6
|
+
export type RequestStatus = typeof requestStatus[keyof typeof requestStatus];
|
|
7
|
+
//#endregion
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
//#region src/upTimeRobot/server/requestStatus.d.ts
|
|
2
|
-
declare const requestStatus: {
|
|
2
|
+
export declare const requestStatus: {
|
|
3
3
|
readonly ERROR: "fail";
|
|
4
4
|
readonly SUCCESS: "ok";
|
|
5
5
|
};
|
|
6
|
-
type RequestStatus = typeof requestStatus[keyof typeof requestStatus];
|
|
7
|
-
//#endregion
|
|
8
|
-
export { RequestStatus, requestStatus };
|
|
6
|
+
export type RequestStatus = typeof requestStatus[keyof typeof requestStatus];
|
|
7
|
+
//#endregion
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_url_isAbsolute = require("./isAbsolute.cjs");
|
|
3
|
+
const require_url_getParametersUrl = require("./getParametersUrl.cjs");
|
|
4
|
+
//#region src/url/buildUrl.ts
|
|
5
|
+
/**
|
|
6
|
+
* Build a complete URL from an input URL (absolute or relative, with or without existing parameters).
|
|
7
|
+
*/
|
|
8
|
+
const buildUrl = (inputUrl, addParameters = {}, removeParameters = []) => {
|
|
9
|
+
const absolute = require_url_isAbsolute.isAbsolute(inputUrl);
|
|
10
|
+
const url = new URL(inputUrl, absolute ? void 0 : "http://localhost");
|
|
11
|
+
const existing = {};
|
|
12
|
+
url.searchParams.forEach((value, key) => {
|
|
13
|
+
existing[key] = value;
|
|
14
|
+
});
|
|
15
|
+
const query = require_url_getParametersUrl.getParametersUrl(existing, addParameters);
|
|
16
|
+
const params = new URLSearchParams(query);
|
|
17
|
+
for (const key of removeParameters) params.delete(key);
|
|
18
|
+
const search = params.size ? `?${params.toString()}` : "";
|
|
19
|
+
return `${absolute ? `${url.origin}${url.pathname}` : url.pathname}${search}${url.hash}`;
|
|
20
|
+
};
|
|
21
|
+
//#endregion
|
|
22
|
+
exports.buildUrl = buildUrl;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
//#region src/url/buildUrl.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Build a complete URL from an input URL (absolute or relative, with or without existing parameters).
|
|
4
|
+
*/
|
|
5
|
+
export declare const buildUrl: (inputUrl: string, addParameters?: Record<string, unknown>, removeParameters?: string[]) => string;
|
|
6
|
+
//#endregion
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
//#region src/url/buildUrl.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Build a complete URL from an input URL (absolute or relative, with or without existing parameters).
|
|
4
|
+
*/
|
|
5
|
+
export declare const buildUrl: (inputUrl: string, addParameters?: Record<string, unknown>, removeParameters?: string[]) => string;
|
|
6
|
+
//#endregion
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { isAbsolute } from "./isAbsolute.mjs";
|
|
2
|
+
import { getParametersUrl } from "./getParametersUrl.mjs";
|
|
3
|
+
//#region src/url/buildUrl.ts
|
|
4
|
+
/**
|
|
5
|
+
* Build a complete URL from an input URL (absolute or relative, with or without existing parameters).
|
|
6
|
+
*/
|
|
7
|
+
const buildUrl = (inputUrl, addParameters = {}, removeParameters = []) => {
|
|
8
|
+
const absolute = isAbsolute(inputUrl);
|
|
9
|
+
const url = new URL(inputUrl, absolute ? void 0 : "http://localhost");
|
|
10
|
+
const existing = {};
|
|
11
|
+
url.searchParams.forEach((value, key) => {
|
|
12
|
+
existing[key] = value;
|
|
13
|
+
});
|
|
14
|
+
const query = getParametersUrl(existing, addParameters);
|
|
15
|
+
const params = new URLSearchParams(query);
|
|
16
|
+
for (const key of removeParameters) params.delete(key);
|
|
17
|
+
const search = params.size ? `?${params.toString()}` : "";
|
|
18
|
+
return `${absolute ? `${url.origin}${url.pathname}` : url.pathname}${search}${url.hash}`;
|
|
19
|
+
};
|
|
20
|
+
//#endregion
|
|
21
|
+
export { buildUrl };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_url_getWithoutParameter = require("./getWithoutParameter.cjs");
|
|
3
|
+
const require_url_getWithoutHash = require("./getWithoutHash.cjs");
|
|
4
|
+
//#region src/url/getClean.ts
|
|
5
|
+
/**
|
|
6
|
+
* Return a clean URL with a few options.
|
|
7
|
+
*/
|
|
8
|
+
const getClean = (props) => {
|
|
9
|
+
let response = props.input.toString().trim();
|
|
10
|
+
if (props.parameter) response = require_url_getWithoutParameter.getWithoutParameter(response);
|
|
11
|
+
if (props.hash) response = require_url_getWithoutHash.getWithoutHash(response);
|
|
12
|
+
if (props.lowercase) response = response.toLowerCase();
|
|
13
|
+
return response;
|
|
14
|
+
};
|
|
15
|
+
//#endregion
|
|
16
|
+
exports.getClean = getClean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region src/
|
|
1
|
+
//#region src/url/getClean.d.ts
|
|
2
2
|
type GetClean = {
|
|
3
3
|
hash?: boolean;
|
|
4
4
|
input: any;
|
|
@@ -8,6 +8,5 @@ type GetClean = {
|
|
|
8
8
|
/**
|
|
9
9
|
* Return a clean URL with a few options.
|
|
10
10
|
*/
|
|
11
|
-
declare const getClean: (props: GetClean) => string;
|
|
12
|
-
//#endregion
|
|
13
|
-
export { getClean };
|
|
11
|
+
export declare const getClean: (props: GetClean) => string;
|
|
12
|
+
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region src/
|
|
1
|
+
//#region src/url/getClean.d.ts
|
|
2
2
|
type GetClean = {
|
|
3
3
|
hash?: boolean;
|
|
4
4
|
input: any;
|
|
@@ -8,6 +8,5 @@ type GetClean = {
|
|
|
8
8
|
/**
|
|
9
9
|
* Return a clean URL with a few options.
|
|
10
10
|
*/
|
|
11
|
-
declare const getClean: (props: GetClean) => string;
|
|
12
|
-
//#endregion
|
|
13
|
-
export { getClean };
|
|
11
|
+
export declare const getClean: (props: GetClean) => string;
|
|
12
|
+
//#endregion
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_lodash_merge = require("../lodash/merge.cjs");
|
|
3
|
+
//#region src/url/getParametersUrl.ts
|
|
4
|
+
/**
|
|
5
|
+
* Take an object and return the parameter part of a URL irrespective of path.
|
|
6
|
+
*/
|
|
7
|
+
const getParametersUrl = (existing = {}, updated = {}) => {
|
|
8
|
+
const merged = require_lodash_merge.merge(existing, updated);
|
|
9
|
+
const params = new URLSearchParams();
|
|
10
|
+
for (const key of Object.keys(merged).sort()) {
|
|
11
|
+
const value = "undefined" === typeof updated[key] ? existing[key] : updated[key];
|
|
12
|
+
params.set(key, String(value));
|
|
13
|
+
}
|
|
14
|
+
return params.size ? `?${params.toString()}` : "";
|
|
15
|
+
};
|
|
16
|
+
//#endregion
|
|
17
|
+
exports.getParametersUrl = getParametersUrl;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { merge } from "../lodash/merge.mjs";
|
|
2
|
+
//#region src/url/getParametersUrl.ts
|
|
3
|
+
/**
|
|
4
|
+
* Take an object and return the parameter part of a URL irrespective of path.
|
|
5
|
+
*/
|
|
6
|
+
const getParametersUrl = (existing = {}, updated = {}) => {
|
|
7
|
+
const merged = merge(existing, updated);
|
|
8
|
+
const params = new URLSearchParams();
|
|
9
|
+
for (const key of Object.keys(merged).sort()) {
|
|
10
|
+
const value = "undefined" === typeof updated[key] ? existing[key] : updated[key];
|
|
11
|
+
params.set(key, String(value));
|
|
12
|
+
}
|
|
13
|
+
return params.size ? `?${params.toString()}` : "";
|
|
14
|
+
};
|
|
15
|
+
//#endregion
|
|
16
|
+
export { getParametersUrl };
|
package/dist/url/index.cjs
CHANGED
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
const require_url_isAbsolute = require("./isAbsolute.cjs");
|
|
3
|
+
const require_url_getParametersUrl = require("./getParametersUrl.cjs");
|
|
4
|
+
const require_url_buildUrl = require("./buildUrl.cjs");
|
|
5
|
+
const require_url_getWithoutParameter = require("./getWithoutParameter.cjs");
|
|
6
|
+
const require_url_getWithoutHash = require("./getWithoutHash.cjs");
|
|
7
|
+
const require_url_getClean = require("./getClean.cjs");
|
|
8
|
+
const require_url_isRelative = require("./isRelative.cjs");
|
|
9
|
+
exports.buildUrl = require_url_buildUrl.buildUrl;
|
|
10
|
+
exports.getClean = require_url_getClean.getClean;
|
|
11
|
+
exports.getParametersUrl = require_url_getParametersUrl.getParametersUrl;
|
|
12
|
+
exports.getWithoutHash = require_url_getWithoutHash.getWithoutHash;
|
|
13
|
+
exports.getWithoutParameter = require_url_getWithoutParameter.getWithoutParameter;
|
|
14
|
+
exports.isAbsolute = require_url_isAbsolute.isAbsolute;
|
|
15
|
+
exports.isRelative = require_url_isRelative.isRelative;
|
package/dist/url/index.d.cts
CHANGED
|
@@ -1,2 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { buildUrl } from "./buildUrl.cjs";
|
|
2
|
+
import { getClean } from "./getClean.cjs";
|
|
3
|
+
import { getParametersUrl } from "./getParametersUrl.cjs";
|
|
4
|
+
import { getWithoutHash } from "./getWithoutHash.cjs";
|
|
5
|
+
import { getWithoutParameter } from "./getWithoutParameter.cjs";
|
|
6
|
+
import { isAbsolute } from "./isAbsolute.cjs";
|
|
7
|
+
import { isRelative } from "./isRelative.cjs";
|
|
8
|
+
export { buildUrl, getClean, getParametersUrl, getWithoutHash, getWithoutParameter, isAbsolute, isRelative };
|
package/dist/url/index.d.mts
CHANGED
|
@@ -1,2 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { buildUrl } from "./buildUrl.mjs";
|
|
2
|
+
import { getClean } from "./getClean.mjs";
|
|
3
|
+
import { getParametersUrl } from "./getParametersUrl.mjs";
|
|
4
|
+
import { getWithoutHash } from "./getWithoutHash.mjs";
|
|
5
|
+
import { getWithoutParameter } from "./getWithoutParameter.mjs";
|
|
6
|
+
import { isAbsolute } from "./isAbsolute.mjs";
|
|
7
|
+
import { isRelative } from "./isRelative.mjs";
|
|
8
|
+
export { buildUrl, getClean, getParametersUrl, getWithoutHash, getWithoutParameter, isAbsolute, isRelative };
|
package/dist/url/index.mjs
CHANGED
|
@@ -1,2 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { isAbsolute } from "./isAbsolute.mjs";
|
|
2
|
+
import { getParametersUrl } from "./getParametersUrl.mjs";
|
|
3
|
+
import { buildUrl } from "./buildUrl.mjs";
|
|
4
|
+
import { getWithoutParameter } from "./getWithoutParameter.mjs";
|
|
5
|
+
import { getWithoutHash } from "./getWithoutHash.mjs";
|
|
6
|
+
import { getClean } from "./getClean.mjs";
|
|
7
|
+
import { isRelative } from "./isRelative.mjs";
|
|
8
|
+
export { buildUrl, getClean, getParametersUrl, getWithoutHash, getWithoutParameter, isAbsolute, isRelative };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
//#region src/url/isAbsolute.ts
|
|
3
|
+
/**
|
|
4
|
+
* Does the URL begin with HTTP or HTTPS?
|
|
5
|
+
*/
|
|
6
|
+
const isAbsolute = (input) => {
|
|
7
|
+
try {
|
|
8
|
+
new URL(input);
|
|
9
|
+
} catch (error) {
|
|
10
|
+
return false;
|
|
11
|
+
}
|
|
12
|
+
return true;
|
|
13
|
+
};
|
|
14
|
+
//#endregion
|
|
15
|
+
exports.isAbsolute = isAbsolute;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
//#region src/url/isRelative.ts
|
|
3
|
+
/**
|
|
4
|
+
* Does the URL begin with a slash.
|
|
5
|
+
*/
|
|
6
|
+
const isRelative = (input) => {
|
|
7
|
+
return "/" === input.trim().charAt(0);
|
|
8
|
+
};
|
|
9
|
+
//#endregion
|
|
10
|
+
exports.isRelative = isRelative;
|
|
@@ -2,6 +2,5 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* Downloads a given URL's contents to a local file.
|
|
4
4
|
*/
|
|
5
|
-
declare const writeUrlContents: (filePath: string, url: string) => Promise<void>;
|
|
6
|
-
//#endregion
|
|
7
|
-
export { writeUrlContents };
|
|
5
|
+
export declare const writeUrlContents: (filePath: string, url: string) => Promise<void>;
|
|
6
|
+
//#endregion
|
|
@@ -2,6 +2,5 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* Downloads a given URL's contents to a local file.
|
|
4
4
|
*/
|
|
5
|
-
declare const writeUrlContents: (filePath: string, url: string) => Promise<void>;
|
|
6
|
-
//#endregion
|
|
7
|
-
export { writeUrlContents };
|
|
5
|
+
export declare const writeUrlContents: (filePath: string, url: string) => Promise<void>;
|
|
6
|
+
//#endregion
|
package/dist/util/defaultTo.cjs
CHANGED
|
@@ -10,13 +10,11 @@ const defaultTo = (instance, keys, defaultValue = null) => {
|
|
|
10
10
|
let found = true;
|
|
11
11
|
let pointer = instance;
|
|
12
12
|
if ("undefined" === typeof instance || null === pointer) found = false;
|
|
13
|
-
else keysArray.
|
|
14
|
-
if (
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} else found = false;
|
|
19
|
-
}
|
|
13
|
+
else found = keysArray.every((key) => {
|
|
14
|
+
if (!require_lodash_isObject.isObject(pointer)) return false;
|
|
15
|
+
if ("undefined" === typeof pointer[key] || null === pointer[key]) return false;
|
|
16
|
+
pointer = pointer[key];
|
|
17
|
+
return true;
|
|
20
18
|
});
|
|
21
19
|
return found ? pointer : defaultValue;
|
|
22
20
|
};
|
|
@@ -2,6 +2,5 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* Function to default to a value, whilst filtering through an instance
|
|
4
4
|
*/
|
|
5
|
-
declare const defaultTo: (instance: any, keys: any | any[], defaultValue?: any) => any;
|
|
6
|
-
//#endregion
|
|
7
|
-
export { defaultTo };
|
|
5
|
+
export declare const defaultTo: (instance: any, keys: any | any[], defaultValue?: any) => any;
|
|
6
|
+
//#endregion
|