🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@smithy/util-endpoints

Package Overview
Dependencies
Maintainers
3
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@smithy/util-endpoints - npm Package Compare versions

Comparing version
3.2.9
to
3.3.0
+1
-1
dist-cjs/index.js

@@ -191,3 +191,3 @@ 'use strict';

const substring = (input, start, stop, reverse) => {
if (start >= stop || input.length < stop) {
if (start >= stop || input.length < stop || /[^\u0000-\u007f]/.test(input)) {
return null;

@@ -194,0 +194,0 @@ }

export const substring = (input, start, stop, reverse) => {
if (start >= stop || input.length < stop) {
if (start >= stop || input.length < stop || /[^\u0000-\u007f]/.test(input)) {
return null;

@@ -4,0 +4,0 @@ }

{
"name": "@smithy/util-endpoints",
"version": "3.2.9",
"version": "3.3.0",
"description": "Utilities to help with endpoint resolution.",

@@ -5,0 +5,0 @@ "main": "./dist-cjs/index.js",