@epilot360/icons 0.0.1 → 0.0.2
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/LICENSE +21 -0
- package/README.md +15 -0
- package/dist/bundle.js +2 -0
- package/dist/bundle.js.map +1 -0
- package/iac/node_modules/@balena/dockerignore/LICENSE.md +206 -0
- package/iac/node_modules/@balena/dockerignore/README.md +261 -0
- package/iac/node_modules/@cspotcode/source-map-support/LICENSE.md +21 -0
- package/iac/node_modules/@cspotcode/source-map-support/README.md +289 -0
- package/iac/node_modules/@jridgewell/resolve-uri/LICENSE +19 -0
- package/iac/node_modules/@jridgewell/resolve-uri/README.md +40 -0
- package/iac/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.mjs.map +1 -0
- package/iac/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js.map +1 -0
- package/iac/node_modules/@jridgewell/sourcemap-codec/LICENSE +21 -0
- package/iac/node_modules/@jridgewell/sourcemap-codec/README.md +200 -0
- package/iac/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs.map +1 -0
- package/iac/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js.map +1 -0
- package/iac/node_modules/@jridgewell/trace-mapping/LICENSE +19 -0
- package/iac/node_modules/@jridgewell/trace-mapping/README.md +193 -0
- package/iac/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs.map +1 -0
- package/iac/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js.map +1 -0
- package/iac/node_modules/@tsconfig/node10/LICENSE +21 -0
- package/iac/node_modules/@tsconfig/node10/README.md +40 -0
- package/iac/node_modules/@tsconfig/node12/LICENSE +21 -0
- package/iac/node_modules/@tsconfig/node12/README.md +40 -0
- package/iac/node_modules/@tsconfig/node14/LICENSE +21 -0
- package/iac/node_modules/@tsconfig/node14/README.md +40 -0
- package/iac/node_modules/@tsconfig/node16/LICENSE +21 -0
- package/iac/node_modules/@tsconfig/node16/README.md +40 -0
- package/iac/node_modules/@types/jest/LICENSE +21 -0
- package/iac/node_modules/@types/jest/README.md +17 -0
- package/iac/node_modules/@types/node/LICENSE +21 -0
- package/iac/node_modules/@types/node/README.md +16 -0
- package/iac/node_modules/@types/prettier/LICENSE +21 -0
- package/iac/node_modules/@types/prettier/README.md +16 -0
- package/iac/node_modules/acorn/LICENSE +21 -0
- package/iac/node_modules/acorn/README.md +273 -0
- package/iac/node_modules/acorn-walk/LICENSE +21 -0
- package/iac/node_modules/acorn-walk/README.md +126 -0
- package/iac/node_modules/ansi-regex/license +9 -0
- package/iac/node_modules/ansi-regex/readme.md +78 -0
- package/iac/node_modules/ansi-styles/license +9 -0
- package/iac/node_modules/ansi-styles/readme.md +144 -0
- package/iac/node_modules/arg/LICENSE.md +21 -0
- package/iac/node_modules/arg/README.md +280 -0
- package/iac/node_modules/at-least-node/LICENSE +6 -0
- package/iac/node_modules/at-least-node/README.md +25 -0
- package/iac/node_modules/aws-cdk/LICENSE +201 -0
- package/iac/node_modules/aws-cdk/README.md +742 -0
- package/iac/node_modules/aws-cdk/lib/init-templates/LICENSE +16 -0
- package/iac/node_modules/aws-cdk/lib/init-templates/app/csharp/README.md +14 -0
- package/iac/node_modules/aws-cdk/lib/init-templates/app/fsharp/README.md +18 -0
- package/iac/node_modules/aws-cdk/lib/init-templates/app/go/README.md +12 -0
- package/iac/node_modules/aws-cdk/lib/init-templates/app/java/README.md +18 -0
- package/iac/node_modules/aws-cdk/lib/init-templates/app/javascript/README.md +12 -0
- package/iac/node_modules/aws-cdk/lib/init-templates/app/python/README.template.md +58 -0
- package/iac/node_modules/aws-cdk/lib/init-templates/app/typescript/README.md +14 -0
- package/iac/node_modules/aws-cdk/lib/init-templates/lib/typescript/README.template.md +12 -0
- package/iac/node_modules/aws-cdk/lib/init-templates/sample-app/csharp/README.template.md +19 -0
- package/iac/node_modules/aws-cdk/lib/init-templates/sample-app/fsharp/README.template.md +20 -0
- package/iac/node_modules/aws-cdk/lib/init-templates/sample-app/go/README.md +12 -0
- package/iac/node_modules/aws-cdk/lib/init-templates/sample-app/java/README.template.md +19 -0
- package/iac/node_modules/aws-cdk/lib/init-templates/sample-app/javascript/README.template.md +13 -0
- package/iac/node_modules/aws-cdk/lib/init-templates/sample-app/python/README.template.md +65 -0
- package/iac/node_modules/aws-cdk/lib/init-templates/sample-app/typescript/README.template.md +15 -0
- package/iac/node_modules/aws-cdk/test/integ/cli/README.md +48 -0
- package/iac/node_modules/aws-cdk/test/integ/cli-regression-patches/README.md +54 -0
- package/iac/node_modules/aws-cdk-lib/LICENSE +201 -0
- package/iac/node_modules/aws-cdk-lib/README.md +1119 -0
- package/iac/node_modules/aws-cdk-lib/alexa-ask/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/assertions/README.md +571 -0
- package/iac/node_modules/aws-cdk-lib/assets/README.md +4 -0
- package/iac/node_modules/aws-cdk-lib/aws-accessanalyzer/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-acmpca/README.md +59 -0
- package/iac/node_modules/aws-cdk-lib/aws-amazonmq/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-amplify/README.md +32 -0
- package/iac/node_modules/aws-cdk-lib/aws-amplifyuibuilder/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-apigateway/README.md +1335 -0
- package/iac/node_modules/aws-cdk-lib/aws-apigatewayv2/README.md +32 -0
- package/iac/node_modules/aws-cdk-lib/aws-appconfig/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-appflow/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-appintegrations/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-applicationautoscaling/README.md +246 -0
- package/iac/node_modules/aws-cdk-lib/aws-applicationinsights/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-appmesh/README.md +883 -0
- package/iac/node_modules/aws-cdk-lib/aws-apprunner/README.md +32 -0
- package/iac/node_modules/aws-cdk-lib/aws-appstream/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-appsync/README.md +32 -0
- package/iac/node_modules/aws-cdk-lib/aws-aps/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-athena/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-auditmanager/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-autoscaling/README.md +540 -0
- package/iac/node_modules/aws-cdk-lib/aws-autoscaling-common/README.md +8 -0
- package/iac/node_modules/aws-cdk-lib/aws-autoscaling-hooktargets/README.md +18 -0
- package/iac/node_modules/aws-cdk-lib/aws-autoscalingplans/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-backup/README.md +210 -0
- package/iac/node_modules/aws-cdk-lib/aws-batch/README.md +32 -0
- package/iac/node_modules/aws-cdk-lib/aws-billingconductor/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-budgets/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-cassandra/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-ce/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-certificatemanager/README.md +166 -0
- package/iac/node_modules/aws-cdk-lib/aws-certificatemanager/lambda-packages/dns_validated_certificate_handler/README.md +2 -0
- package/iac/node_modules/aws-cdk-lib/aws-certificatemanager/suffixes/README.txt +8 -0
- package/iac/node_modules/aws-cdk-lib/aws-chatbot/README.md +44 -0
- package/iac/node_modules/aws-cdk-lib/aws-cloud9/README.md +32 -0
- package/iac/node_modules/aws-cdk-lib/aws-cloudformation/README.md +4 -0
- package/iac/node_modules/aws-cdk-lib/aws-cloudfront/README.md +973 -0
- package/iac/node_modules/aws-cdk-lib/aws-cloudfront-origins/README.md +126 -0
- package/iac/node_modules/aws-cdk-lib/aws-cloudtrail/README.md +189 -0
- package/iac/node_modules/aws-cdk-lib/aws-cloudwatch/README.md +579 -0
- package/iac/node_modules/aws-cdk-lib/aws-cloudwatch-actions/README.md +43 -0
- package/iac/node_modules/aws-cdk-lib/aws-codeartifact/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-codebuild/README.md +759 -0
- package/iac/node_modules/aws-cdk-lib/aws-codecommit/README.md +85 -0
- package/iac/node_modules/aws-cdk-lib/aws-codedeploy/README.md +319 -0
- package/iac/node_modules/aws-cdk-lib/aws-codeguruprofiler/README.md +37 -0
- package/iac/node_modules/aws-cdk-lib/aws-codegurureviewer/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-codepipeline/README.md +481 -0
- package/iac/node_modules/aws-cdk-lib/aws-codepipeline-actions/README.md +1203 -0
- package/iac/node_modules/aws-cdk-lib/aws-codestar/README.md +32 -0
- package/iac/node_modules/aws-cdk-lib/aws-codestarconnections/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-codestarnotifications/README.md +68 -0
- package/iac/node_modules/aws-cdk-lib/aws-cognito/README.md +843 -0
- package/iac/node_modules/aws-cdk-lib/aws-config/README.md +218 -0
- package/iac/node_modules/aws-cdk-lib/aws-connect/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-controltower/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-cur/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-customerprofiles/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-databrew/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-datapipeline/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-datasync/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-dax/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-detective/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-devopsguru/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-directoryservice/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-dlm/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-dms/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-docdb/README.md +153 -0
- package/iac/node_modules/aws-cdk-lib/aws-dynamodb/README.md +200 -0
- package/iac/node_modules/aws-cdk-lib/aws-ec2/README.md +1514 -0
- package/iac/node_modules/aws-cdk-lib/aws-ecr/README.md +110 -0
- package/iac/node_modules/aws-cdk-lib/aws-ecr-assets/README.md +167 -0
- package/iac/node_modules/aws-cdk-lib/aws-ecs/README.md +1225 -0
- package/iac/node_modules/aws-cdk-lib/aws-ecs-patterns/README.md +980 -0
- package/iac/node_modules/aws-cdk-lib/aws-efs/README.md +154 -0
- package/iac/node_modules/aws-cdk-lib/aws-eks/README.md +1450 -0
- package/iac/node_modules/aws-cdk-lib/aws-elasticache/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-elasticbeanstalk/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-elasticloadbalancing/README.md +40 -0
- package/iac/node_modules/aws-cdk-lib/aws-elasticloadbalancingv2/README.md +569 -0
- package/iac/node_modules/aws-cdk-lib/aws-elasticloadbalancingv2-actions/README.md +68 -0
- package/iac/node_modules/aws-cdk-lib/aws-elasticloadbalancingv2-targets/README.md +4 -0
- package/iac/node_modules/aws-cdk-lib/aws-elasticsearch/README.md +441 -0
- package/iac/node_modules/aws-cdk-lib/aws-emr/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-emrcontainers/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-emrserverless/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-events/README.md +249 -0
- package/iac/node_modules/aws-cdk-lib/aws-events-targets/README.md +339 -0
- package/iac/node_modules/aws-cdk-lib/aws-eventschemas/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-evidently/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-finspace/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-fis/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-fms/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-forecast/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-frauddetector/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-fsx/README.md +200 -0
- package/iac/node_modules/aws-cdk-lib/aws-gamelift/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-globalaccelerator/README.md +182 -0
- package/iac/node_modules/aws-cdk-lib/aws-globalaccelerator-endpoints/README.md +10 -0
- package/iac/node_modules/aws-cdk-lib/aws-glue/README.md +32 -0
- package/iac/node_modules/aws-cdk-lib/aws-greengrass/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-greengrassv2/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-groundstation/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-guardduty/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-healthlake/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-iam/README.md +509 -0
- package/iac/node_modules/aws-cdk-lib/aws-imagebuilder/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-inspector/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-inspectorv2/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-iot/README.md +32 -0
- package/iac/node_modules/aws-cdk-lib/aws-iot1click/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-iotanalytics/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-iotcoredeviceadvisor/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-iotevents/README.md +32 -0
- package/iac/node_modules/aws-cdk-lib/aws-iotfleethub/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-iotsitewise/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-iotthingsgraph/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-iottwinmaker/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-iotwireless/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-ivs/README.md +32 -0
- package/iac/node_modules/aws-cdk-lib/aws-kafkaconnect/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-kendra/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-kinesis/README.md +188 -0
- package/iac/node_modules/aws-cdk-lib/aws-kinesisanalytics/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-kinesisanalyticsv2/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-kinesisfirehose/README.md +32 -0
- package/iac/node_modules/aws-cdk-lib/aws-kinesisvideo/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-kms/README.md +209 -0
- package/iac/node_modules/aws-cdk-lib/aws-lakeformation/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-lambda/README.md +985 -0
- package/iac/node_modules/aws-cdk-lib/aws-lambda-destinations/README.md +147 -0
- package/iac/node_modules/aws-cdk-lib/aws-lambda-event-sources/README.md +281 -0
- package/iac/node_modules/aws-cdk-lib/aws-lambda-nodejs/README.md +317 -0
- package/iac/node_modules/aws-cdk-lib/aws-lex/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-licensemanager/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-lightsail/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-location/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-logs/README.md +322 -0
- package/iac/node_modules/aws-cdk-lib/aws-logs-destinations/README.md +7 -0
- package/iac/node_modules/aws-cdk-lib/aws-lookoutequipment/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-lookoutmetrics/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-lookoutvision/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-m2/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-macie/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-managedblockchain/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-mediaconnect/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-mediaconvert/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-medialive/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-mediapackage/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-mediastore/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-mediatailor/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-memorydb/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-msk/README.md +32 -0
- package/iac/node_modules/aws-cdk-lib/aws-mwaa/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-neptune/README.md +32 -0
- package/iac/node_modules/aws-cdk-lib/aws-networkfirewall/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-networkmanager/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-nimblestudio/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-opensearchservice/README.md +378 -0
- package/iac/node_modules/aws-cdk-lib/aws-opsworks/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-opsworkscm/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-panorama/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-personalize/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-pinpoint/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-pinpointemail/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-qldb/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-quicksight/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-ram/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-rds/README.md +704 -0
- package/iac/node_modules/aws-cdk-lib/aws-redshift/README.md +32 -0
- package/iac/node_modules/aws-cdk-lib/aws-redshiftserverless/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-refactorspaces/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-rekognition/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-resiliencehub/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-resourcegroups/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-robomaker/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-route53/README.md +281 -0
- package/iac/node_modules/aws-cdk-lib/aws-route53-patterns/README.md +45 -0
- package/iac/node_modules/aws-cdk-lib/aws-route53-targets/README.md +181 -0
- package/iac/node_modules/aws-cdk-lib/aws-route53recoverycontrol/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-route53recoveryreadiness/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-route53resolver/README.md +32 -0
- package/iac/node_modules/aws-cdk-lib/aws-rum/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-s3/README.md +581 -0
- package/iac/node_modules/aws-cdk-lib/aws-s3-assets/README.md +179 -0
- package/iac/node_modules/aws-cdk-lib/aws-s3-deployment/README.md +349 -0
- package/iac/node_modules/aws-cdk-lib/aws-s3-notifications/README.md +46 -0
- package/iac/node_modules/aws-cdk-lib/aws-s3objectlambda/README.md +32 -0
- package/iac/node_modules/aws-cdk-lib/aws-s3outposts/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-sagemaker/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-sam/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-sdb/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-secretsmanager/README.md +285 -0
- package/iac/node_modules/aws-cdk-lib/aws-securityhub/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-servicecatalog/README.md +491 -0
- package/iac/node_modules/aws-cdk-lib/aws-servicecatalogappregistry/README.md +32 -0
- package/iac/node_modules/aws-cdk-lib/aws-servicediscovery/README.md +45 -0
- package/iac/node_modules/aws-cdk-lib/aws-ses/README.md +194 -0
- package/iac/node_modules/aws-cdk-lib/aws-ses-actions/README.md +16 -0
- package/iac/node_modules/aws-cdk-lib/aws-signer/README.md +41 -0
- package/iac/node_modules/aws-cdk-lib/aws-sns/README.md +184 -0
- package/iac/node_modules/aws-cdk-lib/aws-sns-subscriptions/README.md +120 -0
- package/iac/node_modules/aws-cdk-lib/aws-sqs/README.md +57 -0
- package/iac/node_modules/aws-cdk-lib/aws-ssm/README.md +99 -0
- package/iac/node_modules/aws-cdk-lib/aws-ssmcontacts/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-ssmincidents/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-sso/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-stepfunctions/README.md +884 -0
- package/iac/node_modules/aws-cdk-lib/aws-stepfunctions-tasks/README.md +1288 -0
- package/iac/node_modules/aws-cdk-lib/aws-supportapp/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-synthetics/README.md +32 -0
- package/iac/node_modules/aws-cdk-lib/aws-timestream/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-transfer/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-voiceid/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-waf/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-wafregional/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-wafv2/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-wisdom/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-workspaces/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/aws-xray/README.md +27 -0
- package/iac/node_modules/aws-cdk-lib/cloud-assembly-schema/README.md +55 -0
- package/iac/node_modules/aws-cdk-lib/cloud-assembly-schema/schema/README.md +5 -0
- package/iac/node_modules/aws-cdk-lib/cloudformation-include/README.md +466 -0
- package/iac/node_modules/aws-cdk-lib/core/README.md +1078 -0
- package/iac/node_modules/aws-cdk-lib/custom-resources/README.md +624 -0
- package/iac/node_modules/aws-cdk-lib/cx-api/README.md +98 -0
- package/iac/node_modules/aws-cdk-lib/lambda-layer-awscli/README.md +19 -0
- package/iac/node_modules/aws-cdk-lib/lambda-layer-kubectl/README.md +20 -0
- package/iac/node_modules/aws-cdk-lib/lambda-layer-node-proxy-agent/README.md +18 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/@balena/dockerignore/LICENSE.md +206 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/@balena/dockerignore/README.md +261 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/at-least-node/LICENSE +6 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/at-least-node/README.md +25 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/balanced-match/LICENSE.md +21 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/balanced-match/README.md +97 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/brace-expansion/LICENSE +21 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/brace-expansion/README.md +129 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/case/LICENSE +22 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/case/README.md +139 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/case/dist/Case.min.js.map +1 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/case/dist/Case.plus.min.js.map +1 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/concat-map/LICENSE +18 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/concat-map/README.markdown +62 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/fs-extra/LICENSE +15 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/fs-extra/README.md +264 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/graceful-fs/LICENSE +15 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/graceful-fs/README.md +143 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/ignore/README.md +412 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/jsonfile/LICENSE +15 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/jsonfile/README.md +230 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/jsonschema/LICENSE +21 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/jsonschema/README.md +421 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/lru-cache/LICENSE +15 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/lru-cache/README.md +166 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/minimatch/LICENSE +15 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/minimatch/README.md +230 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/punycode/README.md +122 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/semver/LICENSE +15 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/semver/README.md +568 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/universalify/LICENSE +20 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/universalify/README.md +76 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/yallist/LICENSE +15 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/yallist/README.md +204 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/yaml/LICENSE +13 -0
- package/iac/node_modules/aws-cdk-lib/node_modules/yaml/README.md +127 -0
- package/iac/node_modules/aws-cdk-lib/pipelines/README.md +1573 -0
- package/iac/node_modules/aws-cdk-lib/region-info/README.md +84 -0
- package/iac/node_modules/aws-cdk-lib/triggers/README.md +86 -0
- package/iac/node_modules/balanced-match/LICENSE.md +21 -0
- package/iac/node_modules/balanced-match/README.md +97 -0
- package/iac/node_modules/brace-expansion/LICENSE +21 -0
- package/iac/node_modules/brace-expansion/README.md +129 -0
- package/iac/node_modules/buffer-from/LICENSE +21 -0
- package/iac/node_modules/buffer-from/readme.md +69 -0
- package/iac/node_modules/case/LICENSE +22 -0
- package/iac/node_modules/case/README.md +139 -0
- package/iac/node_modules/case/dist/Case.min.js.map +1 -0
- package/iac/node_modules/case/dist/Case.plus.min.js.map +1 -0
- package/iac/node_modules/chalk/license +9 -0
- package/iac/node_modules/chalk/node_modules/ansi-styles/license +9 -0
- package/iac/node_modules/chalk/node_modules/ansi-styles/readme.md +152 -0
- package/iac/node_modules/chalk/readme.md +341 -0
- package/iac/node_modules/color-convert/LICENSE +21 -0
- package/iac/node_modules/color-convert/README.md +68 -0
- package/iac/node_modules/color-name/LICENSE +8 -0
- package/iac/node_modules/color-name/README.md +11 -0
- package/iac/node_modules/concat-map/LICENSE +18 -0
- package/iac/node_modules/concat-map/README.markdown +62 -0
- package/iac/node_modules/constructs/LICENSE +202 -0
- package/iac/node_modules/constructs/README.md +28 -0
- package/iac/node_modules/create-require/LICENSE +25 -0
- package/iac/node_modules/create-require/README.md +46 -0
- package/iac/node_modules/diff/LICENSE +31 -0
- package/iac/node_modules/diff/README.md +207 -0
- package/iac/node_modules/diff-sequences/LICENSE +21 -0
- package/iac/node_modules/diff-sequences/README.md +404 -0
- package/iac/node_modules/fs-extra/LICENSE +15 -0
- package/iac/node_modules/fs-extra/README.md +264 -0
- package/iac/node_modules/fsevents/LICENSE +22 -0
- package/iac/node_modules/fsevents/README.md +83 -0
- package/iac/node_modules/graceful-fs/LICENSE +15 -0
- package/iac/node_modules/graceful-fs/README.md +143 -0
- package/iac/node_modules/has-flag/license +9 -0
- package/iac/node_modules/has-flag/readme.md +89 -0
- package/iac/node_modules/ignore/README.md +412 -0
- package/iac/node_modules/jest-diff/LICENSE +21 -0
- package/iac/node_modules/jest-diff/README.md +671 -0
- package/iac/node_modules/jest-get-type/LICENSE +21 -0
- package/iac/node_modules/jest-matcher-utils/LICENSE +21 -0
- package/iac/node_modules/jest-matcher-utils/README.md +24 -0
- package/iac/node_modules/jsonfile/LICENSE +15 -0
- package/iac/node_modules/jsonfile/README.md +230 -0
- package/iac/node_modules/jsonschema/LICENSE +21 -0
- package/iac/node_modules/jsonschema/README.md +421 -0
- package/iac/node_modules/lru-cache/LICENSE +15 -0
- package/iac/node_modules/lru-cache/README.md +166 -0
- package/iac/node_modules/make-error/LICENSE +5 -0
- package/iac/node_modules/make-error/README.md +112 -0
- package/iac/node_modules/minimatch/LICENSE +15 -0
- package/iac/node_modules/minimatch/README.md +230 -0
- package/iac/node_modules/pretty-format/LICENSE +21 -0
- package/iac/node_modules/pretty-format/README.md +458 -0
- package/iac/node_modules/punycode/README.md +122 -0
- package/iac/node_modules/react-is/LICENSE +21 -0
- package/iac/node_modules/react-is/README.md +104 -0
- package/iac/node_modules/semver/LICENSE +15 -0
- package/iac/node_modules/semver/README.md +568 -0
- package/iac/node_modules/source-map/LICENSE +28 -0
- package/iac/node_modules/source-map/README.md +742 -0
- package/iac/node_modules/source-map/dist/source-map.min.js.map +1 -0
- package/iac/node_modules/source-map-support/LICENSE.md +21 -0
- package/iac/node_modules/source-map-support/README.md +284 -0
- package/iac/node_modules/supports-color/license +9 -0
- package/iac/node_modules/supports-color/readme.md +76 -0
- package/iac/node_modules/ts-node/LICENSE +21 -0
- package/iac/node_modules/ts-node/README.md +1442 -0
- package/iac/node_modules/ts-node/dist/bin-cwd.js.map +1 -0
- package/iac/node_modules/ts-node/dist/bin-esm.js.map +1 -0
- package/iac/node_modules/ts-node/dist/bin-script-deprecated.js.map +1 -0
- package/iac/node_modules/ts-node/dist/bin-script.js.map +1 -0
- package/iac/node_modules/ts-node/dist/bin-transpile.js.map +1 -0
- package/iac/node_modules/ts-node/dist/bin.js.map +1 -0
- package/iac/node_modules/ts-node/dist/child/argv-payload.js.map +1 -0
- package/iac/node_modules/ts-node/dist/child/child-entrypoint.js.map +1 -0
- package/iac/node_modules/ts-node/dist/child/child-loader.js.map +1 -0
- package/iac/node_modules/ts-node/dist/child/child-require.js.map +1 -0
- package/iac/node_modules/ts-node/dist/child/spawn-child.js.map +1 -0
- package/iac/node_modules/ts-node/dist/cjs-resolve-hooks.js.map +1 -0
- package/iac/node_modules/ts-node/dist/configuration.js.map +1 -0
- package/iac/node_modules/ts-node/dist/esm.js.map +1 -0
- package/iac/node_modules/ts-node/dist/file-extensions.js.map +1 -0
- package/iac/node_modules/ts-node/dist/index.js.map +1 -0
- package/iac/node_modules/ts-node/dist/module-type-classifier.js.map +1 -0
- package/iac/node_modules/ts-node/dist/node-module-type-classifier.js.map +1 -0
- package/iac/node_modules/ts-node/dist/repl.js.map +1 -0
- package/iac/node_modules/ts-node/dist/resolver-functions.js.map +1 -0
- package/iac/node_modules/ts-node/dist/transpilers/swc.js.map +1 -0
- package/iac/node_modules/ts-node/dist/transpilers/types.js.map +1 -0
- package/iac/node_modules/ts-node/dist/ts-compiler-types.js.map +1 -0
- package/iac/node_modules/ts-node/dist/ts-internals.js.map +1 -0
- package/iac/node_modules/ts-node/dist/ts-transpile-module.js.map +1 -0
- package/iac/node_modules/ts-node/dist/tsconfig-schema.js.map +1 -0
- package/iac/node_modules/ts-node/dist/tsconfigs.js.map +1 -0
- package/iac/node_modules/ts-node/dist/util.js.map +1 -0
- package/iac/node_modules/ts-node/dist-raw/README.md +36 -0
- package/iac/node_modules/typescript/LICENSE.txt +55 -0
- package/iac/node_modules/typescript/README.md +104 -0
- package/iac/node_modules/typescript/lib/README.md +5 -0
- package/iac/node_modules/universalify/LICENSE +20 -0
- package/iac/node_modules/universalify/README.md +76 -0
- package/iac/node_modules/v8-compile-cache-lib/LICENSE +21 -0
- package/iac/node_modules/v8-compile-cache-lib/README.md +60 -0
- package/iac/node_modules/yallist/LICENSE +15 -0
- package/iac/node_modules/yallist/README.md +204 -0
- package/iac/node_modules/yaml/LICENSE +13 -0
- package/iac/node_modules/yaml/README.md +127 -0
- package/iac/node_modules/yn/license +9 -0
- package/iac/node_modules/yn/readme.md +83 -0
- package/index.d.ts +1 -0
- package/index.js +18 -0
- package/index.js.map +1 -0
- package/package.json +26 -5
- package/react/Edit.d.ts +3 -0
- package/react/Edit.js +10 -0
- package/react/Edit.js.map +1 -0
- package/react/index.d.ts +1 -0
- package/react/index.js +18 -0
- package/react/index.js.map +1 -0
- package/src/material-symbols.d.ts +4 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# jest-matcher-utils
|
|
2
|
+
|
|
3
|
+
This package's exports are most notably used by `expect`'s [`this.utils`](https://jestjs.io/docs/expect#thisutils).
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
To add this package as a dependency of a project, run either of the following commands:
|
|
8
|
+
|
|
9
|
+
- `npm install jest-matcher-utils`
|
|
10
|
+
- `yarn add jest-matcher-utils`
|
|
11
|
+
|
|
12
|
+
## Exports ([src/index.ts](https://github.com/facebook/jest/blob/HEAD/packages/jest-matcher-utils/src/index.ts))
|
|
13
|
+
|
|
14
|
+
### Functions
|
|
15
|
+
|
|
16
|
+
`stringify` `highlightTrailingWhitespace` `printReceived` `printExpected` `printWithType` `ensureNoExpected` `ensureActualIsNumber` `ensureExpectedIsNumber` `ensureNumbers` `ensureExpectedIsNonNegativeInteger` `printDiffOrStringify` `diff` `pluralize` `getLabelPrinter` `matcherErrorMessage` `matcherHint`
|
|
17
|
+
|
|
18
|
+
### Types
|
|
19
|
+
|
|
20
|
+
`MatcherHintOptions` `DiffOptions`
|
|
21
|
+
|
|
22
|
+
### Constants
|
|
23
|
+
|
|
24
|
+
`EXPECTED_COLOR` `RECEIVED_COLOR` `INVERTED_COLOR` `BOLD_WEIGHT` `DIM_COLOR` `SUGGEST_TO_CONTAIN_EQUAL`
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
(The MIT License)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2012-2015, JP Richardson <jprichardson@gmail.com>
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files
|
|
6
|
+
(the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify,
|
|
7
|
+
merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
|
|
8
|
+
furnished to do so, subject to the following conditions:
|
|
9
|
+
|
|
10
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
11
|
+
|
|
12
|
+
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
|
|
13
|
+
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS
|
|
14
|
+
OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
|
15
|
+
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
@@ -0,0 +1,230 @@
|
|
|
1
|
+
Node.js - jsonfile
|
|
2
|
+
================
|
|
3
|
+
|
|
4
|
+
Easily read/write JSON files in Node.js. _Note: this module cannot be used in the browser._
|
|
5
|
+
|
|
6
|
+
[](https://www.npmjs.org/package/jsonfile)
|
|
7
|
+
[](http://travis-ci.org/jprichardson/node-jsonfile)
|
|
8
|
+
[](https://ci.appveyor.com/project/jprichardson/node-jsonfile/branch/master)
|
|
9
|
+
|
|
10
|
+
<a href="https://github.com/feross/standard"><img src="https://cdn.rawgit.com/feross/standard/master/sticker.svg" alt="Standard JavaScript" width="100"></a>
|
|
11
|
+
|
|
12
|
+
Why?
|
|
13
|
+
----
|
|
14
|
+
|
|
15
|
+
Writing `JSON.stringify()` and then `fs.writeFile()` and `JSON.parse()` with `fs.readFile()` enclosed in `try/catch` blocks became annoying.
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
Installation
|
|
20
|
+
------------
|
|
21
|
+
|
|
22
|
+
npm install --save jsonfile
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
API
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
* [`readFile(filename, [options], callback)`](#readfilefilename-options-callback)
|
|
30
|
+
* [`readFileSync(filename, [options])`](#readfilesyncfilename-options)
|
|
31
|
+
* [`writeFile(filename, obj, [options], callback)`](#writefilefilename-obj-options-callback)
|
|
32
|
+
* [`writeFileSync(filename, obj, [options])`](#writefilesyncfilename-obj-options)
|
|
33
|
+
|
|
34
|
+
----
|
|
35
|
+
|
|
36
|
+
### readFile(filename, [options], callback)
|
|
37
|
+
|
|
38
|
+
`options` (`object`, default `undefined`): Pass in any [`fs.readFile`](https://nodejs.org/api/fs.html#fs_fs_readfile_path_options_callback) options or set `reviver` for a [JSON reviver](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/parse).
|
|
39
|
+
- `throws` (`boolean`, default: `true`). If `JSON.parse` throws an error, pass this error to the callback.
|
|
40
|
+
If `false`, returns `null` for the object.
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
```js
|
|
44
|
+
const jsonfile = require('jsonfile')
|
|
45
|
+
const file = '/tmp/data.json'
|
|
46
|
+
jsonfile.readFile(file, function (err, obj) {
|
|
47
|
+
if (err) console.error(err)
|
|
48
|
+
console.dir(obj)
|
|
49
|
+
})
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
You can also use this method with promises. The `readFile` method will return a promise if you do not pass a callback function.
|
|
53
|
+
|
|
54
|
+
```js
|
|
55
|
+
const jsonfile = require('jsonfile')
|
|
56
|
+
const file = '/tmp/data.json'
|
|
57
|
+
jsonfile.readFile(file)
|
|
58
|
+
.then(obj => console.dir(obj))
|
|
59
|
+
.catch(error => console.error(error))
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
----
|
|
63
|
+
|
|
64
|
+
### readFileSync(filename, [options])
|
|
65
|
+
|
|
66
|
+
`options` (`object`, default `undefined`): Pass in any [`fs.readFileSync`](https://nodejs.org/api/fs.html#fs_fs_readfilesync_path_options) options or set `reviver` for a [JSON reviver](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/parse).
|
|
67
|
+
- `throws` (`boolean`, default: `true`). If an error is encountered reading or parsing the file, throw the error. If `false`, returns `null` for the object.
|
|
68
|
+
|
|
69
|
+
```js
|
|
70
|
+
const jsonfile = require('jsonfile')
|
|
71
|
+
const file = '/tmp/data.json'
|
|
72
|
+
|
|
73
|
+
console.dir(jsonfile.readFileSync(file))
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
----
|
|
77
|
+
|
|
78
|
+
### writeFile(filename, obj, [options], callback)
|
|
79
|
+
|
|
80
|
+
`options`: Pass in any [`fs.writeFile`](https://nodejs.org/api/fs.html#fs_fs_writefile_file_data_options_callback) options or set `replacer` for a [JSON replacer](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify). Can also pass in `spaces`, or override `EOL` string or set `finalEOL` flag as `false` to not save the file with `EOL` at the end.
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
```js
|
|
84
|
+
const jsonfile = require('jsonfile')
|
|
85
|
+
|
|
86
|
+
const file = '/tmp/data.json'
|
|
87
|
+
const obj = { name: 'JP' }
|
|
88
|
+
|
|
89
|
+
jsonfile.writeFile(file, obj, function (err) {
|
|
90
|
+
if (err) console.error(err)
|
|
91
|
+
})
|
|
92
|
+
```
|
|
93
|
+
Or use with promises as follows:
|
|
94
|
+
|
|
95
|
+
```js
|
|
96
|
+
const jsonfile = require('jsonfile')
|
|
97
|
+
|
|
98
|
+
const file = '/tmp/data.json'
|
|
99
|
+
const obj = { name: 'JP' }
|
|
100
|
+
|
|
101
|
+
jsonfile.writeFile(file, obj)
|
|
102
|
+
.then(res => {
|
|
103
|
+
console.log('Write complete')
|
|
104
|
+
})
|
|
105
|
+
.catch(error => console.error(error))
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
**formatting with spaces:**
|
|
110
|
+
|
|
111
|
+
```js
|
|
112
|
+
const jsonfile = require('jsonfile')
|
|
113
|
+
|
|
114
|
+
const file = '/tmp/data.json'
|
|
115
|
+
const obj = { name: 'JP' }
|
|
116
|
+
|
|
117
|
+
jsonfile.writeFile(file, obj, { spaces: 2 }, function (err) {
|
|
118
|
+
if (err) console.error(err)
|
|
119
|
+
})
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
**overriding EOL:**
|
|
123
|
+
|
|
124
|
+
```js
|
|
125
|
+
const jsonfile = require('jsonfile')
|
|
126
|
+
|
|
127
|
+
const file = '/tmp/data.json'
|
|
128
|
+
const obj = { name: 'JP' }
|
|
129
|
+
|
|
130
|
+
jsonfile.writeFile(file, obj, { spaces: 2, EOL: '\r\n' }, function (err) {
|
|
131
|
+
if (err) console.error(err)
|
|
132
|
+
})
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
**disabling the EOL at the end of file:**
|
|
137
|
+
|
|
138
|
+
```js
|
|
139
|
+
const jsonfile = require('jsonfile')
|
|
140
|
+
|
|
141
|
+
const file = '/tmp/data.json'
|
|
142
|
+
const obj = { name: 'JP' }
|
|
143
|
+
|
|
144
|
+
jsonfile.writeFile(file, obj, { spaces: 2, finalEOL: false }, function (err) {
|
|
145
|
+
if (err) console.log(err)
|
|
146
|
+
})
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
**appending to an existing JSON file:**
|
|
150
|
+
|
|
151
|
+
You can use `fs.writeFile` option `{ flag: 'a' }` to achieve this.
|
|
152
|
+
|
|
153
|
+
```js
|
|
154
|
+
const jsonfile = require('jsonfile')
|
|
155
|
+
|
|
156
|
+
const file = '/tmp/mayAlreadyExistedData.json'
|
|
157
|
+
const obj = { name: 'JP' }
|
|
158
|
+
|
|
159
|
+
jsonfile.writeFile(file, obj, { flag: 'a' }, function (err) {
|
|
160
|
+
if (err) console.error(err)
|
|
161
|
+
})
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
----
|
|
165
|
+
|
|
166
|
+
### writeFileSync(filename, obj, [options])
|
|
167
|
+
|
|
168
|
+
`options`: Pass in any [`fs.writeFileSync`](https://nodejs.org/api/fs.html#fs_fs_writefilesync_file_data_options) options or set `replacer` for a [JSON replacer](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify). Can also pass in `spaces`, or override `EOL` string or set `finalEOL` flag as `false` to not save the file with `EOL` at the end.
|
|
169
|
+
|
|
170
|
+
```js
|
|
171
|
+
const jsonfile = require('jsonfile')
|
|
172
|
+
|
|
173
|
+
const file = '/tmp/data.json'
|
|
174
|
+
const obj = { name: 'JP' }
|
|
175
|
+
|
|
176
|
+
jsonfile.writeFileSync(file, obj)
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
**formatting with spaces:**
|
|
180
|
+
|
|
181
|
+
```js
|
|
182
|
+
const jsonfile = require('jsonfile')
|
|
183
|
+
|
|
184
|
+
const file = '/tmp/data.json'
|
|
185
|
+
const obj = { name: 'JP' }
|
|
186
|
+
|
|
187
|
+
jsonfile.writeFileSync(file, obj, { spaces: 2 })
|
|
188
|
+
```
|
|
189
|
+
|
|
190
|
+
**overriding EOL:**
|
|
191
|
+
|
|
192
|
+
```js
|
|
193
|
+
const jsonfile = require('jsonfile')
|
|
194
|
+
|
|
195
|
+
const file = '/tmp/data.json'
|
|
196
|
+
const obj = { name: 'JP' }
|
|
197
|
+
|
|
198
|
+
jsonfile.writeFileSync(file, obj, { spaces: 2, EOL: '\r\n' })
|
|
199
|
+
```
|
|
200
|
+
|
|
201
|
+
**disabling the EOL at the end of file:**
|
|
202
|
+
|
|
203
|
+
```js
|
|
204
|
+
const jsonfile = require('jsonfile')
|
|
205
|
+
|
|
206
|
+
const file = '/tmp/data.json'
|
|
207
|
+
const obj = { name: 'JP' }
|
|
208
|
+
|
|
209
|
+
jsonfile.writeFileSync(file, obj, { spaces: 2, finalEOL: false })
|
|
210
|
+
```
|
|
211
|
+
|
|
212
|
+
**appending to an existing JSON file:**
|
|
213
|
+
|
|
214
|
+
You can use `fs.writeFileSync` option `{ flag: 'a' }` to achieve this.
|
|
215
|
+
|
|
216
|
+
```js
|
|
217
|
+
const jsonfile = require('jsonfile')
|
|
218
|
+
|
|
219
|
+
const file = '/tmp/mayAlreadyExistedData.json'
|
|
220
|
+
const obj = { name: 'JP' }
|
|
221
|
+
|
|
222
|
+
jsonfile.writeFileSync(file, obj, { flag: 'a' })
|
|
223
|
+
```
|
|
224
|
+
|
|
225
|
+
License
|
|
226
|
+
-------
|
|
227
|
+
|
|
228
|
+
(MIT License)
|
|
229
|
+
|
|
230
|
+
Copyright 2012-2016, JP Richardson <jprichardson@gmail.com>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
jsonschema is licensed under MIT license.
|
|
2
|
+
|
|
3
|
+
Copyright (C) 2012-2015 Tom de Grunt <tom@degrunt.nl>
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
6
|
+
this software and associated documentation files (the "Software"), to deal in
|
|
7
|
+
the Software without restriction, including without limitation the rights to
|
|
8
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
|
9
|
+
of the Software, and to permit persons to whom the Software is furnished to do
|
|
10
|
+
so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|