Socket
Socket
Sign inDemoInstall

@aws-sdk/util-uri-escape

Package Overview
Dependencies
1
Maintainers
5
Versions
56
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @aws-sdk/util-uri-escape

[![NPM version](https://img.shields.io/npm/v/@aws-sdk/util-uri-escape/latest.svg)](https://www.npmjs.com/package/@aws-sdk/util-uri-escape) [![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/util-uri-escape.svg)](https://www.npmjs.com/package/@aws-sd


Version published
Maintainers
5
Created

Package description

What is @aws-sdk/util-uri-escape?

The @aws-sdk/util-uri-escape package is part of the AWS SDK for JavaScript and provides utilities for encoding and decoding URI components. It's specifically designed to handle the quirks of URI encoding in a way that's compatible with AWS service expectations. This can be particularly useful when working with AWS services that require specific encoding of URIs for API requests.

What are @aws-sdk/util-uri-escape's main functionalities?

URI encoding

This feature allows you to encode URI components to ensure they are safe to transmit over the network. It is particularly useful for encoding paths and query parameters that may contain characters which have special meanings in URIs.

"import { escapeUri } from '@aws-sdk/util-uri-escape';\nconst encodedUri = escapeUri('/path/to resource?queryParam=value');"

URI decoding

This feature enables the decoding of URI components. It's useful for parsing encoded URIs to retrieve the original data. This can be particularly important when handling encoded URIs received from web requests or other sources.

"import { unescapeUri } from '@aws-sdk/util-uri-escape';\nconst decodedUri = unescapeUri('%2Fpath%2Fto%20resource%3FqueryParam%3Dvalue');"

Other packages similar to @aws-sdk/util-uri-escape

Changelog

Source

3.183.0 (2022-10-03)

Bug Fixes

  • endpoint-discovery: delete failed cache entry in blocking operations (#4011) (c96ac94)

Features

  • client-accessanalyzer: AWS IAM Access Analyzer policy validation introduces new checks for role trust policies. As customers author a policy, IAM Access Analyzer policy validation evaluates the policy for any issues to make it easier for customers to author secure policies. (b7db053)
  • client-ec2: Adding an imdsSupport attribute to EC2 AMIs (7304adf)
  • client-snowball: Adds support for V3_5C. This is a refreshed AWS Snowball Edge Compute Optimized device type with 28TB SSD, 104 vCPU and 416GB memory (customer usable). (22500bf)
  • clients: update client endpoints as of 2022-10-03 (a285143)
  • codegen: add query compatible header error code handling for JSON protocols (#3972) (8fe1b54)

Readme

Source

@aws-sdk/util-uri-escape

NPM version NPM downloads

An internal package

Usage

You probably shouldn't, at least directly.

FAQs

Last updated on 03 Oct 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc