Socket
Socket
Sign inDemoInstall

@trivikr-test/util-uri-escape

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@trivikr-test/util-uri-escape - npm Package Compare versions

Comparing version 3.55.0 to 3.170.0-es2015

2

dist-es/escape-uri-path.js
import { escapeUri } from "./escape-uri";
export var escapeUriPath = function (uri) { return uri.split("/").map(escapeUri).join("/"); };
export const escapeUriPath = (uri) => uri.split("/").map(escapeUri).join("/");

@@ -1,4 +0,2 @@

export var escapeUri = function (uri) {
return encodeURIComponent(uri).replace(/[!'()*]/g, hexEncode);
};
var hexEncode = function (c) { return "%".concat(c.charCodeAt(0).toString(16).toUpperCase()); };
export const escapeUri = (uri) => encodeURIComponent(uri).replace(/[!'()*]/g, hexEncode);
const hexEncode = (c) => `%${c.charCodeAt(0).toString(16).toUpperCase()}`;
export declare const escapeUriPath: (uri: string) => string;
export declare const escapeUri: (uri: string) => string;
export * from "./escape-uri";
export * from "./escape-uri-path";
{
"name": "@trivikr-test/util-uri-escape",
"version": "3.55.0",
"version": "3.170.0-es2015",
"scripts": {

@@ -8,2 +8,3 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",

"build:es": "tsc -p tsconfig.es.json",
"build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
"build:types": "tsc -p tsconfig.types.json",

@@ -47,3 +48,3 @@ "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",

"concurrently": "7.0.0",
"downlevel-dts": "0.7.0",
"downlevel-dts": "0.10.1",
"rimraf": "3.0.2",

@@ -50,0 +51,0 @@ "typedoc": "0.19.2",

@@ -1,10 +0,1 @@

# @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-sdk/util-uri-escape)
> An internal package
## Usage
You probably shouldn't, at least directly.
Please refer [README.md](https://github.com/aws/aws-sdk-js-v3/blob/v3.170.0/packages/util-uri-escape/README.md) for v3.170.0.
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc