@epilot360/icons 0.0.2 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle.js +1 -1
- package/dist/bundle.js.map +1 -1
- package/index.js.map +1 -1
- package/package.json +35 -8
- package/react/Close/index.d.ts +4 -0
- package/react/Close/index.js +28 -0
- package/react/Close/index.js.map +1 -0
- package/react/ContentCopy/index.d.ts +4 -0
- package/react/ContentCopy/index.js +28 -0
- package/react/ContentCopy/index.js.map +1 -0
- package/react/DataObject/index.d.ts +4 -0
- package/react/DataObject/index.js +28 -0
- package/react/DataObject/index.js.map +1 -0
- package/react/Edit/index.d.ts +4 -0
- package/react/Edit/index.js +28 -0
- package/react/Edit/index.js.map +1 -0
- package/react/EpilotIcon.d.ts +21 -0
- package/react/EpilotIcon.js +41 -0
- package/react/EpilotIcon.js.map +1 -0
- package/react/OpenInNew/index.d.ts +4 -0
- package/react/OpenInNew/index.js +28 -0
- package/react/OpenInNew/index.js.map +1 -0
- package/react/Share/index.d.ts +4 -0
- package/react/Share/index.js +28 -0
- package/react/Share/index.js.map +1 -0
- package/react/index.d.ts +6 -0
- package/react/index.js +6 -0
- package/react/index.js.map +1 -1
- package/react/types.d.ts +7 -0
- package/react/types.js +9 -0
- package/react/types.js.map +1 -0
- package/src/stories/Readme.mdx +53 -0
- package/iac/node_modules/@balena/dockerignore/LICENSE.md +0 -206
- package/iac/node_modules/@balena/dockerignore/README.md +0 -261
- package/iac/node_modules/@cspotcode/source-map-support/LICENSE.md +0 -21
- package/iac/node_modules/@cspotcode/source-map-support/README.md +0 -289
- package/iac/node_modules/@jridgewell/resolve-uri/LICENSE +0 -19
- package/iac/node_modules/@jridgewell/resolve-uri/README.md +0 -40
- package/iac/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.mjs.map +0 -1
- package/iac/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js.map +0 -1
- package/iac/node_modules/@jridgewell/sourcemap-codec/LICENSE +0 -21
- package/iac/node_modules/@jridgewell/sourcemap-codec/README.md +0 -200
- package/iac/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs.map +0 -1
- package/iac/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js.map +0 -1
- package/iac/node_modules/@jridgewell/trace-mapping/LICENSE +0 -19
- package/iac/node_modules/@jridgewell/trace-mapping/README.md +0 -193
- package/iac/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs.map +0 -1
- package/iac/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js.map +0 -1
- package/iac/node_modules/@tsconfig/node10/LICENSE +0 -21
- package/iac/node_modules/@tsconfig/node10/README.md +0 -40
- package/iac/node_modules/@tsconfig/node12/LICENSE +0 -21
- package/iac/node_modules/@tsconfig/node12/README.md +0 -40
- package/iac/node_modules/@tsconfig/node14/LICENSE +0 -21
- package/iac/node_modules/@tsconfig/node14/README.md +0 -40
- package/iac/node_modules/@tsconfig/node16/LICENSE +0 -21
- package/iac/node_modules/@tsconfig/node16/README.md +0 -40
- package/iac/node_modules/@types/jest/LICENSE +0 -21
- package/iac/node_modules/@types/jest/README.md +0 -17
- package/iac/node_modules/@types/node/LICENSE +0 -21
- package/iac/node_modules/@types/node/README.md +0 -16
- package/iac/node_modules/@types/prettier/LICENSE +0 -21
- package/iac/node_modules/@types/prettier/README.md +0 -16
- package/iac/node_modules/acorn/LICENSE +0 -21
- package/iac/node_modules/acorn/README.md +0 -273
- package/iac/node_modules/acorn-walk/LICENSE +0 -21
- package/iac/node_modules/acorn-walk/README.md +0 -126
- package/iac/node_modules/ansi-regex/license +0 -9
- package/iac/node_modules/ansi-regex/readme.md +0 -78
- package/iac/node_modules/ansi-styles/license +0 -9
- package/iac/node_modules/ansi-styles/readme.md +0 -144
- package/iac/node_modules/arg/LICENSE.md +0 -21
- package/iac/node_modules/arg/README.md +0 -280
- package/iac/node_modules/at-least-node/LICENSE +0 -6
- package/iac/node_modules/at-least-node/README.md +0 -25
- package/iac/node_modules/aws-cdk/LICENSE +0 -201
- package/iac/node_modules/aws-cdk/README.md +0 -742
- package/iac/node_modules/aws-cdk/lib/init-templates/LICENSE +0 -16
- package/iac/node_modules/aws-cdk/lib/init-templates/app/csharp/README.md +0 -14
- package/iac/node_modules/aws-cdk/lib/init-templates/app/fsharp/README.md +0 -18
- package/iac/node_modules/aws-cdk/lib/init-templates/app/go/README.md +0 -12
- package/iac/node_modules/aws-cdk/lib/init-templates/app/java/README.md +0 -18
- package/iac/node_modules/aws-cdk/lib/init-templates/app/javascript/README.md +0 -12
- package/iac/node_modules/aws-cdk/lib/init-templates/app/python/README.template.md +0 -58
- package/iac/node_modules/aws-cdk/lib/init-templates/app/typescript/README.md +0 -14
- package/iac/node_modules/aws-cdk/lib/init-templates/lib/typescript/README.template.md +0 -12
- package/iac/node_modules/aws-cdk/lib/init-templates/sample-app/csharp/README.template.md +0 -19
- package/iac/node_modules/aws-cdk/lib/init-templates/sample-app/fsharp/README.template.md +0 -20
- package/iac/node_modules/aws-cdk/lib/init-templates/sample-app/go/README.md +0 -12
- package/iac/node_modules/aws-cdk/lib/init-templates/sample-app/java/README.template.md +0 -19
- package/iac/node_modules/aws-cdk/lib/init-templates/sample-app/javascript/README.template.md +0 -13
- package/iac/node_modules/aws-cdk/lib/init-templates/sample-app/python/README.template.md +0 -65
- package/iac/node_modules/aws-cdk/lib/init-templates/sample-app/typescript/README.template.md +0 -15
- package/iac/node_modules/aws-cdk/test/integ/cli/README.md +0 -48
- package/iac/node_modules/aws-cdk/test/integ/cli-regression-patches/README.md +0 -54
- package/iac/node_modules/aws-cdk-lib/LICENSE +0 -201
- package/iac/node_modules/aws-cdk-lib/README.md +0 -1119
- package/iac/node_modules/aws-cdk-lib/alexa-ask/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/assertions/README.md +0 -571
- package/iac/node_modules/aws-cdk-lib/assets/README.md +0 -4
- package/iac/node_modules/aws-cdk-lib/aws-accessanalyzer/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-acmpca/README.md +0 -59
- package/iac/node_modules/aws-cdk-lib/aws-amazonmq/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-amplify/README.md +0 -32
- package/iac/node_modules/aws-cdk-lib/aws-amplifyuibuilder/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-apigateway/README.md +0 -1335
- package/iac/node_modules/aws-cdk-lib/aws-apigatewayv2/README.md +0 -32
- package/iac/node_modules/aws-cdk-lib/aws-appconfig/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-appflow/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-appintegrations/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-applicationautoscaling/README.md +0 -246
- package/iac/node_modules/aws-cdk-lib/aws-applicationinsights/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-appmesh/README.md +0 -883
- package/iac/node_modules/aws-cdk-lib/aws-apprunner/README.md +0 -32
- package/iac/node_modules/aws-cdk-lib/aws-appstream/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-appsync/README.md +0 -32
- package/iac/node_modules/aws-cdk-lib/aws-aps/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-athena/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-auditmanager/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-autoscaling/README.md +0 -540
- package/iac/node_modules/aws-cdk-lib/aws-autoscaling-common/README.md +0 -8
- package/iac/node_modules/aws-cdk-lib/aws-autoscaling-hooktargets/README.md +0 -18
- package/iac/node_modules/aws-cdk-lib/aws-autoscalingplans/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-backup/README.md +0 -210
- package/iac/node_modules/aws-cdk-lib/aws-batch/README.md +0 -32
- package/iac/node_modules/aws-cdk-lib/aws-billingconductor/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-budgets/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-cassandra/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-ce/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-certificatemanager/README.md +0 -166
- package/iac/node_modules/aws-cdk-lib/aws-certificatemanager/lambda-packages/dns_validated_certificate_handler/README.md +0 -2
- package/iac/node_modules/aws-cdk-lib/aws-certificatemanager/suffixes/README.txt +0 -8
- package/iac/node_modules/aws-cdk-lib/aws-chatbot/README.md +0 -44
- package/iac/node_modules/aws-cdk-lib/aws-cloud9/README.md +0 -32
- package/iac/node_modules/aws-cdk-lib/aws-cloudformation/README.md +0 -4
- package/iac/node_modules/aws-cdk-lib/aws-cloudfront/README.md +0 -973
- package/iac/node_modules/aws-cdk-lib/aws-cloudfront-origins/README.md +0 -126
- package/iac/node_modules/aws-cdk-lib/aws-cloudtrail/README.md +0 -189
- package/iac/node_modules/aws-cdk-lib/aws-cloudwatch/README.md +0 -579
- package/iac/node_modules/aws-cdk-lib/aws-cloudwatch-actions/README.md +0 -43
- package/iac/node_modules/aws-cdk-lib/aws-codeartifact/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-codebuild/README.md +0 -759
- package/iac/node_modules/aws-cdk-lib/aws-codecommit/README.md +0 -85
- package/iac/node_modules/aws-cdk-lib/aws-codedeploy/README.md +0 -319
- package/iac/node_modules/aws-cdk-lib/aws-codeguruprofiler/README.md +0 -37
- package/iac/node_modules/aws-cdk-lib/aws-codegurureviewer/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-codepipeline/README.md +0 -481
- package/iac/node_modules/aws-cdk-lib/aws-codepipeline-actions/README.md +0 -1203
- package/iac/node_modules/aws-cdk-lib/aws-codestar/README.md +0 -32
- package/iac/node_modules/aws-cdk-lib/aws-codestarconnections/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-codestarnotifications/README.md +0 -68
- package/iac/node_modules/aws-cdk-lib/aws-cognito/README.md +0 -843
- package/iac/node_modules/aws-cdk-lib/aws-config/README.md +0 -218
- package/iac/node_modules/aws-cdk-lib/aws-connect/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-controltower/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-cur/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-customerprofiles/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-databrew/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-datapipeline/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-datasync/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-dax/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-detective/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-devopsguru/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-directoryservice/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-dlm/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-dms/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-docdb/README.md +0 -153
- package/iac/node_modules/aws-cdk-lib/aws-dynamodb/README.md +0 -200
- package/iac/node_modules/aws-cdk-lib/aws-ec2/README.md +0 -1514
- package/iac/node_modules/aws-cdk-lib/aws-ecr/README.md +0 -110
- package/iac/node_modules/aws-cdk-lib/aws-ecr-assets/README.md +0 -167
- package/iac/node_modules/aws-cdk-lib/aws-ecs/README.md +0 -1225
- package/iac/node_modules/aws-cdk-lib/aws-ecs-patterns/README.md +0 -980
- package/iac/node_modules/aws-cdk-lib/aws-efs/README.md +0 -154
- package/iac/node_modules/aws-cdk-lib/aws-eks/README.md +0 -1450
- package/iac/node_modules/aws-cdk-lib/aws-elasticache/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-elasticbeanstalk/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-elasticloadbalancing/README.md +0 -40
- package/iac/node_modules/aws-cdk-lib/aws-elasticloadbalancingv2/README.md +0 -569
- package/iac/node_modules/aws-cdk-lib/aws-elasticloadbalancingv2-actions/README.md +0 -68
- package/iac/node_modules/aws-cdk-lib/aws-elasticloadbalancingv2-targets/README.md +0 -4
- package/iac/node_modules/aws-cdk-lib/aws-elasticsearch/README.md +0 -441
- package/iac/node_modules/aws-cdk-lib/aws-emr/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-emrcontainers/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-emrserverless/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-events/README.md +0 -249
- package/iac/node_modules/aws-cdk-lib/aws-events-targets/README.md +0 -339
- package/iac/node_modules/aws-cdk-lib/aws-eventschemas/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-evidently/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-finspace/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-fis/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-fms/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-forecast/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-frauddetector/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-fsx/README.md +0 -200
- package/iac/node_modules/aws-cdk-lib/aws-gamelift/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-globalaccelerator/README.md +0 -182
- package/iac/node_modules/aws-cdk-lib/aws-globalaccelerator-endpoints/README.md +0 -10
- package/iac/node_modules/aws-cdk-lib/aws-glue/README.md +0 -32
- package/iac/node_modules/aws-cdk-lib/aws-greengrass/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-greengrassv2/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-groundstation/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-guardduty/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-healthlake/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-iam/README.md +0 -509
- package/iac/node_modules/aws-cdk-lib/aws-imagebuilder/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-inspector/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-inspectorv2/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-iot/README.md +0 -32
- package/iac/node_modules/aws-cdk-lib/aws-iot1click/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-iotanalytics/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-iotcoredeviceadvisor/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-iotevents/README.md +0 -32
- package/iac/node_modules/aws-cdk-lib/aws-iotfleethub/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-iotsitewise/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-iotthingsgraph/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-iottwinmaker/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-iotwireless/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-ivs/README.md +0 -32
- package/iac/node_modules/aws-cdk-lib/aws-kafkaconnect/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-kendra/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-kinesis/README.md +0 -188
- package/iac/node_modules/aws-cdk-lib/aws-kinesisanalytics/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-kinesisanalyticsv2/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-kinesisfirehose/README.md +0 -32
- package/iac/node_modules/aws-cdk-lib/aws-kinesisvideo/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-kms/README.md +0 -209
- package/iac/node_modules/aws-cdk-lib/aws-lakeformation/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-lambda/README.md +0 -985
- package/iac/node_modules/aws-cdk-lib/aws-lambda-destinations/README.md +0 -147
- package/iac/node_modules/aws-cdk-lib/aws-lambda-event-sources/README.md +0 -281
- package/iac/node_modules/aws-cdk-lib/aws-lambda-nodejs/README.md +0 -317
- package/iac/node_modules/aws-cdk-lib/aws-lex/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-licensemanager/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-lightsail/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-location/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-logs/README.md +0 -322
- package/iac/node_modules/aws-cdk-lib/aws-logs-destinations/README.md +0 -7
- package/iac/node_modules/aws-cdk-lib/aws-lookoutequipment/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-lookoutmetrics/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-lookoutvision/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-m2/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-macie/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-managedblockchain/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-mediaconnect/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-mediaconvert/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-medialive/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-mediapackage/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-mediastore/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-mediatailor/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-memorydb/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-msk/README.md +0 -32
- package/iac/node_modules/aws-cdk-lib/aws-mwaa/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-neptune/README.md +0 -32
- package/iac/node_modules/aws-cdk-lib/aws-networkfirewall/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-networkmanager/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-nimblestudio/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-opensearchservice/README.md +0 -378
- package/iac/node_modules/aws-cdk-lib/aws-opsworks/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-opsworkscm/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-panorama/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-personalize/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-pinpoint/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-pinpointemail/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-qldb/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-quicksight/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-ram/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-rds/README.md +0 -704
- package/iac/node_modules/aws-cdk-lib/aws-redshift/README.md +0 -32
- package/iac/node_modules/aws-cdk-lib/aws-redshiftserverless/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-refactorspaces/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-rekognition/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-resiliencehub/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-resourcegroups/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-robomaker/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-route53/README.md +0 -281
- package/iac/node_modules/aws-cdk-lib/aws-route53-patterns/README.md +0 -45
- package/iac/node_modules/aws-cdk-lib/aws-route53-targets/README.md +0 -181
- package/iac/node_modules/aws-cdk-lib/aws-route53recoverycontrol/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-route53recoveryreadiness/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-route53resolver/README.md +0 -32
- package/iac/node_modules/aws-cdk-lib/aws-rum/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-s3/README.md +0 -581
- package/iac/node_modules/aws-cdk-lib/aws-s3-assets/README.md +0 -179
- package/iac/node_modules/aws-cdk-lib/aws-s3-deployment/README.md +0 -349
- package/iac/node_modules/aws-cdk-lib/aws-s3-notifications/README.md +0 -46
- package/iac/node_modules/aws-cdk-lib/aws-s3objectlambda/README.md +0 -32
- package/iac/node_modules/aws-cdk-lib/aws-s3outposts/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-sagemaker/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-sam/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-sdb/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-secretsmanager/README.md +0 -285
- package/iac/node_modules/aws-cdk-lib/aws-securityhub/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-servicecatalog/README.md +0 -491
- package/iac/node_modules/aws-cdk-lib/aws-servicecatalogappregistry/README.md +0 -32
- package/iac/node_modules/aws-cdk-lib/aws-servicediscovery/README.md +0 -45
- package/iac/node_modules/aws-cdk-lib/aws-ses/README.md +0 -194
- package/iac/node_modules/aws-cdk-lib/aws-ses-actions/README.md +0 -16
- package/iac/node_modules/aws-cdk-lib/aws-signer/README.md +0 -41
- package/iac/node_modules/aws-cdk-lib/aws-sns/README.md +0 -184
- package/iac/node_modules/aws-cdk-lib/aws-sns-subscriptions/README.md +0 -120
- package/iac/node_modules/aws-cdk-lib/aws-sqs/README.md +0 -57
- package/iac/node_modules/aws-cdk-lib/aws-ssm/README.md +0 -99
- package/iac/node_modules/aws-cdk-lib/aws-ssmcontacts/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-ssmincidents/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-sso/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-stepfunctions/README.md +0 -884
- package/iac/node_modules/aws-cdk-lib/aws-stepfunctions-tasks/README.md +0 -1288
- package/iac/node_modules/aws-cdk-lib/aws-supportapp/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-synthetics/README.md +0 -32
- package/iac/node_modules/aws-cdk-lib/aws-timestream/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-transfer/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-voiceid/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-waf/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-wafregional/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-wafv2/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-wisdom/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-workspaces/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-xray/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/cloud-assembly-schema/README.md +0 -55
- package/iac/node_modules/aws-cdk-lib/cloud-assembly-schema/schema/README.md +0 -5
- package/iac/node_modules/aws-cdk-lib/cloudformation-include/README.md +0 -466
- package/iac/node_modules/aws-cdk-lib/core/README.md +0 -1078
- package/iac/node_modules/aws-cdk-lib/custom-resources/README.md +0 -624
- package/iac/node_modules/aws-cdk-lib/cx-api/README.md +0 -98
- package/iac/node_modules/aws-cdk-lib/lambda-layer-awscli/README.md +0 -19
- package/iac/node_modules/aws-cdk-lib/lambda-layer-kubectl/README.md +0 -20
- package/iac/node_modules/aws-cdk-lib/lambda-layer-node-proxy-agent/README.md +0 -18
- package/iac/node_modules/aws-cdk-lib/node_modules/@balena/dockerignore/LICENSE.md +0 -206
- package/iac/node_modules/aws-cdk-lib/node_modules/@balena/dockerignore/README.md +0 -261
- package/iac/node_modules/aws-cdk-lib/node_modules/at-least-node/LICENSE +0 -6
- package/iac/node_modules/aws-cdk-lib/node_modules/at-least-node/README.md +0 -25
- package/iac/node_modules/aws-cdk-lib/node_modules/balanced-match/LICENSE.md +0 -21
- package/iac/node_modules/aws-cdk-lib/node_modules/balanced-match/README.md +0 -97
- package/iac/node_modules/aws-cdk-lib/node_modules/brace-expansion/LICENSE +0 -21
- package/iac/node_modules/aws-cdk-lib/node_modules/brace-expansion/README.md +0 -129
- package/iac/node_modules/aws-cdk-lib/node_modules/case/LICENSE +0 -22
- package/iac/node_modules/aws-cdk-lib/node_modules/case/README.md +0 -139
- package/iac/node_modules/aws-cdk-lib/node_modules/case/dist/Case.min.js.map +0 -1
- package/iac/node_modules/aws-cdk-lib/node_modules/case/dist/Case.plus.min.js.map +0 -1
- package/iac/node_modules/aws-cdk-lib/node_modules/concat-map/LICENSE +0 -18
- package/iac/node_modules/aws-cdk-lib/node_modules/concat-map/README.markdown +0 -62
- package/iac/node_modules/aws-cdk-lib/node_modules/fs-extra/LICENSE +0 -15
- package/iac/node_modules/aws-cdk-lib/node_modules/fs-extra/README.md +0 -264
- package/iac/node_modules/aws-cdk-lib/node_modules/graceful-fs/LICENSE +0 -15
- package/iac/node_modules/aws-cdk-lib/node_modules/graceful-fs/README.md +0 -143
- package/iac/node_modules/aws-cdk-lib/node_modules/ignore/README.md +0 -412
- package/iac/node_modules/aws-cdk-lib/node_modules/jsonfile/LICENSE +0 -15
- package/iac/node_modules/aws-cdk-lib/node_modules/jsonfile/README.md +0 -230
- package/iac/node_modules/aws-cdk-lib/node_modules/jsonschema/LICENSE +0 -21
- package/iac/node_modules/aws-cdk-lib/node_modules/jsonschema/README.md +0 -421
- package/iac/node_modules/aws-cdk-lib/node_modules/lru-cache/LICENSE +0 -15
- package/iac/node_modules/aws-cdk-lib/node_modules/lru-cache/README.md +0 -166
- package/iac/node_modules/aws-cdk-lib/node_modules/minimatch/LICENSE +0 -15
- package/iac/node_modules/aws-cdk-lib/node_modules/minimatch/README.md +0 -230
- package/iac/node_modules/aws-cdk-lib/node_modules/punycode/README.md +0 -122
- package/iac/node_modules/aws-cdk-lib/node_modules/semver/LICENSE +0 -15
- package/iac/node_modules/aws-cdk-lib/node_modules/semver/README.md +0 -568
- package/iac/node_modules/aws-cdk-lib/node_modules/universalify/LICENSE +0 -20
- package/iac/node_modules/aws-cdk-lib/node_modules/universalify/README.md +0 -76
- package/iac/node_modules/aws-cdk-lib/node_modules/yallist/LICENSE +0 -15
- package/iac/node_modules/aws-cdk-lib/node_modules/yallist/README.md +0 -204
- package/iac/node_modules/aws-cdk-lib/node_modules/yaml/LICENSE +0 -13
- package/iac/node_modules/aws-cdk-lib/node_modules/yaml/README.md +0 -127
- package/iac/node_modules/aws-cdk-lib/pipelines/README.md +0 -1573
- package/iac/node_modules/aws-cdk-lib/region-info/README.md +0 -84
- package/iac/node_modules/aws-cdk-lib/triggers/README.md +0 -86
- package/iac/node_modules/balanced-match/LICENSE.md +0 -21
- package/iac/node_modules/balanced-match/README.md +0 -97
- package/iac/node_modules/brace-expansion/LICENSE +0 -21
- package/iac/node_modules/brace-expansion/README.md +0 -129
- package/iac/node_modules/buffer-from/LICENSE +0 -21
- package/iac/node_modules/buffer-from/readme.md +0 -69
- package/iac/node_modules/case/LICENSE +0 -22
- package/iac/node_modules/case/README.md +0 -139
- package/iac/node_modules/case/dist/Case.min.js.map +0 -1
- package/iac/node_modules/case/dist/Case.plus.min.js.map +0 -1
- package/iac/node_modules/chalk/license +0 -9
- package/iac/node_modules/chalk/node_modules/ansi-styles/license +0 -9
- package/iac/node_modules/chalk/node_modules/ansi-styles/readme.md +0 -152
- package/iac/node_modules/chalk/readme.md +0 -341
- package/iac/node_modules/color-convert/LICENSE +0 -21
- package/iac/node_modules/color-convert/README.md +0 -68
- package/iac/node_modules/color-name/LICENSE +0 -8
- package/iac/node_modules/color-name/README.md +0 -11
- package/iac/node_modules/concat-map/LICENSE +0 -18
- package/iac/node_modules/concat-map/README.markdown +0 -62
- package/iac/node_modules/constructs/LICENSE +0 -202
- package/iac/node_modules/constructs/README.md +0 -28
- package/iac/node_modules/create-require/LICENSE +0 -25
- package/iac/node_modules/create-require/README.md +0 -46
- package/iac/node_modules/diff/LICENSE +0 -31
- package/iac/node_modules/diff/README.md +0 -207
- package/iac/node_modules/diff-sequences/LICENSE +0 -21
- package/iac/node_modules/diff-sequences/README.md +0 -404
- package/iac/node_modules/fs-extra/LICENSE +0 -15
- package/iac/node_modules/fs-extra/README.md +0 -264
- package/iac/node_modules/fsevents/LICENSE +0 -22
- package/iac/node_modules/fsevents/README.md +0 -83
- package/iac/node_modules/graceful-fs/LICENSE +0 -15
- package/iac/node_modules/graceful-fs/README.md +0 -143
- package/iac/node_modules/has-flag/license +0 -9
- package/iac/node_modules/has-flag/readme.md +0 -89
- package/iac/node_modules/ignore/README.md +0 -412
- package/iac/node_modules/jest-diff/LICENSE +0 -21
- package/iac/node_modules/jest-diff/README.md +0 -671
- package/iac/node_modules/jest-get-type/LICENSE +0 -21
- package/iac/node_modules/jest-matcher-utils/LICENSE +0 -21
- package/iac/node_modules/jest-matcher-utils/README.md +0 -24
- package/iac/node_modules/jsonfile/LICENSE +0 -15
- package/iac/node_modules/jsonfile/README.md +0 -230
- package/iac/node_modules/jsonschema/LICENSE +0 -21
- package/iac/node_modules/jsonschema/README.md +0 -421
- package/iac/node_modules/lru-cache/LICENSE +0 -15
- package/iac/node_modules/lru-cache/README.md +0 -166
- package/iac/node_modules/make-error/LICENSE +0 -5
- package/iac/node_modules/make-error/README.md +0 -112
- package/iac/node_modules/minimatch/LICENSE +0 -15
- package/iac/node_modules/minimatch/README.md +0 -230
- package/iac/node_modules/pretty-format/LICENSE +0 -21
- package/iac/node_modules/pretty-format/README.md +0 -458
- package/iac/node_modules/punycode/README.md +0 -122
- package/iac/node_modules/react-is/LICENSE +0 -21
- package/iac/node_modules/react-is/README.md +0 -104
- package/iac/node_modules/semver/LICENSE +0 -15
- package/iac/node_modules/semver/README.md +0 -568
- package/iac/node_modules/source-map/LICENSE +0 -28
- package/iac/node_modules/source-map/README.md +0 -742
- package/iac/node_modules/source-map/dist/source-map.min.js.map +0 -1
- package/iac/node_modules/source-map-support/LICENSE.md +0 -21
- package/iac/node_modules/source-map-support/README.md +0 -284
- package/iac/node_modules/supports-color/license +0 -9
- package/iac/node_modules/supports-color/readme.md +0 -76
- package/iac/node_modules/ts-node/LICENSE +0 -21
- package/iac/node_modules/ts-node/README.md +0 -1442
- package/iac/node_modules/ts-node/dist/bin-cwd.js.map +0 -1
- package/iac/node_modules/ts-node/dist/bin-esm.js.map +0 -1
- package/iac/node_modules/ts-node/dist/bin-script-deprecated.js.map +0 -1
- package/iac/node_modules/ts-node/dist/bin-script.js.map +0 -1
- package/iac/node_modules/ts-node/dist/bin-transpile.js.map +0 -1
- package/iac/node_modules/ts-node/dist/bin.js.map +0 -1
- package/iac/node_modules/ts-node/dist/child/argv-payload.js.map +0 -1
- package/iac/node_modules/ts-node/dist/child/child-entrypoint.js.map +0 -1
- package/iac/node_modules/ts-node/dist/child/child-loader.js.map +0 -1
- package/iac/node_modules/ts-node/dist/child/child-require.js.map +0 -1
- package/iac/node_modules/ts-node/dist/child/spawn-child.js.map +0 -1
- package/iac/node_modules/ts-node/dist/cjs-resolve-hooks.js.map +0 -1
- package/iac/node_modules/ts-node/dist/configuration.js.map +0 -1
- package/iac/node_modules/ts-node/dist/esm.js.map +0 -1
- package/iac/node_modules/ts-node/dist/file-extensions.js.map +0 -1
- package/iac/node_modules/ts-node/dist/index.js.map +0 -1
- package/iac/node_modules/ts-node/dist/module-type-classifier.js.map +0 -1
- package/iac/node_modules/ts-node/dist/node-module-type-classifier.js.map +0 -1
- package/iac/node_modules/ts-node/dist/repl.js.map +0 -1
- package/iac/node_modules/ts-node/dist/resolver-functions.js.map +0 -1
- package/iac/node_modules/ts-node/dist/transpilers/swc.js.map +0 -1
- package/iac/node_modules/ts-node/dist/transpilers/types.js.map +0 -1
- package/iac/node_modules/ts-node/dist/ts-compiler-types.js.map +0 -1
- package/iac/node_modules/ts-node/dist/ts-internals.js.map +0 -1
- package/iac/node_modules/ts-node/dist/ts-transpile-module.js.map +0 -1
- package/iac/node_modules/ts-node/dist/tsconfig-schema.js.map +0 -1
- package/iac/node_modules/ts-node/dist/tsconfigs.js.map +0 -1
- package/iac/node_modules/ts-node/dist/util.js.map +0 -1
- package/iac/node_modules/ts-node/dist-raw/README.md +0 -36
- package/iac/node_modules/typescript/LICENSE.txt +0 -55
- package/iac/node_modules/typescript/README.md +0 -104
- package/iac/node_modules/typescript/lib/README.md +0 -5
- package/iac/node_modules/universalify/LICENSE +0 -20
- package/iac/node_modules/universalify/README.md +0 -76
- package/iac/node_modules/v8-compile-cache-lib/LICENSE +0 -21
- package/iac/node_modules/v8-compile-cache-lib/README.md +0 -60
- package/iac/node_modules/yallist/LICENSE +0 -15
- package/iac/node_modules/yallist/README.md +0 -204
- package/iac/node_modules/yaml/LICENSE +0 -13
- package/iac/node_modules/yaml/README.md +0 -127
- package/iac/node_modules/yn/license +0 -9
- package/iac/node_modules/yn/readme.md +0 -83
- package/react/Edit.d.ts +0 -3
- package/react/Edit.js +0 -10
- package/react/Edit.js.map +0 -1
|
@@ -1,421 +0,0 @@
|
|
|
1
|
-
[](http://travis-ci.org/tdegrunt/jsonschema)
|
|
2
|
-
|
|
3
|
-
# jsonschema
|
|
4
|
-
|
|
5
|
-
[JSON schema](http://json-schema.org/) validator, which is designed to be fast and simple to use. JSON Schema versions through draft-07 are fully supported.
|
|
6
|
-
|
|
7
|
-
## Contributing & bugs
|
|
8
|
-
|
|
9
|
-
Please fork the repository, make the changes in your fork and include tests. Once you're done making changes, send in a pull request.
|
|
10
|
-
|
|
11
|
-
### Bug reports
|
|
12
|
-
|
|
13
|
-
Please include a test which shows why the code fails.
|
|
14
|
-
|
|
15
|
-
## Usage
|
|
16
|
-
|
|
17
|
-
### Simple
|
|
18
|
-
|
|
19
|
-
Simple object validation using JSON schemas.
|
|
20
|
-
|
|
21
|
-
```javascript
|
|
22
|
-
var Validator = require('jsonschema').Validator;
|
|
23
|
-
var v = new Validator();
|
|
24
|
-
var instance = 4;
|
|
25
|
-
var schema = {"type": "number"};
|
|
26
|
-
console.log(v.validate(instance, schema));
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
### Even simpler
|
|
30
|
-
|
|
31
|
-
```javascript
|
|
32
|
-
var validate = require('jsonschema').validate;
|
|
33
|
-
console.log(validate(4, {"type": "number"}));
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
### Complex example, with split schemas and references
|
|
37
|
-
|
|
38
|
-
```javascript
|
|
39
|
-
var Validator = require('jsonschema').Validator;
|
|
40
|
-
var v = new Validator();
|
|
41
|
-
|
|
42
|
-
// Address, to be embedded on Person
|
|
43
|
-
var addressSchema = {
|
|
44
|
-
"id": "/SimpleAddress",
|
|
45
|
-
"type": "object",
|
|
46
|
-
"properties": {
|
|
47
|
-
"lines": {
|
|
48
|
-
"type": "array",
|
|
49
|
-
"items": {"type": "string"}
|
|
50
|
-
},
|
|
51
|
-
"zip": {"type": "string"},
|
|
52
|
-
"city": {"type": "string"},
|
|
53
|
-
"country": {"type": "string"}
|
|
54
|
-
},
|
|
55
|
-
"required": ["country"]
|
|
56
|
-
};
|
|
57
|
-
|
|
58
|
-
// Person
|
|
59
|
-
var schema = {
|
|
60
|
-
"id": "/SimplePerson",
|
|
61
|
-
"type": "object",
|
|
62
|
-
"properties": {
|
|
63
|
-
"name": {"type": "string"},
|
|
64
|
-
"address": {"$ref": "/SimpleAddress"},
|
|
65
|
-
"votes": {"type": "integer", "minimum": 1}
|
|
66
|
-
}
|
|
67
|
-
};
|
|
68
|
-
|
|
69
|
-
var p = {
|
|
70
|
-
"name": "Barack Obama",
|
|
71
|
-
"address": {
|
|
72
|
-
"lines": [ "1600 Pennsylvania Avenue Northwest" ],
|
|
73
|
-
"zip": "DC 20500",
|
|
74
|
-
"city": "Washington",
|
|
75
|
-
"country": "USA"
|
|
76
|
-
},
|
|
77
|
-
"votes": "lots"
|
|
78
|
-
};
|
|
79
|
-
|
|
80
|
-
v.addSchema(addressSchema, '/SimpleAddress');
|
|
81
|
-
console.log(v.validate(p, schema));
|
|
82
|
-
```
|
|
83
|
-
### Example for Array schema
|
|
84
|
-
|
|
85
|
-
```json
|
|
86
|
-
var arraySchema = {
|
|
87
|
-
"type": "array",
|
|
88
|
-
"items": {
|
|
89
|
-
"properties": {
|
|
90
|
-
"name": { "type": "string" },
|
|
91
|
-
"lastname": { "type": "string" }
|
|
92
|
-
},
|
|
93
|
-
"required": ["name", "lastname"]
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
```
|
|
97
|
-
For a comprehensive, annotated example illustrating all possible validation options, see [examples/all.js](./examples/all.js)
|
|
98
|
-
|
|
99
|
-
## Features
|
|
100
|
-
|
|
101
|
-
### Definitions
|
|
102
|
-
|
|
103
|
-
All schema definitions are supported, $schema is ignored.
|
|
104
|
-
|
|
105
|
-
### Types
|
|
106
|
-
|
|
107
|
-
All types are supported
|
|
108
|
-
|
|
109
|
-
### Handling `undefined`
|
|
110
|
-
|
|
111
|
-
`undefined` is not a value known to JSON, and by default, the validator treats it as if it is not invalid. i.e., it will return valid.
|
|
112
|
-
|
|
113
|
-
```javascript
|
|
114
|
-
var res = validate(undefined, {type: 'string'});
|
|
115
|
-
res.valid // true
|
|
116
|
-
```
|
|
117
|
-
|
|
118
|
-
This behavior may be changed with the "required" option:
|
|
119
|
-
|
|
120
|
-
```javascript
|
|
121
|
-
var res = validate(undefined, {type: 'string'}, {required: true});
|
|
122
|
-
res.valid // false
|
|
123
|
-
```
|
|
124
|
-
|
|
125
|
-
### Formats
|
|
126
|
-
|
|
127
|
-
#### Disabling the format keyword.
|
|
128
|
-
|
|
129
|
-
You may disable format validation by providing `disableFormat: true` to the validator
|
|
130
|
-
options.
|
|
131
|
-
|
|
132
|
-
#### String Formats
|
|
133
|
-
|
|
134
|
-
All formats are supported, phone numbers are expected to follow the [E.123](http://en.wikipedia.org/wiki/E.123) standard.
|
|
135
|
-
|
|
136
|
-
#### Custom Formats
|
|
137
|
-
|
|
138
|
-
You may add your own custom format functions. Format functions accept the input
|
|
139
|
-
being validated and return a boolean value. If the returned value is `true`, then
|
|
140
|
-
validation succeeds. If the returned value is `false`, then validation fails.
|
|
141
|
-
|
|
142
|
-
* Formats added to `Validator.prototype.customFormats` do not affect previously instantiated
|
|
143
|
-
Validators. This is to prevent validator instances from being altered once created.
|
|
144
|
-
It is conceivable that multiple validators may be created to handle multiple schemas
|
|
145
|
-
with different formats in a program.
|
|
146
|
-
* Formats added to `validator.customFormats` affect only that Validator instance.
|
|
147
|
-
|
|
148
|
-
Here is an example that uses custom formats:
|
|
149
|
-
|
|
150
|
-
```javascript
|
|
151
|
-
Validator.prototype.customFormats.myFormat = function(input) {
|
|
152
|
-
return input === 'myFormat';
|
|
153
|
-
};
|
|
154
|
-
|
|
155
|
-
var validator = new Validator();
|
|
156
|
-
validator.validate('myFormat', {type: 'string', format: 'myFormat'}).valid; // true
|
|
157
|
-
validator.validate('foo', {type: 'string', format: 'myFormat'}).valid; // false
|
|
158
|
-
```
|
|
159
|
-
|
|
160
|
-
### Results
|
|
161
|
-
|
|
162
|
-
By default, results will be returned in a `ValidatorResult` object with the following properties:
|
|
163
|
-
|
|
164
|
-
* `instance`: any.
|
|
165
|
-
* `schema`: Schema.
|
|
166
|
-
* `errors`: ValidationError[].
|
|
167
|
-
* `valid`: boolean.
|
|
168
|
-
|
|
169
|
-
Each item in `errors` is a `ValidationError` with the following properties:
|
|
170
|
-
|
|
171
|
-
* path: array. An array of property keys or array offsets, indicating where inside objects or arrays the instance was found.
|
|
172
|
-
* property: string. Describes the property path. Starts with `instance`, and is delimited with a dot (`.`).
|
|
173
|
-
* message: string. A human-readable message for debugging use. Provided in English and subject to change.
|
|
174
|
-
* schema: object. The schema containing the keyword that failed
|
|
175
|
-
* instance: any. The instance that failed
|
|
176
|
-
* name: string. The keyword within the schema that failed.
|
|
177
|
-
* argument: any. Provides information about the keyword that failed.
|
|
178
|
-
|
|
179
|
-
The validator can be configured to throw in the event of a validation error:
|
|
180
|
-
|
|
181
|
-
* If the `throwFirst` option is set, the validator will terminate validation at the first encountered error and throw a `ValidatorResultError` object.
|
|
182
|
-
|
|
183
|
-
* If the `throwAll` option is set, the validator will throw a `ValidatorResultError` object after the entire instance has been validated.
|
|
184
|
-
|
|
185
|
-
* If the `throwError` option is set, it will throw at the first encountered validation error (like `throwFirst`), but the `ValidationError` object itself will be thrown. Note that, despite the name, this does not inherit from Error like `ValidatorResultError` does.
|
|
186
|
-
|
|
187
|
-
The `ValidatorResultError` object has the same properties as `ValidatorResult` and additionally inherits from Error.
|
|
188
|
-
|
|
189
|
-
#### "nestedErrors" option
|
|
190
|
-
|
|
191
|
-
When `oneOf` or `anyOf` validations fail, errors that caused any of the sub-schemas referenced therein to fail are normally suppressed, because it is not necessary to fix all of them. And in the case of `oneOf`, it would itself be an error to fix all of the listed errors.
|
|
192
|
-
|
|
193
|
-
This behavior may be configured with `options.nestedErrors`. If truthy, it will emit all the errors from the subschemas. This option may be useful when troubleshooting validation errors in complex schemas:
|
|
194
|
-
|
|
195
|
-
```javascript
|
|
196
|
-
var schema = {
|
|
197
|
-
oneOf: [
|
|
198
|
-
{ type: 'string', minLength: 32, maxLength: 32 },
|
|
199
|
-
{ type: 'string', maxLength: 16 },
|
|
200
|
-
{ type: 'number' },
|
|
201
|
-
]
|
|
202
|
-
};
|
|
203
|
-
var validator = new Validator();
|
|
204
|
-
var result = validator.validate('This string is 28 chars long', schema, {nestedErrors: true});
|
|
205
|
-
|
|
206
|
-
// result.toString() reads out:
|
|
207
|
-
// 0: instance does not meet minimum length of 32
|
|
208
|
-
// 1: instance does not meet maximum length of 16
|
|
209
|
-
// 2: instance is not of a type(s) number
|
|
210
|
-
// 3: instance is not exactly one from [subschema 0],[subschema 1],[subschema 2]
|
|
211
|
-
```
|
|
212
|
-
|
|
213
|
-
#### Localizing Error Messages
|
|
214
|
-
|
|
215
|
-
To provide localized, human-readable errors, use the `name` string as a translation key. Feel free to open an issue for support relating to localizing error messages. For example:
|
|
216
|
-
|
|
217
|
-
```
|
|
218
|
-
var localized = result.errors.map(function(err){
|
|
219
|
-
return localeService.translate(err.name);
|
|
220
|
-
});
|
|
221
|
-
```
|
|
222
|
-
|
|
223
|
-
### Custom keywords
|
|
224
|
-
|
|
225
|
-
Specify your own JSON Schema keywords with the validator.attributes property:
|
|
226
|
-
|
|
227
|
-
```javascript
|
|
228
|
-
validator.attributes.contains = function validateContains(instance, schema, options, ctx) {
|
|
229
|
-
if(typeof instance !== 'string') return;
|
|
230
|
-
if(typeof schema.contains !== 'string') throw new jsonschema.SchemaError('"contains" expects a string', schema);
|
|
231
|
-
if(instance.indexOf(schema.contains)<0){
|
|
232
|
-
return 'does not contain the string ' + JSON.stringify(schema.contains);
|
|
233
|
-
}
|
|
234
|
-
}
|
|
235
|
-
var result = validator.validate("I am an instance", { type:"string", contains: "I am" });
|
|
236
|
-
// result.valid === true;
|
|
237
|
-
```
|
|
238
|
-
|
|
239
|
-
The instance passes validation if the function returns nothing. A single validation error is produced
|
|
240
|
-
if the function returns a string. Any number of errors (maybe none at all) may be returned by passing a
|
|
241
|
-
`ValidatorResult` object, which may be used like so:
|
|
242
|
-
|
|
243
|
-
```javascript
|
|
244
|
-
var result = new ValidatorResult(instance, schema, options, ctx);
|
|
245
|
-
while(someErrorCondition()){
|
|
246
|
-
result.addError('fails some validation test');
|
|
247
|
-
}
|
|
248
|
-
return result;
|
|
249
|
-
```
|
|
250
|
-
|
|
251
|
-
### Dereferencing schemas
|
|
252
|
-
|
|
253
|
-
Sometimes you may want to download schemas from remote sources, like a database, or over HTTP. When importing a schema,
|
|
254
|
-
unknown references are inserted into the `validator.unresolvedRefs` Array. Asynchronously shift elements off this array and import
|
|
255
|
-
them:
|
|
256
|
-
|
|
257
|
-
```javascript
|
|
258
|
-
var Validator = require('jsonschema').Validator;
|
|
259
|
-
var v = new Validator();
|
|
260
|
-
v.addSchema(initialSchema);
|
|
261
|
-
function importNextSchema(){
|
|
262
|
-
var nextSchema = v.unresolvedRefs.shift();
|
|
263
|
-
if(!nextSchema){ done(); return; }
|
|
264
|
-
databaseGet(nextSchema, function(schema){
|
|
265
|
-
v.addSchema(schema);
|
|
266
|
-
importNextSchema();
|
|
267
|
-
});
|
|
268
|
-
}
|
|
269
|
-
importNextSchema();
|
|
270
|
-
```
|
|
271
|
-
|
|
272
|
-
### Default base URI
|
|
273
|
-
|
|
274
|
-
Schemas should typically have an `id` with an absolute, full URI. However if the schema you are using contains only relative URI references, the `base` option will be used to resolve these.
|
|
275
|
-
|
|
276
|
-
This following example would throw a `SchemaError` if the `base` option were unset:
|
|
277
|
-
|
|
278
|
-
```javascript
|
|
279
|
-
var result = validate(["Name"], {
|
|
280
|
-
id: "/schema.json",
|
|
281
|
-
type: "array",
|
|
282
|
-
items: { $ref: "http://example.com/schema.json#/definitions/item" },
|
|
283
|
-
definitions: {
|
|
284
|
-
item: { type: "string" },
|
|
285
|
-
},
|
|
286
|
-
}, { base: 'http://example.com/' });
|
|
287
|
-
```
|
|
288
|
-
|
|
289
|
-
### Rewrite Hook
|
|
290
|
-
|
|
291
|
-
The `rewrite` option lets you change the value of an instance after it has successfully been validated. This will mutate the `instance` passed to the validate function. This can be useful for unmarshalling data and parsing it into native instances, such as changing a string to a `Date` instance.
|
|
292
|
-
|
|
293
|
-
The `rewrite` option accepts a function with the following arguments:
|
|
294
|
-
|
|
295
|
-
* instance: any
|
|
296
|
-
* schema: object
|
|
297
|
-
* options: object
|
|
298
|
-
* ctx: object
|
|
299
|
-
* return value: any new value for the instance
|
|
300
|
-
|
|
301
|
-
The value may be removed by returning `undefined`.
|
|
302
|
-
If you don't want to change the value, call `return instance`.
|
|
303
|
-
|
|
304
|
-
Here is an example that can convert a property expecting a date into a Date instance:
|
|
305
|
-
|
|
306
|
-
```javascript
|
|
307
|
-
const schema = {
|
|
308
|
-
properties: {
|
|
309
|
-
date: {id: 'http://example.com/date', type: 'string'},
|
|
310
|
-
},
|
|
311
|
-
};
|
|
312
|
-
|
|
313
|
-
const value = {
|
|
314
|
-
date: '2020-09-30T23:39:27.060Z',
|
|
315
|
-
};
|
|
316
|
-
|
|
317
|
-
function unmarshall(instance, schema){
|
|
318
|
-
if(schema.id === 'http://example.com/date'){
|
|
319
|
-
return new Date(instance);
|
|
320
|
-
}
|
|
321
|
-
return instance;
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
const v = new Validator();
|
|
325
|
-
const res = v.validate(value, schema, {rewrite: unmarshall});
|
|
326
|
-
|
|
327
|
-
assert(res.instance.date instanceof Date);
|
|
328
|
-
```
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
### Pre-Property Validation Hook
|
|
332
|
-
|
|
333
|
-
If some processing of properties is required prior to validation a function may be passed via the options parameter of the validate function. For example, say you needed to perform type coercion for some properties:
|
|
334
|
-
|
|
335
|
-
```javascript
|
|
336
|
-
// See examples/coercion.js
|
|
337
|
-
function preValidateProperty(object, key, schema, options, ctx) {
|
|
338
|
-
var value = object[key];
|
|
339
|
-
if (typeof value === 'undefined') return;
|
|
340
|
-
|
|
341
|
-
// Test if the schema declares a type, but the type keyword fails validation
|
|
342
|
-
if (schema.type && validator.attributes.type.call(validator, value, schema, options, ctx.makeChild(schema, key))) {
|
|
343
|
-
// If the type is "number" but the instance is not a number, cast it
|
|
344
|
-
if(schema.type==='number' && typeof value!=='number'){
|
|
345
|
-
object[key] = parseFloat(value);
|
|
346
|
-
return;
|
|
347
|
-
}
|
|
348
|
-
// If the type is "string" but the instance is not a string, cast it
|
|
349
|
-
if(schema.type==='string' && typeof value!=='string'){
|
|
350
|
-
object[key] = String(value).toString();
|
|
351
|
-
return;
|
|
352
|
-
}
|
|
353
|
-
}
|
|
354
|
-
};
|
|
355
|
-
|
|
356
|
-
// And now, to actually perform validation with the coercion hook!
|
|
357
|
-
v.validate(instance, schema, { preValidateProperty });
|
|
358
|
-
```
|
|
359
|
-
|
|
360
|
-
### Skip validation of certain keywords
|
|
361
|
-
|
|
362
|
-
Use the "skipAttributes" option to skip validation of certain keywords. Provide an array of keywords to ignore.
|
|
363
|
-
|
|
364
|
-
For skipping the "format" keyword, see the disableFormat option.
|
|
365
|
-
|
|
366
|
-
### Fail on unknown keywords
|
|
367
|
-
|
|
368
|
-
By default, JSON Schema is supposed to ignore unknown schema keywords.
|
|
369
|
-
|
|
370
|
-
You can change this behavior to require that all keywords used in a schema have a defined behavior, by using setting the "allowUnknownAttributes" option to false.
|
|
371
|
-
|
|
372
|
-
This example will throw a `SchemaError`:
|
|
373
|
-
|
|
374
|
-
```javascript
|
|
375
|
-
var schema = {
|
|
376
|
-
type: "string",
|
|
377
|
-
format: "email",
|
|
378
|
-
example: "foo",
|
|
379
|
-
};
|
|
380
|
-
var result = validate("Name", schema, { allowUnknownAttributes: false });
|
|
381
|
-
```
|
|
382
|
-
|
|
383
|
-
## Tests
|
|
384
|
-
|
|
385
|
-
Uses [JSON Schema Test Suite](https://github.com/json-schema/JSON-Schema-Test-Suite) as well as our own tests.
|
|
386
|
-
You'll need to update and init the git submodules:
|
|
387
|
-
|
|
388
|
-
git submodule update --init
|
|
389
|
-
npm test
|
|
390
|
-
|
|
391
|
-
## Contributions
|
|
392
|
-
|
|
393
|
-
This library would not be possible without the valuable contributions by:
|
|
394
|
-
|
|
395
|
-
- Austin Wright
|
|
396
|
-
|
|
397
|
-
... and many others!
|
|
398
|
-
|
|
399
|
-
## License
|
|
400
|
-
|
|
401
|
-
jsonschema is licensed under MIT license.
|
|
402
|
-
|
|
403
|
-
Copyright (C) 2012-2019 Tom de Grunt <tom@degrunt.nl>
|
|
404
|
-
|
|
405
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
406
|
-
this software and associated documentation files (the "Software"), to deal in
|
|
407
|
-
the Software without restriction, including without limitation the rights to
|
|
408
|
-
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
|
409
|
-
of the Software, and to permit persons to whom the Software is furnished to do
|
|
410
|
-
so, subject to the following conditions:
|
|
411
|
-
|
|
412
|
-
The above copyright notice and this permission notice shall be included in all
|
|
413
|
-
copies or substantial portions of the Software.
|
|
414
|
-
|
|
415
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
416
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
417
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
418
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
419
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
420
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
421
|
-
SOFTWARE.
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
The ISC License
|
|
2
|
-
|
|
3
|
-
Copyright (c) Isaac Z. Schlueter and Contributors
|
|
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.
|
|
@@ -1,166 +0,0 @@
|
|
|
1
|
-
# lru cache
|
|
2
|
-
|
|
3
|
-
A cache object that deletes the least-recently-used items.
|
|
4
|
-
|
|
5
|
-
[](https://travis-ci.org/isaacs/node-lru-cache) [](https://coveralls.io/github/isaacs/node-lru-cache)
|
|
6
|
-
|
|
7
|
-
## Installation:
|
|
8
|
-
|
|
9
|
-
```javascript
|
|
10
|
-
npm install lru-cache --save
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
## Usage:
|
|
14
|
-
|
|
15
|
-
```javascript
|
|
16
|
-
var LRU = require("lru-cache")
|
|
17
|
-
, options = { max: 500
|
|
18
|
-
, length: function (n, key) { return n * 2 + key.length }
|
|
19
|
-
, dispose: function (key, n) { n.close() }
|
|
20
|
-
, maxAge: 1000 * 60 * 60 }
|
|
21
|
-
, cache = new LRU(options)
|
|
22
|
-
, otherCache = new LRU(50) // sets just the max size
|
|
23
|
-
|
|
24
|
-
cache.set("key", "value")
|
|
25
|
-
cache.get("key") // "value"
|
|
26
|
-
|
|
27
|
-
// non-string keys ARE fully supported
|
|
28
|
-
// but note that it must be THE SAME object, not
|
|
29
|
-
// just a JSON-equivalent object.
|
|
30
|
-
var someObject = { a: 1 }
|
|
31
|
-
cache.set(someObject, 'a value')
|
|
32
|
-
// Object keys are not toString()-ed
|
|
33
|
-
cache.set('[object Object]', 'a different value')
|
|
34
|
-
assert.equal(cache.get(someObject), 'a value')
|
|
35
|
-
// A similar object with same keys/values won't work,
|
|
36
|
-
// because it's a different object identity
|
|
37
|
-
assert.equal(cache.get({ a: 1 }), undefined)
|
|
38
|
-
|
|
39
|
-
cache.reset() // empty the cache
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
If you put more stuff in it, then items will fall out.
|
|
43
|
-
|
|
44
|
-
If you try to put an oversized thing in it, then it'll fall out right
|
|
45
|
-
away.
|
|
46
|
-
|
|
47
|
-
## Options
|
|
48
|
-
|
|
49
|
-
* `max` The maximum size of the cache, checked by applying the length
|
|
50
|
-
function to all values in the cache. Not setting this is kind of
|
|
51
|
-
silly, since that's the whole purpose of this lib, but it defaults
|
|
52
|
-
to `Infinity`. Setting it to a non-number or negative number will
|
|
53
|
-
throw a `TypeError`. Setting it to 0 makes it be `Infinity`.
|
|
54
|
-
* `maxAge` Maximum age in ms. Items are not pro-actively pruned out
|
|
55
|
-
as they age, but if you try to get an item that is too old, it'll
|
|
56
|
-
drop it and return undefined instead of giving it to you.
|
|
57
|
-
Setting this to a negative value will make everything seem old!
|
|
58
|
-
Setting it to a non-number will throw a `TypeError`.
|
|
59
|
-
* `length` Function that is used to calculate the length of stored
|
|
60
|
-
items. If you're storing strings or buffers, then you probably want
|
|
61
|
-
to do something like `function(n, key){return n.length}`. The default is
|
|
62
|
-
`function(){return 1}`, which is fine if you want to store `max`
|
|
63
|
-
like-sized things. The item is passed as the first argument, and
|
|
64
|
-
the key is passed as the second argumnet.
|
|
65
|
-
* `dispose` Function that is called on items when they are dropped
|
|
66
|
-
from the cache. This can be handy if you want to close file
|
|
67
|
-
descriptors or do other cleanup tasks when items are no longer
|
|
68
|
-
accessible. Called with `key, value`. It's called *before*
|
|
69
|
-
actually removing the item from the internal cache, so if you want
|
|
70
|
-
to immediately put it back in, you'll have to do that in a
|
|
71
|
-
`nextTick` or `setTimeout` callback or it won't do anything.
|
|
72
|
-
* `stale` By default, if you set a `maxAge`, it'll only actually pull
|
|
73
|
-
stale items out of the cache when you `get(key)`. (That is, it's
|
|
74
|
-
not pre-emptively doing a `setTimeout` or anything.) If you set
|
|
75
|
-
`stale:true`, it'll return the stale value before deleting it. If
|
|
76
|
-
you don't set this, then it'll return `undefined` when you try to
|
|
77
|
-
get a stale entry, as if it had already been deleted.
|
|
78
|
-
* `noDisposeOnSet` By default, if you set a `dispose()` method, then
|
|
79
|
-
it'll be called whenever a `set()` operation overwrites an existing
|
|
80
|
-
key. If you set this option, `dispose()` will only be called when a
|
|
81
|
-
key falls out of the cache, not when it is overwritten.
|
|
82
|
-
* `updateAgeOnGet` When using time-expiring entries with `maxAge`,
|
|
83
|
-
setting this to `true` will make each item's effective time update
|
|
84
|
-
to the current time whenever it is retrieved from cache, causing it
|
|
85
|
-
to not expire. (It can still fall out of cache based on recency of
|
|
86
|
-
use, of course.)
|
|
87
|
-
|
|
88
|
-
## API
|
|
89
|
-
|
|
90
|
-
* `set(key, value, maxAge)`
|
|
91
|
-
* `get(key) => value`
|
|
92
|
-
|
|
93
|
-
Both of these will update the "recently used"-ness of the key.
|
|
94
|
-
They do what you think. `maxAge` is optional and overrides the
|
|
95
|
-
cache `maxAge` option if provided.
|
|
96
|
-
|
|
97
|
-
If the key is not found, `get()` will return `undefined`.
|
|
98
|
-
|
|
99
|
-
The key and val can be any value.
|
|
100
|
-
|
|
101
|
-
* `peek(key)`
|
|
102
|
-
|
|
103
|
-
Returns the key value (or `undefined` if not found) without
|
|
104
|
-
updating the "recently used"-ness of the key.
|
|
105
|
-
|
|
106
|
-
(If you find yourself using this a lot, you *might* be using the
|
|
107
|
-
wrong sort of data structure, but there are some use cases where
|
|
108
|
-
it's handy.)
|
|
109
|
-
|
|
110
|
-
* `del(key)`
|
|
111
|
-
|
|
112
|
-
Deletes a key out of the cache.
|
|
113
|
-
|
|
114
|
-
* `reset()`
|
|
115
|
-
|
|
116
|
-
Clear the cache entirely, throwing away all values.
|
|
117
|
-
|
|
118
|
-
* `has(key)`
|
|
119
|
-
|
|
120
|
-
Check if a key is in the cache, without updating the recent-ness
|
|
121
|
-
or deleting it for being stale.
|
|
122
|
-
|
|
123
|
-
* `forEach(function(value,key,cache), [thisp])`
|
|
124
|
-
|
|
125
|
-
Just like `Array.prototype.forEach`. Iterates over all the keys
|
|
126
|
-
in the cache, in order of recent-ness. (Ie, more recently used
|
|
127
|
-
items are iterated over first.)
|
|
128
|
-
|
|
129
|
-
* `rforEach(function(value,key,cache), [thisp])`
|
|
130
|
-
|
|
131
|
-
The same as `cache.forEach(...)` but items are iterated over in
|
|
132
|
-
reverse order. (ie, less recently used items are iterated over
|
|
133
|
-
first.)
|
|
134
|
-
|
|
135
|
-
* `keys()`
|
|
136
|
-
|
|
137
|
-
Return an array of the keys in the cache.
|
|
138
|
-
|
|
139
|
-
* `values()`
|
|
140
|
-
|
|
141
|
-
Return an array of the values in the cache.
|
|
142
|
-
|
|
143
|
-
* `length`
|
|
144
|
-
|
|
145
|
-
Return total length of objects in cache taking into account
|
|
146
|
-
`length` options function.
|
|
147
|
-
|
|
148
|
-
* `itemCount`
|
|
149
|
-
|
|
150
|
-
Return total quantity of objects currently in cache. Note, that
|
|
151
|
-
`stale` (see options) items are returned as part of this item
|
|
152
|
-
count.
|
|
153
|
-
|
|
154
|
-
* `dump()`
|
|
155
|
-
|
|
156
|
-
Return an array of the cache entries ready for serialization and usage
|
|
157
|
-
with 'destinationCache.load(arr)`.
|
|
158
|
-
|
|
159
|
-
* `load(cacheEntriesArray)`
|
|
160
|
-
|
|
161
|
-
Loads another cache entries array, obtained with `sourceCache.dump()`,
|
|
162
|
-
into the cache. The destination cache is reset before loading new entries
|
|
163
|
-
|
|
164
|
-
* `prune()`
|
|
165
|
-
|
|
166
|
-
Manually iterates over the entire cache proactively pruning old entries
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
The ISC License
|
|
2
|
-
|
|
3
|
-
Copyright (c) Isaac Z. Schlueter and Contributors
|
|
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.
|