@gradientedge/cdk-utils 4.2.3 → 4.4.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/README.md +38 -23
- package/api-docs/AcmManager.html +619 -0
- package/api-docs/AcmProps.html +235 -0
- package/api-docs/AlarmProps.html +235 -0
- package/api-docs/AlarmStatusWidgetProps.html +235 -0
- package/api-docs/ApiDestinationEvent.html +294 -0
- package/api-docs/ApiDestinationEventType.html +235 -0
- package/api-docs/ApiDestinedLambda.html +294 -0
- package/api-docs/ApiDestinedLambdaEnvironment.html +235 -0
- package/api-docs/ApiDestinedLambdaType.html +235 -0
- package/api-docs/ApiDestinedRestApi.html +294 -0
- package/api-docs/ApiDestinedRestApiType.html +235 -0
- package/api-docs/ApiManager.html +763 -0
- package/api-docs/ApiToEventBridgeTarget.html +1874 -0
- package/api-docs/ApiToEventBridgeTarget.jpg +0 -0
- package/api-docs/ApiToEventBridgeTargetEventProps.html +235 -0
- package/api-docs/ApiToEventBridgeTargetLambdaProps.html +235 -0
- package/api-docs/ApiToEventBridgeTargetProps.html +235 -0
- package/api-docs/AppConfigManager.html +1200 -0
- package/api-docs/AppConfigProps.html +235 -0
- package/api-docs/CloudFrontManager.html +2399 -0
- package/api-docs/CloudFrontProps.html +235 -0
- package/api-docs/CloudTrailManager.html +634 -0
- package/api-docs/CloudTrailProps.html +235 -0
- package/api-docs/CloudWatchManager.html +2983 -0
- package/api-docs/CloudfrontFunctionProps.html +235 -0
- package/api-docs/CodeBuildManager.html +733 -0
- package/api-docs/CommonConstruct.html +1296 -0
- package/api-docs/CommonStack.html +810 -0
- package/api-docs/CommonStackProps.html +235 -0
- package/api-docs/DashboardProps.html +235 -0
- package/api-docs/DistributionProps.html +235 -0
- package/api-docs/DynamodbManager.html +527 -0
- package/api-docs/EcrManager.html +527 -0
- package/api-docs/EcsClusterProps.html +235 -0
- package/api-docs/EcsManager.html +877 -0
- package/api-docs/EcsTaskProps.html +235 -0
- package/api-docs/EksClusterProps.html +235 -0
- package/api-docs/EksManager.html +577 -0
- package/api-docs/EventBusProps.html +235 -0
- package/api-docs/EventManager.html +1451 -0
- package/api-docs/EventRuleProps.html +235 -0
- package/api-docs/GraphQLApiLambda.html +1668 -0
- package/api-docs/GraphQLApiLambda.jpg +0 -0
- package/api-docs/GraphQlApiLambdaEnvironment.html +235 -0
- package/api-docs/GraphQlApiLambdaProps.html +235 -0
- package/api-docs/GraphWidgetProps.html +235 -0
- package/api-docs/HealthCheck.html +235 -0
- package/api-docs/IamManager.html +3818 -0
- package/api-docs/LambdaEdgeProps.html +235 -0
- package/api-docs/LambdaEnvironment.html +235 -0
- package/api-docs/LambdaManager.html +2375 -0
- package/api-docs/LambdaProps.html +235 -0
- package/api-docs/LogManager.html +952 -0
- package/api-docs/LogProps.html +235 -0
- package/api-docs/LogQueryWidgetProps.html +235 -0
- package/api-docs/MetricFilterProps.html +235 -0
- package/api-docs/MetricProps.html +235 -0
- package/api-docs/NumericWidgetProps.html +235 -0
- package/api-docs/Route53Manager.html +1457 -0
- package/api-docs/Route53Props.html +235 -0
- package/api-docs/RuleProps.html +235 -0
- package/api-docs/S3BucketProps.html +235 -0
- package/api-docs/S3Manager.html +1543 -0
- package/api-docs/SSMParameterReader.html +428 -0
- package/api-docs/SSMParameterReaderProps.html +235 -0
- package/api-docs/SecretsManager.html +1137 -0
- package/api-docs/SiteWithEcsBackend.html +2388 -0
- package/api-docs/SiteWithEcsBackendProps.html +235 -0
- package/api-docs/SnsManager.html +777 -0
- package/api-docs/SsmManager.html +952 -0
- package/api-docs/StaticSite.html +1355 -0
- package/api-docs/StaticSiteProps.html +235 -0
- package/api-docs/SubscriptionProps.html +235 -0
- package/api-docs/TableProps.html +235 -0
- package/api-docs/TextWidgetProps.html +235 -0
- package/api-docs/VpcManager.html +930 -0
- package/api-docs/WafIPSetProps.html +235 -0
- package/api-docs/WafManager.html +727 -0
- package/api-docs/WafWebACLProps.html +235 -0
- package/api-docs/common_construct.ts.html +275 -0
- package/api-docs/common_stack.ts.html +299 -0
- package/api-docs/construct_api-to-eventbridge-target_api-destination-event.ts.html +171 -0
- package/api-docs/construct_api-to-eventbridge-target_api-destined-lambda.ts.html +174 -0
- package/api-docs/construct_api-to-eventbridge-target_api-destined-rest-api.ts.html +186 -0
- package/api-docs/construct_api-to-eventbridge-target_main.ts.html +747 -0
- package/api-docs/construct_graphql-api-lambda_main.ts.html +404 -0
- package/api-docs/construct_site-with-ecs-backend_main.ts.html +540 -0
- package/api-docs/construct_static-site_main.ts.html +370 -0
- package/api-docs/global.html +1527 -0
- package/api-docs/index.html +207 -0
- package/api-docs/manager_aws_acm-manager.ts.html +232 -0
- package/api-docs/manager_aws_api-manager.ts.html +256 -0
- package/api-docs/manager_aws_app-config-manager.ts.html +305 -0
- package/api-docs/manager_aws_cloudfront-manager.ts.html +487 -0
- package/api-docs/manager_aws_cloudtrail-manager.ts.html +247 -0
- package/api-docs/manager_aws_cloudwatch-manager.ts.html +548 -0
- package/api-docs/manager_aws_codebuild-manager.ts.html +236 -0
- package/api-docs/manager_aws_dynamodb-manager.ts.html +215 -0
- package/api-docs/manager_aws_ecr-manager.ts.html +195 -0
- package/api-docs/manager_aws_ecs-manager.ts.html +255 -0
- package/api-docs/manager_aws_eks-manager.ts.html +256 -0
- package/api-docs/manager_aws_event-manager.ts.html +332 -0
- package/api-docs/manager_aws_iam-manager.ts.html +569 -0
- package/api-docs/manager_aws_lambda-manager.ts.html +396 -0
- package/api-docs/manager_aws_log-manager.ts.html +255 -0
- package/api-docs/manager_aws_route53-manager.ts.html +329 -0
- package/api-docs/manager_aws_s3-manager.ts.html +357 -0
- package/api-docs/manager_aws_secrets-manager.ts.html +270 -0
- package/api-docs/manager_aws_sns-manager.ts.html +242 -0
- package/api-docs/manager_aws_ssm-manager.ts.html +268 -0
- package/api-docs/manager_aws_vpc-manager.ts.html +238 -0
- package/api-docs/manager_aws_waf-manager.ts.html +228 -0
- package/api-docs/scripts/app.min.js +1 -0
- package/api-docs/scripts/linenumber.js +26 -0
- package/api-docs/scripts/search.js +39 -0
- package/api-docs/styles/app.min.css +1 -0
- package/api-docs/styles/iframe.css +13 -0
- package/api-docs/styles/prettify-jsdoc.css +111 -0
- package/api-docs/styles/prettify-tomorrow.css +132 -0
- package/api-docs/styles/reset.css +44 -0
- package/api-docs/tutorial-Architecture.html +147 -0
- package/api-docs/tutorial-Build.html +146 -0
- package/api-docs/tutorial-CI-CD.html +150 -0
- package/api-docs/tutorial-Development.html +223 -0
- package/api-docs/types_aws_index.ts.html +611 -0
- package/api-docs/utils_aws_index.ts.html +189 -0
- package/api-docs/utils_index.ts.html +225 -0
- package/app/api-destined-function/node_modules/.yarn-integrity +180 -0
- package/app/api-destined-function/node_modules/@types/uuid/LICENSE +21 -0
- package/app/api-destined-function/node_modules/@types/uuid/README.md +16 -0
- package/app/api-destined-function/node_modules/@types/uuid/index.d.mts +10 -0
- package/app/api-destined-function/node_modules/@types/uuid/index.d.ts +80 -0
- package/app/api-destined-function/node_modules/@types/uuid/package.json +54 -0
- package/app/api-destined-function/node_modules/balanced-match/LICENSE.md +21 -0
- package/app/api-destined-function/node_modules/balanced-match/README.md +97 -0
- package/app/api-destined-function/node_modules/balanced-match/index.js +62 -0
- package/app/api-destined-function/node_modules/balanced-match/package.json +48 -0
- package/app/api-destined-function/node_modules/brace-expansion/LICENSE +21 -0
- package/app/api-destined-function/node_modules/brace-expansion/README.md +129 -0
- package/app/api-destined-function/node_modules/brace-expansion/index.js +201 -0
- package/app/api-destined-function/node_modules/brace-expansion/package.json +47 -0
- package/app/api-destined-function/node_modules/concat-map/.travis.yml +4 -0
- package/app/api-destined-function/node_modules/concat-map/LICENSE +18 -0
- package/app/api-destined-function/node_modules/concat-map/README.markdown +62 -0
- package/app/api-destined-function/node_modules/concat-map/example/map.js +6 -0
- package/app/api-destined-function/node_modules/concat-map/index.js +13 -0
- package/app/api-destined-function/node_modules/concat-map/package.json +43 -0
- package/app/api-destined-function/node_modules/fs.realpath/LICENSE +43 -0
- package/app/api-destined-function/node_modules/fs.realpath/README.md +33 -0
- package/app/api-destined-function/node_modules/fs.realpath/index.js +66 -0
- package/app/api-destined-function/node_modules/fs.realpath/old.js +303 -0
- package/app/api-destined-function/node_modules/fs.realpath/package.json +26 -0
- package/app/api-destined-function/node_modules/glob/LICENSE +21 -0
- package/app/api-destined-function/node_modules/glob/README.md +378 -0
- package/app/api-destined-function/node_modules/glob/common.js +236 -0
- package/app/api-destined-function/node_modules/glob/glob.js +787 -0
- package/app/api-destined-function/node_modules/glob/package.json +52 -0
- package/app/api-destined-function/node_modules/glob/sync.js +483 -0
- package/app/api-destined-function/node_modules/inflight/LICENSE +15 -0
- package/app/api-destined-function/node_modules/inflight/README.md +37 -0
- package/app/api-destined-function/node_modules/inflight/inflight.js +54 -0
- package/app/api-destined-function/node_modules/inflight/package.json +29 -0
- package/app/api-destined-function/node_modules/inherits/LICENSE +16 -0
- package/app/api-destined-function/node_modules/inherits/README.md +42 -0
- package/app/api-destined-function/node_modules/inherits/inherits.js +9 -0
- package/app/api-destined-function/node_modules/inherits/inherits_browser.js +27 -0
- package/app/api-destined-function/node_modules/inherits/package.json +29 -0
- package/app/api-destined-function/node_modules/minimatch/LICENSE +15 -0
- package/app/api-destined-function/node_modules/minimatch/README.md +209 -0
- package/app/api-destined-function/node_modules/minimatch/minimatch.js +923 -0
- package/app/api-destined-function/node_modules/minimatch/package.json +30 -0
- package/app/api-destined-function/node_modules/mkdirp/LICENSE +21 -0
- package/app/api-destined-function/node_modules/mkdirp/bin/cmd.js +68 -0
- package/app/api-destined-function/node_modules/mkdirp/index.js +31 -0
- package/app/api-destined-function/node_modules/mkdirp/lib/find-made.js +29 -0
- package/app/api-destined-function/node_modules/mkdirp/lib/mkdirp-manual.js +64 -0
- package/app/api-destined-function/node_modules/mkdirp/lib/mkdirp-native.js +39 -0
- package/app/api-destined-function/node_modules/mkdirp/lib/opts-arg.js +23 -0
- package/app/api-destined-function/node_modules/mkdirp/lib/path-arg.js +29 -0
- package/app/api-destined-function/node_modules/mkdirp/lib/use-native.js +10 -0
- package/app/api-destined-function/node_modules/mkdirp/package.json +44 -0
- package/app/api-destined-function/node_modules/mkdirp/readme.markdown +266 -0
- package/app/api-destined-function/node_modules/once/LICENSE +15 -0
- package/app/api-destined-function/node_modules/once/README.md +79 -0
- package/app/api-destined-function/node_modules/once/once.js +42 -0
- package/app/api-destined-function/node_modules/once/package.json +33 -0
- package/app/api-destined-function/node_modules/path-is-absolute/index.js +20 -0
- package/app/api-destined-function/node_modules/path-is-absolute/license +21 -0
- package/app/api-destined-function/node_modules/path-is-absolute/package.json +43 -0
- package/app/api-destined-function/node_modules/path-is-absolute/readme.md +59 -0
- package/app/api-destined-function/node_modules/rimraf/LICENSE +15 -0
- package/app/api-destined-function/node_modules/rimraf/README.md +101 -0
- package/app/api-destined-function/node_modules/rimraf/bin.js +68 -0
- package/app/api-destined-function/node_modules/rimraf/package.json +32 -0
- package/app/api-destined-function/node_modules/rimraf/rimraf.js +360 -0
- package/app/api-destined-function/node_modules/uuid/LICENSE.md +9 -0
- package/app/api-destined-function/node_modules/uuid/README.md +505 -0
- package/app/api-destined-function/node_modules/uuid/dist/bin/uuid +2 -0
- package/app/api-destined-function/node_modules/uuid/dist/esm-browser/index.js +9 -0
- package/app/api-destined-function/node_modules/uuid/dist/esm-browser/md5.js +215 -0
- package/app/api-destined-function/node_modules/uuid/dist/esm-browser/nil.js +1 -0
- package/app/api-destined-function/node_modules/uuid/dist/esm-browser/parse.js +35 -0
- package/app/api-destined-function/node_modules/uuid/dist/esm-browser/regex.js +1 -0
- package/app/api-destined-function/node_modules/uuid/dist/esm-browser/rng.js +19 -0
- package/app/api-destined-function/node_modules/uuid/dist/esm-browser/sha1.js +96 -0
- package/app/api-destined-function/node_modules/uuid/dist/esm-browser/stringify.js +30 -0
- package/app/api-destined-function/node_modules/uuid/dist/esm-browser/v1.js +95 -0
- package/app/api-destined-function/node_modules/uuid/dist/esm-browser/v3.js +4 -0
- package/app/api-destined-function/node_modules/uuid/dist/esm-browser/v35.js +64 -0
- package/app/api-destined-function/node_modules/uuid/dist/esm-browser/v4.js +24 -0
- package/app/api-destined-function/node_modules/uuid/dist/esm-browser/v5.js +4 -0
- package/app/api-destined-function/node_modules/uuid/dist/esm-browser/validate.js +7 -0
- package/app/api-destined-function/node_modules/uuid/dist/esm-browser/version.js +11 -0
- package/app/api-destined-function/node_modules/uuid/dist/esm-node/index.js +9 -0
- package/app/api-destined-function/node_modules/uuid/dist/esm-node/md5.js +13 -0
- package/app/api-destined-function/node_modules/uuid/dist/esm-node/nil.js +1 -0
- package/app/api-destined-function/node_modules/uuid/dist/esm-node/parse.js +35 -0
- package/app/api-destined-function/node_modules/uuid/dist/esm-node/regex.js +1 -0
- package/app/api-destined-function/node_modules/uuid/dist/esm-node/rng.js +12 -0
- package/app/api-destined-function/node_modules/uuid/dist/esm-node/sha1.js +13 -0
- package/app/api-destined-function/node_modules/uuid/dist/esm-node/stringify.js +29 -0
- package/app/api-destined-function/node_modules/uuid/dist/esm-node/v1.js +95 -0
- package/app/api-destined-function/node_modules/uuid/dist/esm-node/v3.js +4 -0
- package/app/api-destined-function/node_modules/uuid/dist/esm-node/v35.js +64 -0
- package/app/api-destined-function/node_modules/uuid/dist/esm-node/v4.js +24 -0
- package/app/api-destined-function/node_modules/uuid/dist/esm-node/v5.js +4 -0
- package/app/api-destined-function/node_modules/uuid/dist/esm-node/validate.js +7 -0
- package/app/api-destined-function/node_modules/uuid/dist/esm-node/version.js +11 -0
- package/app/api-destined-function/node_modules/uuid/dist/index.js +79 -0
- package/app/api-destined-function/node_modules/uuid/dist/md5-browser.js +223 -0
- package/app/api-destined-function/node_modules/uuid/dist/md5.js +23 -0
- package/app/api-destined-function/node_modules/uuid/dist/nil.js +8 -0
- package/app/api-destined-function/node_modules/uuid/dist/parse.js +45 -0
- package/app/api-destined-function/node_modules/uuid/dist/regex.js +8 -0
- package/app/api-destined-function/node_modules/uuid/dist/rng-browser.js +26 -0
- package/app/api-destined-function/node_modules/uuid/dist/rng.js +24 -0
- package/app/api-destined-function/node_modules/uuid/dist/sha1-browser.js +104 -0
- package/app/api-destined-function/node_modules/uuid/dist/sha1.js +23 -0
- package/app/api-destined-function/node_modules/uuid/dist/stringify.js +39 -0
- package/app/api-destined-function/node_modules/uuid/dist/umd/uuid.min.js +1 -0
- package/app/api-destined-function/node_modules/uuid/dist/umd/uuidNIL.min.js +1 -0
- package/app/api-destined-function/node_modules/uuid/dist/umd/uuidParse.min.js +1 -0
- package/app/api-destined-function/node_modules/uuid/dist/umd/uuidStringify.min.js +1 -0
- package/app/api-destined-function/node_modules/uuid/dist/umd/uuidValidate.min.js +1 -0
- package/app/api-destined-function/node_modules/uuid/dist/umd/uuidVersion.min.js +1 -0
- package/app/api-destined-function/node_modules/uuid/dist/umd/uuidv1.min.js +1 -0
- package/app/api-destined-function/node_modules/uuid/dist/umd/uuidv3.min.js +1 -0
- package/app/api-destined-function/node_modules/uuid/dist/umd/uuidv4.min.js +1 -0
- package/app/api-destined-function/node_modules/uuid/dist/umd/uuidv5.min.js +1 -0
- package/app/api-destined-function/node_modules/uuid/dist/uuid-bin.js +85 -0
- package/app/api-destined-function/node_modules/uuid/dist/v1.js +107 -0
- package/app/api-destined-function/node_modules/uuid/dist/v3.js +16 -0
- package/app/api-destined-function/node_modules/uuid/dist/v35.js +78 -0
- package/app/api-destined-function/node_modules/uuid/dist/v4.js +37 -0
- package/app/api-destined-function/node_modules/uuid/dist/v5.js +16 -0
- package/app/api-destined-function/node_modules/uuid/dist/validate.js +17 -0
- package/app/api-destined-function/node_modules/uuid/dist/version.js +21 -0
- package/app/api-destined-function/node_modules/uuid/package.json +135 -0
- package/app/api-destined-function/node_modules/uuid/wrapper.mjs +10 -0
- package/app/api-destined-function/node_modules/wrappy/LICENSE +15 -0
- package/app/api-destined-function/node_modules/wrappy/README.md +36 -0
- package/app/api-destined-function/node_modules/wrappy/package.json +29 -0
- package/app/api-destined-function/node_modules/wrappy/wrappy.js +33 -0
- package/app/api-destined-function/package.json +30 -0
- package/app/api-destined-function/src/lib/lambda.ts +31 -0
- package/dist/app/api-destined-function/src/lib/lambda.d.ts +19 -0
- package/dist/app/api-destined-function/src/lib/lambda.d.ts.map +1 -0
- package/dist/app/api-destined-function/src/lib/lambda.js +34 -0
- package/dist/app/api-destined-function/src/lib/lambda.js.map +1 -0
- package/dist/src/lib/common/{commonConstruct.d.ts → construct.d.ts} +3 -13
- package/dist/src/lib/common/construct.d.ts.map +1 -0
- package/dist/src/lib/common/{commonConstruct.js → construct.js} +4 -14
- package/dist/src/lib/common/construct.js.map +1 -0
- package/dist/src/lib/common/index.d.ts +2 -2
- package/dist/src/lib/common/index.d.ts.map +1 -1
- package/dist/src/lib/common/index.js +2 -2
- package/dist/src/lib/common/index.js.map +1 -1
- package/dist/src/lib/common/{commonStack.d.ts → stack.d.ts} +3 -14
- package/dist/src/lib/common/stack.d.ts.map +1 -0
- package/dist/src/lib/common/{commonStack.js → stack.js} +4 -15
- package/dist/src/lib/common/stack.js.map +1 -0
- package/dist/src/lib/construct/api-to-eventbridge-target/api-destination-event.d.ts +16 -0
- package/dist/src/lib/construct/api-to-eventbridge-target/api-destination-event.d.ts.map +1 -0
- package/dist/src/lib/construct/api-to-eventbridge-target/api-destination-event.js +17 -0
- package/dist/src/lib/construct/api-to-eventbridge-target/api-destination-event.js.map +1 -0
- package/dist/src/lib/construct/api-to-eventbridge-target/api-destined-lambda.d.ts +19 -0
- package/dist/src/lib/construct/api-to-eventbridge-target/api-destined-lambda.d.ts.map +1 -0
- package/dist/src/lib/construct/api-to-eventbridge-target/api-destined-lambda.js +19 -0
- package/dist/src/lib/construct/api-to-eventbridge-target/api-destined-lambda.js.map +1 -0
- package/dist/src/lib/construct/api-to-eventbridge-target/api-destined-rest-api.d.ts +35 -0
- package/dist/src/lib/construct/api-to-eventbridge-target/api-destined-rest-api.d.ts.map +1 -0
- package/dist/src/lib/construct/api-to-eventbridge-target/api-destined-rest-api.js +29 -0
- package/dist/src/lib/construct/api-to-eventbridge-target/api-destined-rest-api.js.map +1 -0
- package/dist/src/lib/construct/api-to-eventbridge-target/index.d.ts +5 -0
- package/dist/src/lib/construct/api-to-eventbridge-target/index.d.ts.map +1 -0
- package/dist/src/lib/construct/api-to-eventbridge-target/index.js +17 -0
- package/dist/src/lib/construct/api-to-eventbridge-target/index.js.map +1 -0
- package/dist/src/lib/construct/api-to-eventbridge-target/main.d.ts +134 -0
- package/dist/src/lib/construct/api-to-eventbridge-target/main.d.ts.map +1 -0
- package/dist/src/lib/construct/api-to-eventbridge-target/main.js +487 -0
- package/dist/src/lib/construct/api-to-eventbridge-target/main.js.map +1 -0
- package/dist/src/lib/construct/graphql-api-lambda/index.d.ts +2 -0
- package/dist/src/lib/construct/graphql-api-lambda/index.d.ts.map +1 -0
- package/dist/src/lib/construct/graphql-api-lambda/index.js +14 -0
- package/dist/src/lib/construct/graphql-api-lambda/index.js.map +1 -0
- package/dist/src/lib/construct/{graphQLApiLambda.d.ts → graphql-api-lambda/main.d.ts} +12 -22
- package/dist/src/lib/construct/graphql-api-lambda/main.d.ts.map +1 -0
- package/dist/src/lib/construct/{graphQLApiLambda.js → graphql-api-lambda/main.js} +14 -24
- package/dist/src/lib/construct/graphql-api-lambda/main.js.map +1 -0
- package/dist/src/lib/construct/index.d.ts +4 -3
- package/dist/src/lib/construct/index.d.ts.map +1 -1
- package/dist/src/lib/construct/index.js +4 -3
- package/dist/src/lib/construct/index.js.map +1 -1
- package/dist/src/lib/construct/site-with-ecs-backend/index.d.ts +2 -0
- package/dist/src/lib/construct/site-with-ecs-backend/index.d.ts.map +1 -0
- package/dist/src/lib/construct/site-with-ecs-backend/index.js +14 -0
- package/dist/src/lib/construct/site-with-ecs-backend/index.js.map +1 -0
- package/dist/src/lib/construct/{siteWithEcsBackend.d.ts → site-with-ecs-backend/main.d.ts} +4 -16
- package/dist/src/lib/construct/site-with-ecs-backend/main.d.ts.map +1 -0
- package/dist/src/lib/construct/{siteWithEcsBackend.js → site-with-ecs-backend/main.js} +4 -16
- package/dist/src/lib/construct/site-with-ecs-backend/main.js.map +1 -0
- package/dist/src/lib/construct/static-site/index.d.ts +2 -0
- package/dist/src/lib/construct/static-site/index.d.ts.map +1 -0
- package/dist/src/lib/construct/static-site/index.js +14 -0
- package/dist/src/lib/construct/static-site/index.js.map +1 -0
- package/dist/src/lib/construct/{staticSite.d.ts → static-site/main.d.ts} +4 -16
- package/dist/src/lib/construct/static-site/main.d.ts.map +1 -0
- package/dist/src/lib/construct/{staticSite.js → static-site/main.js} +4 -16
- package/dist/src/lib/construct/static-site/main.js.map +1 -0
- package/dist/src/lib/manager/aws/{acmManager.d.ts → acm-manager.d.ts} +2 -2
- package/dist/src/lib/manager/aws/acm-manager.d.ts.map +1 -0
- package/dist/src/lib/manager/aws/{acmManager.js → acm-manager.js} +2 -2
- package/dist/src/lib/manager/aws/acm-manager.js.map +1 -0
- package/dist/src/lib/manager/aws/{apiManager.d.ts → api-manager.d.ts} +5 -5
- package/dist/src/lib/manager/aws/api-manager.d.ts.map +1 -0
- package/dist/src/lib/manager/aws/{apiManager.js → api-manager.js} +5 -5
- package/dist/src/lib/manager/aws/api-manager.js.map +1 -0
- package/dist/src/lib/manager/aws/{appConfigManager.d.ts → app-config-manager.d.ts} +2 -2
- package/dist/src/lib/manager/aws/app-config-manager.d.ts.map +1 -0
- package/dist/src/lib/manager/aws/{appConfigManager.js → app-config-manager.js} +2 -2
- package/dist/src/lib/manager/aws/app-config-manager.js.map +1 -0
- package/dist/src/lib/manager/aws/{cloudFrontManager.d.ts → cloudfront-manager.d.ts} +2 -2
- package/dist/src/lib/manager/aws/cloudfront-manager.d.ts.map +1 -0
- package/dist/src/lib/manager/aws/{cloudFrontManager.js → cloudfront-manager.js} +2 -2
- package/dist/src/lib/manager/aws/cloudfront-manager.js.map +1 -0
- package/dist/src/lib/manager/aws/{cloudTrailManager.d.ts → cloudtrail-manager.d.ts} +2 -2
- package/dist/src/lib/manager/aws/cloudtrail-manager.d.ts.map +1 -0
- package/dist/src/lib/manager/aws/{cloudTrailManager.js → cloudtrail-manager.js} +2 -2
- package/dist/src/lib/manager/aws/cloudtrail-manager.js.map +1 -0
- package/dist/src/lib/manager/aws/{cloudWatchManager.d.ts → cloudwatch-manager.d.ts} +2 -2
- package/dist/src/lib/manager/aws/cloudwatch-manager.d.ts.map +1 -0
- package/dist/src/lib/manager/aws/{cloudWatchManager.js → cloudwatch-manager.js} +2 -2
- package/dist/src/lib/manager/aws/cloudwatch-manager.js.map +1 -0
- package/dist/src/lib/manager/aws/{codeBuildManager.d.ts → codebuild-manager.d.ts} +2 -2
- package/dist/src/lib/manager/aws/codebuild-manager.d.ts.map +1 -0
- package/dist/src/lib/manager/aws/{codeBuildManager.js → codebuild-manager.js} +2 -2
- package/dist/src/lib/manager/aws/codebuild-manager.js.map +1 -0
- package/dist/src/lib/manager/aws/dynamodb-manager.d.ts +32 -0
- package/dist/src/lib/manager/aws/dynamodb-manager.d.ts.map +1 -0
- package/dist/src/lib/manager/aws/dynamodb-manager.js +79 -0
- package/dist/src/lib/manager/aws/dynamodb-manager.js.map +1 -0
- package/dist/src/lib/manager/aws/{ecrManager.d.ts → ecr-manager.d.ts} +2 -2
- package/dist/src/lib/manager/aws/ecr-manager.d.ts.map +1 -0
- package/dist/src/lib/manager/aws/{ecrManager.js → ecr-manager.js} +2 -2
- package/dist/src/lib/manager/aws/ecr-manager.js.map +1 -0
- package/dist/src/lib/manager/aws/{ecsManager.d.ts → ecs-manager.d.ts} +2 -2
- package/dist/src/lib/manager/aws/ecs-manager.d.ts.map +1 -0
- package/dist/src/lib/manager/aws/{ecsManager.js → ecs-manager.js} +2 -2
- package/dist/src/lib/manager/aws/ecs-manager.js.map +1 -0
- package/dist/src/lib/manager/aws/{eksManager.d.ts → eks-manager.d.ts} +2 -2
- package/dist/src/lib/manager/aws/eks-manager.d.ts.map +1 -0
- package/dist/src/lib/manager/aws/{eksManager.js → eks-manager.js} +2 -2
- package/dist/src/lib/manager/aws/eks-manager.js.map +1 -0
- package/dist/src/lib/manager/aws/{eventManager.d.ts → event-manager.d.ts} +18 -2
- package/dist/src/lib/manager/aws/event-manager.d.ts.map +1 -0
- package/dist/src/lib/manager/aws/{eventManager.js → event-manager.js} +44 -2
- package/dist/src/lib/manager/aws/event-manager.js.map +1 -0
- package/dist/src/lib/manager/aws/{iamManager.d.ts → iam-manager.d.ts} +12 -14
- package/dist/src/lib/manager/aws/iam-manager.d.ts.map +1 -0
- package/dist/src/lib/manager/aws/{iamManager.js → iam-manager.js} +21 -17
- package/dist/src/lib/manager/aws/iam-manager.js.map +1 -0
- package/dist/src/lib/manager/aws/index.d.ts +22 -21
- package/dist/src/lib/manager/aws/index.d.ts.map +1 -1
- package/dist/src/lib/manager/aws/index.js +22 -21
- package/dist/src/lib/manager/aws/index.js.map +1 -1
- package/dist/src/lib/manager/aws/{lambdaManager.d.ts → lambda-manager.d.ts} +28 -26
- package/dist/src/lib/manager/aws/lambda-manager.d.ts.map +1 -0
- package/dist/src/lib/manager/aws/{lambdaManager.js → lambda-manager.js} +45 -37
- package/dist/src/lib/manager/aws/lambda-manager.js.map +1 -0
- package/dist/src/lib/manager/aws/{logManager.d.ts → log-manager.d.ts} +2 -2
- package/dist/src/lib/manager/aws/log-manager.d.ts.map +1 -0
- package/dist/src/lib/manager/aws/{logManager.js → log-manager.js} +2 -2
- package/dist/src/lib/manager/aws/log-manager.js.map +1 -0
- package/dist/src/lib/manager/aws/{route53Manager.d.ts → route53-manager.d.ts} +3 -3
- package/dist/src/lib/manager/aws/route53-manager.d.ts.map +1 -0
- package/dist/src/lib/manager/aws/{route53Manager.js → route53-manager.js} +3 -3
- package/dist/src/lib/manager/aws/route53-manager.js.map +1 -0
- package/dist/src/lib/manager/aws/{s3Manager.d.ts → s3-manager.d.ts} +2 -2
- package/dist/src/lib/manager/aws/s3-manager.d.ts.map +1 -0
- package/dist/src/lib/manager/aws/{s3Manager.js → s3-manager.js} +2 -2
- package/dist/src/lib/manager/aws/s3-manager.js.map +1 -0
- package/dist/src/lib/manager/aws/{secretsManager.d.ts → secrets-manager.d.ts} +2 -2
- package/dist/src/lib/manager/aws/secrets-manager.d.ts.map +1 -0
- package/dist/src/lib/manager/aws/{secretsManager.js → secrets-manager.js} +2 -2
- package/dist/src/lib/manager/aws/secrets-manager.js.map +1 -0
- package/dist/src/lib/manager/aws/{snsManager.d.ts → sns-manager.d.ts} +2 -2
- package/dist/src/lib/manager/aws/sns-manager.d.ts.map +1 -0
- package/dist/src/lib/manager/aws/{snsManager.js → sns-manager.js} +2 -2
- package/dist/src/lib/manager/aws/sns-manager.js.map +1 -0
- package/dist/src/lib/manager/aws/{ssmManager.d.ts → ssm-manager.d.ts} +4 -9
- package/dist/src/lib/manager/aws/ssm-manager.d.ts.map +1 -0
- package/dist/src/lib/manager/aws/{ssmManager.js → ssm-manager.js} +4 -9
- package/dist/src/lib/manager/aws/ssm-manager.js.map +1 -0
- package/dist/src/lib/manager/aws/{vpcManager.d.ts → vpc-manager.d.ts} +2 -2
- package/dist/src/lib/manager/aws/vpc-manager.d.ts.map +1 -0
- package/dist/src/lib/manager/aws/{vpcManager.js → vpc-manager.js} +3 -2
- package/dist/src/lib/manager/aws/vpc-manager.js.map +1 -0
- package/dist/src/lib/manager/aws/{wafManager.d.ts → waf-manager.d.ts} +2 -2
- package/dist/src/lib/manager/aws/waf-manager.d.ts.map +1 -0
- package/dist/src/lib/manager/aws/{wafManager.js → waf-manager.js} +2 -2
- package/dist/src/lib/manager/aws/waf-manager.js.map +1 -0
- package/dist/src/lib/types/aws/index.d.ts +143 -2
- package/dist/src/lib/types/aws/index.d.ts.map +1 -1
- package/dist/src/lib/utils/aws/index.d.ts +1 -1
- package/dist/src/lib/utils/aws/index.d.ts.map +1 -1
- package/dist/src/lib/utils/index.d.ts +1 -0
- package/dist/src/lib/utils/index.d.ts.map +1 -1
- package/dist/src/lib/utils/index.js +1 -0
- package/dist/src/lib/utils/index.js.map +1 -1
- package/img/ApiToEventBridgeTarget.jpg +0 -0
- package/img/GraphQLApiLambda.jpg +0 -0
- package/package.json +12 -13
- package/src/lib/common/{commonConstruct.ts → construct.ts} +3 -13
- package/src/lib/common/index.ts +2 -2
- package/src/lib/common/{commonStack.ts → stack.ts} +3 -13
- package/src/lib/construct/api-to-eventbridge-target/api-destination-event.ts +16 -0
- package/src/lib/construct/api-to-eventbridge-target/api-destined-lambda.ts +19 -0
- package/src/lib/construct/api-to-eventbridge-target/api-destined-rest-api.ts +31 -0
- package/src/lib/construct/api-to-eventbridge-target/index.ts +4 -0
- package/src/lib/construct/api-to-eventbridge-target/main.ts +592 -0
- package/src/lib/construct/graphql-api-lambda/index.ts +1 -0
- package/src/lib/construct/{graphQLApiLambda.ts → graphql-api-lambda/main.ts} +13 -23
- package/src/lib/construct/index.ts +4 -3
- package/src/lib/construct/site-with-ecs-backend/index.ts +1 -0
- package/src/lib/construct/{siteWithEcsBackend.ts → site-with-ecs-backend/main.ts} +3 -15
- package/src/lib/construct/static-site/index.ts +1 -0
- package/src/lib/construct/{staticSite.ts → static-site/main.ts} +3 -15
- package/src/lib/manager/aws/{acmManager.ts → acm-manager.ts} +1 -1
- package/src/lib/manager/aws/{apiManager.ts → api-manager.ts} +4 -4
- package/src/lib/manager/aws/{appConfigManager.ts → app-config-manager.ts} +1 -1
- package/src/lib/manager/aws/{cloudFrontManager.ts → cloudfront-manager.ts} +1 -1
- package/src/lib/manager/aws/{cloudTrailManager.ts → cloudtrail-manager.ts} +1 -1
- package/src/lib/manager/aws/{cloudWatchManager.ts → cloudwatch-manager.ts} +1 -1
- package/src/lib/manager/aws/{codeBuildManager.ts → codebuild-manager.ts} +1 -1
- package/src/lib/manager/aws/dynamodb-manager.ts +60 -0
- package/src/lib/manager/aws/{ecrManager.ts → ecr-manager.ts} +1 -1
- package/src/lib/manager/aws/{ecsManager.ts → ecs-manager.ts} +1 -1
- package/src/lib/manager/aws/{eksManager.ts → eks-manager.ts} +1 -1
- package/src/lib/manager/aws/{eventManager.ts → event-manager.ts} +55 -1
- package/src/lib/manager/aws/{iamManager.ts → iam-manager.ts} +21 -16
- package/src/lib/manager/aws/index.ts +22 -21
- package/src/lib/manager/aws/{lambdaManager.ts → lambda-manager.ts} +51 -41
- package/src/lib/manager/aws/{logManager.ts → log-manager.ts} +1 -1
- package/src/lib/manager/aws/{route53Manager.ts → route53-manager.ts} +2 -2
- package/src/lib/manager/aws/{s3Manager.ts → s3-manager.ts} +1 -1
- package/src/lib/manager/aws/{secretsManager.ts → secrets-manager.ts} +1 -1
- package/src/lib/manager/aws/{snsManager.ts → sns-manager.ts} +1 -1
- package/src/lib/manager/aws/{ssmManager.ts → ssm-manager.ts} +3 -8
- package/src/lib/manager/aws/{vpcManager.ts → vpc-manager.ts} +2 -1
- package/src/lib/manager/aws/{wafManager.ts → waf-manager.ts} +1 -1
- package/src/lib/types/aws/index.ts +146 -2
- package/src/lib/utils/aws/index.ts +1 -1
- package/src/lib/utils/index.ts +1 -0
- package/.releaserc +0 -9
- package/dist/src/lib/common/commonConstruct.d.ts.map +0 -1
- package/dist/src/lib/common/commonConstruct.js.map +0 -1
- package/dist/src/lib/common/commonStack.d.ts.map +0 -1
- package/dist/src/lib/common/commonStack.js.map +0 -1
- package/dist/src/lib/construct/graphQLApiLambda.d.ts.map +0 -1
- package/dist/src/lib/construct/graphQLApiLambda.js.map +0 -1
- package/dist/src/lib/construct/siteWithEcsBackend.d.ts.map +0 -1
- package/dist/src/lib/construct/siteWithEcsBackend.js.map +0 -1
- package/dist/src/lib/construct/staticSite.d.ts.map +0 -1
- package/dist/src/lib/construct/staticSite.js.map +0 -1
- package/dist/src/lib/manager/aws/acmManager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/acmManager.js.map +0 -1
- package/dist/src/lib/manager/aws/apiManager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/apiManager.js.map +0 -1
- package/dist/src/lib/manager/aws/appConfigManager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/appConfigManager.js.map +0 -1
- package/dist/src/lib/manager/aws/cloudFrontManager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/cloudFrontManager.js.map +0 -1
- package/dist/src/lib/manager/aws/cloudTrailManager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/cloudTrailManager.js.map +0 -1
- package/dist/src/lib/manager/aws/cloudWatchManager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/cloudWatchManager.js.map +0 -1
- package/dist/src/lib/manager/aws/codeBuildManager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/codeBuildManager.js.map +0 -1
- package/dist/src/lib/manager/aws/ecrManager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/ecrManager.js.map +0 -1
- package/dist/src/lib/manager/aws/ecsManager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/ecsManager.js.map +0 -1
- package/dist/src/lib/manager/aws/eksManager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/eksManager.js.map +0 -1
- package/dist/src/lib/manager/aws/eventManager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/eventManager.js.map +0 -1
- package/dist/src/lib/manager/aws/iamManager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/iamManager.js.map +0 -1
- package/dist/src/lib/manager/aws/lambdaManager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/lambdaManager.js.map +0 -1
- package/dist/src/lib/manager/aws/logManager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/logManager.js.map +0 -1
- package/dist/src/lib/manager/aws/route53Manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/route53Manager.js.map +0 -1
- package/dist/src/lib/manager/aws/s3Manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/s3Manager.js.map +0 -1
- package/dist/src/lib/manager/aws/secretsManager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/secretsManager.js.map +0 -1
- package/dist/src/lib/manager/aws/snsManager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/snsManager.js.map +0 -1
- package/dist/src/lib/manager/aws/ssmManager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/ssmManager.js.map +0 -1
- package/dist/src/lib/manager/aws/vpcManager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/vpcManager.js.map +0 -1
- package/dist/src/lib/manager/aws/wafManager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/wafManager.js.map +0 -1
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)",
|
|
3
|
+
"name": "glob",
|
|
4
|
+
"description": "a little globber",
|
|
5
|
+
"version": "7.2.0",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git://github.com/isaacs/node-glob.git"
|
|
9
|
+
},
|
|
10
|
+
"main": "glob.js",
|
|
11
|
+
"files": [
|
|
12
|
+
"glob.js",
|
|
13
|
+
"sync.js",
|
|
14
|
+
"common.js"
|
|
15
|
+
],
|
|
16
|
+
"engines": {
|
|
17
|
+
"node": "*"
|
|
18
|
+
},
|
|
19
|
+
"dependencies": {
|
|
20
|
+
"fs.realpath": "^1.0.0",
|
|
21
|
+
"inflight": "^1.0.4",
|
|
22
|
+
"inherits": "2",
|
|
23
|
+
"minimatch": "^3.0.4",
|
|
24
|
+
"once": "^1.3.0",
|
|
25
|
+
"path-is-absolute": "^1.0.0"
|
|
26
|
+
},
|
|
27
|
+
"devDependencies": {
|
|
28
|
+
"memfs": "^3.2.0",
|
|
29
|
+
"mkdirp": "0",
|
|
30
|
+
"rimraf": "^2.2.8",
|
|
31
|
+
"tap": "^15.0.6",
|
|
32
|
+
"tick": "0.0.6"
|
|
33
|
+
},
|
|
34
|
+
"tap": {
|
|
35
|
+
"before": "test/00-setup.js",
|
|
36
|
+
"after": "test/zz-cleanup.js",
|
|
37
|
+
"jobs": 1
|
|
38
|
+
},
|
|
39
|
+
"scripts": {
|
|
40
|
+
"prepublish": "npm run benchclean",
|
|
41
|
+
"profclean": "rm -f v8.log profile.txt",
|
|
42
|
+
"test": "tap",
|
|
43
|
+
"test-regen": "npm run profclean && TEST_REGEN=1 node test/00-setup.js",
|
|
44
|
+
"bench": "bash benchmark.sh",
|
|
45
|
+
"prof": "bash prof.sh && cat profile.txt",
|
|
46
|
+
"benchclean": "node benchclean.js"
|
|
47
|
+
},
|
|
48
|
+
"license": "ISC",
|
|
49
|
+
"funding": {
|
|
50
|
+
"url": "https://github.com/sponsors/isaacs"
|
|
51
|
+
}
|
|
52
|
+
}
|
|
@@ -0,0 +1,483 @@
|
|
|
1
|
+
module.exports = globSync
|
|
2
|
+
globSync.GlobSync = GlobSync
|
|
3
|
+
|
|
4
|
+
var rp = require('fs.realpath')
|
|
5
|
+
var minimatch = require('minimatch')
|
|
6
|
+
var Minimatch = minimatch.Minimatch
|
|
7
|
+
var Glob = require('./glob.js').Glob
|
|
8
|
+
var util = require('util')
|
|
9
|
+
var path = require('path')
|
|
10
|
+
var assert = require('assert')
|
|
11
|
+
var isAbsolute = require('path-is-absolute')
|
|
12
|
+
var common = require('./common.js')
|
|
13
|
+
var setopts = common.setopts
|
|
14
|
+
var ownProp = common.ownProp
|
|
15
|
+
var childrenIgnored = common.childrenIgnored
|
|
16
|
+
var isIgnored = common.isIgnored
|
|
17
|
+
|
|
18
|
+
function globSync (pattern, options) {
|
|
19
|
+
if (typeof options === 'function' || arguments.length === 3)
|
|
20
|
+
throw new TypeError('callback provided to sync glob\n'+
|
|
21
|
+
'See: https://github.com/isaacs/node-glob/issues/167')
|
|
22
|
+
|
|
23
|
+
return new GlobSync(pattern, options).found
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
function GlobSync (pattern, options) {
|
|
27
|
+
if (!pattern)
|
|
28
|
+
throw new Error('must provide pattern')
|
|
29
|
+
|
|
30
|
+
if (typeof options === 'function' || arguments.length === 3)
|
|
31
|
+
throw new TypeError('callback provided to sync glob\n'+
|
|
32
|
+
'See: https://github.com/isaacs/node-glob/issues/167')
|
|
33
|
+
|
|
34
|
+
if (!(this instanceof GlobSync))
|
|
35
|
+
return new GlobSync(pattern, options)
|
|
36
|
+
|
|
37
|
+
setopts(this, pattern, options)
|
|
38
|
+
|
|
39
|
+
if (this.noprocess)
|
|
40
|
+
return this
|
|
41
|
+
|
|
42
|
+
var n = this.minimatch.set.length
|
|
43
|
+
this.matches = new Array(n)
|
|
44
|
+
for (var i = 0; i < n; i ++) {
|
|
45
|
+
this._process(this.minimatch.set[i], i, false)
|
|
46
|
+
}
|
|
47
|
+
this._finish()
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
GlobSync.prototype._finish = function () {
|
|
51
|
+
assert(this instanceof GlobSync)
|
|
52
|
+
if (this.realpath) {
|
|
53
|
+
var self = this
|
|
54
|
+
this.matches.forEach(function (matchset, index) {
|
|
55
|
+
var set = self.matches[index] = Object.create(null)
|
|
56
|
+
for (var p in matchset) {
|
|
57
|
+
try {
|
|
58
|
+
p = self._makeAbs(p)
|
|
59
|
+
var real = rp.realpathSync(p, self.realpathCache)
|
|
60
|
+
set[real] = true
|
|
61
|
+
} catch (er) {
|
|
62
|
+
if (er.syscall === 'stat')
|
|
63
|
+
set[self._makeAbs(p)] = true
|
|
64
|
+
else
|
|
65
|
+
throw er
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
})
|
|
69
|
+
}
|
|
70
|
+
common.finish(this)
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
GlobSync.prototype._process = function (pattern, index, inGlobStar) {
|
|
75
|
+
assert(this instanceof GlobSync)
|
|
76
|
+
|
|
77
|
+
// Get the first [n] parts of pattern that are all strings.
|
|
78
|
+
var n = 0
|
|
79
|
+
while (typeof pattern[n] === 'string') {
|
|
80
|
+
n ++
|
|
81
|
+
}
|
|
82
|
+
// now n is the index of the first one that is *not* a string.
|
|
83
|
+
|
|
84
|
+
// See if there's anything else
|
|
85
|
+
var prefix
|
|
86
|
+
switch (n) {
|
|
87
|
+
// if not, then this is rather simple
|
|
88
|
+
case pattern.length:
|
|
89
|
+
this._processSimple(pattern.join('/'), index)
|
|
90
|
+
return
|
|
91
|
+
|
|
92
|
+
case 0:
|
|
93
|
+
// pattern *starts* with some non-trivial item.
|
|
94
|
+
// going to readdir(cwd), but not include the prefix in matches.
|
|
95
|
+
prefix = null
|
|
96
|
+
break
|
|
97
|
+
|
|
98
|
+
default:
|
|
99
|
+
// pattern has some string bits in the front.
|
|
100
|
+
// whatever it starts with, whether that's 'absolute' like /foo/bar,
|
|
101
|
+
// or 'relative' like '../baz'
|
|
102
|
+
prefix = pattern.slice(0, n).join('/')
|
|
103
|
+
break
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
var remain = pattern.slice(n)
|
|
107
|
+
|
|
108
|
+
// get the list of entries.
|
|
109
|
+
var read
|
|
110
|
+
if (prefix === null)
|
|
111
|
+
read = '.'
|
|
112
|
+
else if (isAbsolute(prefix) || isAbsolute(pattern.join('/'))) {
|
|
113
|
+
if (!prefix || !isAbsolute(prefix))
|
|
114
|
+
prefix = '/' + prefix
|
|
115
|
+
read = prefix
|
|
116
|
+
} else
|
|
117
|
+
read = prefix
|
|
118
|
+
|
|
119
|
+
var abs = this._makeAbs(read)
|
|
120
|
+
|
|
121
|
+
//if ignored, skip processing
|
|
122
|
+
if (childrenIgnored(this, read))
|
|
123
|
+
return
|
|
124
|
+
|
|
125
|
+
var isGlobStar = remain[0] === minimatch.GLOBSTAR
|
|
126
|
+
if (isGlobStar)
|
|
127
|
+
this._processGlobStar(prefix, read, abs, remain, index, inGlobStar)
|
|
128
|
+
else
|
|
129
|
+
this._processReaddir(prefix, read, abs, remain, index, inGlobStar)
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
GlobSync.prototype._processReaddir = function (prefix, read, abs, remain, index, inGlobStar) {
|
|
134
|
+
var entries = this._readdir(abs, inGlobStar)
|
|
135
|
+
|
|
136
|
+
// if the abs isn't a dir, then nothing can match!
|
|
137
|
+
if (!entries)
|
|
138
|
+
return
|
|
139
|
+
|
|
140
|
+
// It will only match dot entries if it starts with a dot, or if
|
|
141
|
+
// dot is set. Stuff like @(.foo|.bar) isn't allowed.
|
|
142
|
+
var pn = remain[0]
|
|
143
|
+
var negate = !!this.minimatch.negate
|
|
144
|
+
var rawGlob = pn._glob
|
|
145
|
+
var dotOk = this.dot || rawGlob.charAt(0) === '.'
|
|
146
|
+
|
|
147
|
+
var matchedEntries = []
|
|
148
|
+
for (var i = 0; i < entries.length; i++) {
|
|
149
|
+
var e = entries[i]
|
|
150
|
+
if (e.charAt(0) !== '.' || dotOk) {
|
|
151
|
+
var m
|
|
152
|
+
if (negate && !prefix) {
|
|
153
|
+
m = !e.match(pn)
|
|
154
|
+
} else {
|
|
155
|
+
m = e.match(pn)
|
|
156
|
+
}
|
|
157
|
+
if (m)
|
|
158
|
+
matchedEntries.push(e)
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
var len = matchedEntries.length
|
|
163
|
+
// If there are no matched entries, then nothing matches.
|
|
164
|
+
if (len === 0)
|
|
165
|
+
return
|
|
166
|
+
|
|
167
|
+
// if this is the last remaining pattern bit, then no need for
|
|
168
|
+
// an additional stat *unless* the user has specified mark or
|
|
169
|
+
// stat explicitly. We know they exist, since readdir returned
|
|
170
|
+
// them.
|
|
171
|
+
|
|
172
|
+
if (remain.length === 1 && !this.mark && !this.stat) {
|
|
173
|
+
if (!this.matches[index])
|
|
174
|
+
this.matches[index] = Object.create(null)
|
|
175
|
+
|
|
176
|
+
for (var i = 0; i < len; i ++) {
|
|
177
|
+
var e = matchedEntries[i]
|
|
178
|
+
if (prefix) {
|
|
179
|
+
if (prefix.slice(-1) !== '/')
|
|
180
|
+
e = prefix + '/' + e
|
|
181
|
+
else
|
|
182
|
+
e = prefix + e
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
if (e.charAt(0) === '/' && !this.nomount) {
|
|
186
|
+
e = path.join(this.root, e)
|
|
187
|
+
}
|
|
188
|
+
this._emitMatch(index, e)
|
|
189
|
+
}
|
|
190
|
+
// This was the last one, and no stats were needed
|
|
191
|
+
return
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
// now test all matched entries as stand-ins for that part
|
|
195
|
+
// of the pattern.
|
|
196
|
+
remain.shift()
|
|
197
|
+
for (var i = 0; i < len; i ++) {
|
|
198
|
+
var e = matchedEntries[i]
|
|
199
|
+
var newPattern
|
|
200
|
+
if (prefix)
|
|
201
|
+
newPattern = [prefix, e]
|
|
202
|
+
else
|
|
203
|
+
newPattern = [e]
|
|
204
|
+
this._process(newPattern.concat(remain), index, inGlobStar)
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
GlobSync.prototype._emitMatch = function (index, e) {
|
|
210
|
+
if (isIgnored(this, e))
|
|
211
|
+
return
|
|
212
|
+
|
|
213
|
+
var abs = this._makeAbs(e)
|
|
214
|
+
|
|
215
|
+
if (this.mark)
|
|
216
|
+
e = this._mark(e)
|
|
217
|
+
|
|
218
|
+
if (this.absolute) {
|
|
219
|
+
e = abs
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
if (this.matches[index][e])
|
|
223
|
+
return
|
|
224
|
+
|
|
225
|
+
if (this.nodir) {
|
|
226
|
+
var c = this.cache[abs]
|
|
227
|
+
if (c === 'DIR' || Array.isArray(c))
|
|
228
|
+
return
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
this.matches[index][e] = true
|
|
232
|
+
|
|
233
|
+
if (this.stat)
|
|
234
|
+
this._stat(e)
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
GlobSync.prototype._readdirInGlobStar = function (abs) {
|
|
239
|
+
// follow all symlinked directories forever
|
|
240
|
+
// just proceed as if this is a non-globstar situation
|
|
241
|
+
if (this.follow)
|
|
242
|
+
return this._readdir(abs, false)
|
|
243
|
+
|
|
244
|
+
var entries
|
|
245
|
+
var lstat
|
|
246
|
+
var stat
|
|
247
|
+
try {
|
|
248
|
+
lstat = this.fs.lstatSync(abs)
|
|
249
|
+
} catch (er) {
|
|
250
|
+
if (er.code === 'ENOENT') {
|
|
251
|
+
// lstat failed, doesn't exist
|
|
252
|
+
return null
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
var isSym = lstat && lstat.isSymbolicLink()
|
|
257
|
+
this.symlinks[abs] = isSym
|
|
258
|
+
|
|
259
|
+
// If it's not a symlink or a dir, then it's definitely a regular file.
|
|
260
|
+
// don't bother doing a readdir in that case.
|
|
261
|
+
if (!isSym && lstat && !lstat.isDirectory())
|
|
262
|
+
this.cache[abs] = 'FILE'
|
|
263
|
+
else
|
|
264
|
+
entries = this._readdir(abs, false)
|
|
265
|
+
|
|
266
|
+
return entries
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
GlobSync.prototype._readdir = function (abs, inGlobStar) {
|
|
270
|
+
var entries
|
|
271
|
+
|
|
272
|
+
if (inGlobStar && !ownProp(this.symlinks, abs))
|
|
273
|
+
return this._readdirInGlobStar(abs)
|
|
274
|
+
|
|
275
|
+
if (ownProp(this.cache, abs)) {
|
|
276
|
+
var c = this.cache[abs]
|
|
277
|
+
if (!c || c === 'FILE')
|
|
278
|
+
return null
|
|
279
|
+
|
|
280
|
+
if (Array.isArray(c))
|
|
281
|
+
return c
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
try {
|
|
285
|
+
return this._readdirEntries(abs, this.fs.readdirSync(abs))
|
|
286
|
+
} catch (er) {
|
|
287
|
+
this._readdirError(abs, er)
|
|
288
|
+
return null
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
GlobSync.prototype._readdirEntries = function (abs, entries) {
|
|
293
|
+
// if we haven't asked to stat everything, then just
|
|
294
|
+
// assume that everything in there exists, so we can avoid
|
|
295
|
+
// having to stat it a second time.
|
|
296
|
+
if (!this.mark && !this.stat) {
|
|
297
|
+
for (var i = 0; i < entries.length; i ++) {
|
|
298
|
+
var e = entries[i]
|
|
299
|
+
if (abs === '/')
|
|
300
|
+
e = abs + e
|
|
301
|
+
else
|
|
302
|
+
e = abs + '/' + e
|
|
303
|
+
this.cache[e] = true
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
this.cache[abs] = entries
|
|
308
|
+
|
|
309
|
+
// mark and cache dir-ness
|
|
310
|
+
return entries
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
GlobSync.prototype._readdirError = function (f, er) {
|
|
314
|
+
// handle errors, and cache the information
|
|
315
|
+
switch (er.code) {
|
|
316
|
+
case 'ENOTSUP': // https://github.com/isaacs/node-glob/issues/205
|
|
317
|
+
case 'ENOTDIR': // totally normal. means it *does* exist.
|
|
318
|
+
var abs = this._makeAbs(f)
|
|
319
|
+
this.cache[abs] = 'FILE'
|
|
320
|
+
if (abs === this.cwdAbs) {
|
|
321
|
+
var error = new Error(er.code + ' invalid cwd ' + this.cwd)
|
|
322
|
+
error.path = this.cwd
|
|
323
|
+
error.code = er.code
|
|
324
|
+
throw error
|
|
325
|
+
}
|
|
326
|
+
break
|
|
327
|
+
|
|
328
|
+
case 'ENOENT': // not terribly unusual
|
|
329
|
+
case 'ELOOP':
|
|
330
|
+
case 'ENAMETOOLONG':
|
|
331
|
+
case 'UNKNOWN':
|
|
332
|
+
this.cache[this._makeAbs(f)] = false
|
|
333
|
+
break
|
|
334
|
+
|
|
335
|
+
default: // some unusual error. Treat as failure.
|
|
336
|
+
this.cache[this._makeAbs(f)] = false
|
|
337
|
+
if (this.strict)
|
|
338
|
+
throw er
|
|
339
|
+
if (!this.silent)
|
|
340
|
+
console.error('glob error', er)
|
|
341
|
+
break
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
GlobSync.prototype._processGlobStar = function (prefix, read, abs, remain, index, inGlobStar) {
|
|
346
|
+
|
|
347
|
+
var entries = this._readdir(abs, inGlobStar)
|
|
348
|
+
|
|
349
|
+
// no entries means not a dir, so it can never have matches
|
|
350
|
+
// foo.txt/** doesn't match foo.txt
|
|
351
|
+
if (!entries)
|
|
352
|
+
return
|
|
353
|
+
|
|
354
|
+
// test without the globstar, and with every child both below
|
|
355
|
+
// and replacing the globstar.
|
|
356
|
+
var remainWithoutGlobStar = remain.slice(1)
|
|
357
|
+
var gspref = prefix ? [ prefix ] : []
|
|
358
|
+
var noGlobStar = gspref.concat(remainWithoutGlobStar)
|
|
359
|
+
|
|
360
|
+
// the noGlobStar pattern exits the inGlobStar state
|
|
361
|
+
this._process(noGlobStar, index, false)
|
|
362
|
+
|
|
363
|
+
var len = entries.length
|
|
364
|
+
var isSym = this.symlinks[abs]
|
|
365
|
+
|
|
366
|
+
// If it's a symlink, and we're in a globstar, then stop
|
|
367
|
+
if (isSym && inGlobStar)
|
|
368
|
+
return
|
|
369
|
+
|
|
370
|
+
for (var i = 0; i < len; i++) {
|
|
371
|
+
var e = entries[i]
|
|
372
|
+
if (e.charAt(0) === '.' && !this.dot)
|
|
373
|
+
continue
|
|
374
|
+
|
|
375
|
+
// these two cases enter the inGlobStar state
|
|
376
|
+
var instead = gspref.concat(entries[i], remainWithoutGlobStar)
|
|
377
|
+
this._process(instead, index, true)
|
|
378
|
+
|
|
379
|
+
var below = gspref.concat(entries[i], remain)
|
|
380
|
+
this._process(below, index, true)
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
GlobSync.prototype._processSimple = function (prefix, index) {
|
|
385
|
+
// XXX review this. Shouldn't it be doing the mounting etc
|
|
386
|
+
// before doing stat? kinda weird?
|
|
387
|
+
var exists = this._stat(prefix)
|
|
388
|
+
|
|
389
|
+
if (!this.matches[index])
|
|
390
|
+
this.matches[index] = Object.create(null)
|
|
391
|
+
|
|
392
|
+
// If it doesn't exist, then just mark the lack of results
|
|
393
|
+
if (!exists)
|
|
394
|
+
return
|
|
395
|
+
|
|
396
|
+
if (prefix && isAbsolute(prefix) && !this.nomount) {
|
|
397
|
+
var trail = /[\/\\]$/.test(prefix)
|
|
398
|
+
if (prefix.charAt(0) === '/') {
|
|
399
|
+
prefix = path.join(this.root, prefix)
|
|
400
|
+
} else {
|
|
401
|
+
prefix = path.resolve(this.root, prefix)
|
|
402
|
+
if (trail)
|
|
403
|
+
prefix += '/'
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
if (process.platform === 'win32')
|
|
408
|
+
prefix = prefix.replace(/\\/g, '/')
|
|
409
|
+
|
|
410
|
+
// Mark this as a match
|
|
411
|
+
this._emitMatch(index, prefix)
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
// Returns either 'DIR', 'FILE', or false
|
|
415
|
+
GlobSync.prototype._stat = function (f) {
|
|
416
|
+
var abs = this._makeAbs(f)
|
|
417
|
+
var needDir = f.slice(-1) === '/'
|
|
418
|
+
|
|
419
|
+
if (f.length > this.maxLength)
|
|
420
|
+
return false
|
|
421
|
+
|
|
422
|
+
if (!this.stat && ownProp(this.cache, abs)) {
|
|
423
|
+
var c = this.cache[abs]
|
|
424
|
+
|
|
425
|
+
if (Array.isArray(c))
|
|
426
|
+
c = 'DIR'
|
|
427
|
+
|
|
428
|
+
// It exists, but maybe not how we need it
|
|
429
|
+
if (!needDir || c === 'DIR')
|
|
430
|
+
return c
|
|
431
|
+
|
|
432
|
+
if (needDir && c === 'FILE')
|
|
433
|
+
return false
|
|
434
|
+
|
|
435
|
+
// otherwise we have to stat, because maybe c=true
|
|
436
|
+
// if we know it exists, but not what it is.
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
var exists
|
|
440
|
+
var stat = this.statCache[abs]
|
|
441
|
+
if (!stat) {
|
|
442
|
+
var lstat
|
|
443
|
+
try {
|
|
444
|
+
lstat = this.fs.lstatSync(abs)
|
|
445
|
+
} catch (er) {
|
|
446
|
+
if (er && (er.code === 'ENOENT' || er.code === 'ENOTDIR')) {
|
|
447
|
+
this.statCache[abs] = false
|
|
448
|
+
return false
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
if (lstat && lstat.isSymbolicLink()) {
|
|
453
|
+
try {
|
|
454
|
+
stat = this.fs.statSync(abs)
|
|
455
|
+
} catch (er) {
|
|
456
|
+
stat = lstat
|
|
457
|
+
}
|
|
458
|
+
} else {
|
|
459
|
+
stat = lstat
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
this.statCache[abs] = stat
|
|
464
|
+
|
|
465
|
+
var c = true
|
|
466
|
+
if (stat)
|
|
467
|
+
c = stat.isDirectory() ? 'DIR' : 'FILE'
|
|
468
|
+
|
|
469
|
+
this.cache[abs] = this.cache[abs] || c
|
|
470
|
+
|
|
471
|
+
if (needDir && c === 'FILE')
|
|
472
|
+
return false
|
|
473
|
+
|
|
474
|
+
return c
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
GlobSync.prototype._mark = function (p) {
|
|
478
|
+
return common.mark(this, p)
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
GlobSync.prototype._makeAbs = function (f) {
|
|
482
|
+
return common.makeAbs(this, f)
|
|
483
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
The ISC License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Isaac Z. Schlueter
|
|
4
|
+
|
|
5
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
6
|
+
purpose with or without fee is hereby granted, provided that the above
|
|
7
|
+
copyright notice and this permission notice appear in all copies.
|
|
8
|
+
|
|
9
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
10
|
+
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
11
|
+
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
12
|
+
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
13
|
+
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
14
|
+
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
|
|
15
|
+
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# inflight
|
|
2
|
+
|
|
3
|
+
Add callbacks to requests in flight to avoid async duplication
|
|
4
|
+
|
|
5
|
+
## USAGE
|
|
6
|
+
|
|
7
|
+
```javascript
|
|
8
|
+
var inflight = require('inflight')
|
|
9
|
+
|
|
10
|
+
// some request that does some stuff
|
|
11
|
+
function req(key, callback) {
|
|
12
|
+
// key is any random string. like a url or filename or whatever.
|
|
13
|
+
//
|
|
14
|
+
// will return either a falsey value, indicating that the
|
|
15
|
+
// request for this key is already in flight, or a new callback
|
|
16
|
+
// which when called will call all callbacks passed to inflightk
|
|
17
|
+
// with the same key
|
|
18
|
+
callback = inflight(key, callback)
|
|
19
|
+
|
|
20
|
+
// If we got a falsey value back, then there's already a req going
|
|
21
|
+
if (!callback) return
|
|
22
|
+
|
|
23
|
+
// this is where you'd fetch the url or whatever
|
|
24
|
+
// callback is also once()-ified, so it can safely be assigned
|
|
25
|
+
// to multiple events etc. First call wins.
|
|
26
|
+
setTimeout(function() {
|
|
27
|
+
callback(null, key)
|
|
28
|
+
}, 100)
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
// only assigns a single setTimeout
|
|
32
|
+
// when it dings, all cbs get called
|
|
33
|
+
req('foo', cb1)
|
|
34
|
+
req('foo', cb2)
|
|
35
|
+
req('foo', cb3)
|
|
36
|
+
req('foo', cb4)
|
|
37
|
+
```
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
var wrappy = require('wrappy')
|
|
2
|
+
var reqs = Object.create(null)
|
|
3
|
+
var once = require('once')
|
|
4
|
+
|
|
5
|
+
module.exports = wrappy(inflight)
|
|
6
|
+
|
|
7
|
+
function inflight (key, cb) {
|
|
8
|
+
if (reqs[key]) {
|
|
9
|
+
reqs[key].push(cb)
|
|
10
|
+
return null
|
|
11
|
+
} else {
|
|
12
|
+
reqs[key] = [cb]
|
|
13
|
+
return makeres(key)
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
function makeres (key) {
|
|
18
|
+
return once(function RES () {
|
|
19
|
+
var cbs = reqs[key]
|
|
20
|
+
var len = cbs.length
|
|
21
|
+
var args = slice(arguments)
|
|
22
|
+
|
|
23
|
+
// XXX It's somewhat ambiguous whether a new callback added in this
|
|
24
|
+
// pass should be queued for later execution if something in the
|
|
25
|
+
// list of callbacks throws, or if it should just be discarded.
|
|
26
|
+
// However, it's such an edge case that it hardly matters, and either
|
|
27
|
+
// choice is likely as surprising as the other.
|
|
28
|
+
// As it happens, we do go ahead and schedule it for later execution.
|
|
29
|
+
try {
|
|
30
|
+
for (var i = 0; i < len; i++) {
|
|
31
|
+
cbs[i].apply(null, args)
|
|
32
|
+
}
|
|
33
|
+
} finally {
|
|
34
|
+
if (cbs.length > len) {
|
|
35
|
+
// added more in the interim.
|
|
36
|
+
// de-zalgo, just in case, but don't call again.
|
|
37
|
+
cbs.splice(0, len)
|
|
38
|
+
process.nextTick(function () {
|
|
39
|
+
RES.apply(null, args)
|
|
40
|
+
})
|
|
41
|
+
} else {
|
|
42
|
+
delete reqs[key]
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
})
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
function slice (args) {
|
|
49
|
+
var length = args.length
|
|
50
|
+
var array = []
|
|
51
|
+
|
|
52
|
+
for (var i = 0; i < length; i++) array[i] = args[i]
|
|
53
|
+
return array
|
|
54
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "inflight",
|
|
3
|
+
"version": "1.0.6",
|
|
4
|
+
"description": "Add callbacks to requests in flight to avoid async duplication",
|
|
5
|
+
"main": "inflight.js",
|
|
6
|
+
"files": [
|
|
7
|
+
"inflight.js"
|
|
8
|
+
],
|
|
9
|
+
"dependencies": {
|
|
10
|
+
"once": "^1.3.0",
|
|
11
|
+
"wrappy": "1"
|
|
12
|
+
},
|
|
13
|
+
"devDependencies": {
|
|
14
|
+
"tap": "^7.1.2"
|
|
15
|
+
},
|
|
16
|
+
"scripts": {
|
|
17
|
+
"test": "tap test.js --100"
|
|
18
|
+
},
|
|
19
|
+
"repository": {
|
|
20
|
+
"type": "git",
|
|
21
|
+
"url": "https://github.com/npm/inflight.git"
|
|
22
|
+
},
|
|
23
|
+
"author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)",
|
|
24
|
+
"bugs": {
|
|
25
|
+
"url": "https://github.com/isaacs/inflight/issues"
|
|
26
|
+
},
|
|
27
|
+
"homepage": "https://github.com/isaacs/inflight",
|
|
28
|
+
"license": "ISC"
|
|
29
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
The ISC License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Isaac Z. Schlueter
|
|
4
|
+
|
|
5
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
6
|
+
purpose with or without fee is hereby granted, provided that the above
|
|
7
|
+
copyright notice and this permission notice appear in all copies.
|
|
8
|
+
|
|
9
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
10
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
|
11
|
+
FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
12
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
13
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
14
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
15
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
16
|
+
|