CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-aws-sdk--client-sts

AWS SDK for JavaScript STS Client for Node.js, Browser and React Native, providing temporary security credentials and role assumption capabilities

92

1.05x
Quality

Pending

Does it follow best practices?

Impact

92%

1.05x

Average score across 10 eval scenarios

SecuritybySnyk

Pending

The risk profile of this skill

Overview
Eval results
Files

criteria.jsonevals/scenario-1/

{
  "context": "This criteria evaluates how well the engineer uses the @aws-sdk/util-dynamodb package to convert between JavaScript objects and DynamoDB AttributeValue format. The focus is on proper usage of marshall() and unmarshall() functions along with their configuration options.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses marshall function",
      "description": "The convertToStorage function uses the marshall() function from @aws-sdk/util-dynamodb to convert JavaScript objects to DynamoDB AttributeValue format.",
      "max_score": 25
    },
    {
      "name": "Uses unmarshall function",
      "description": "The convertFromStorage function uses the unmarshall() function from @aws-sdk/util-dynamodb to convert DynamoDB AttributeValue format back to JavaScript objects.",
      "max_score": 25
    },
    {
      "name": "Handles undefined values",
      "description": "The implementation uses the removeUndefinedValues option when calling marshall() to properly handle undefined values in the input object.",
      "max_score": 20
    },
    {
      "name": "Handles empty strings",
      "description": "The implementation uses the convertEmptyValues option when calling marshall() to properly handle empty strings according to the test requirements.",
      "max_score": 20
    },
    {
      "name": "Proper package import",
      "description": "The code correctly imports marshall and unmarshall functions from @aws-sdk/util-dynamodb package.",
      "max_score": 10
    }
  ]
}

tile.json