New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@lwrjs/shared-utils

Package Overview
Dependencies
Maintainers
5
Versions
527
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lwrjs/shared-utils - npm Package Compare versions

Comparing version

to
0.17.2-alpha.4

1

build/es/urls.d.ts

@@ -41,2 +41,3 @@ import type { I18NConfig, RuntimeEnvironment, RuntimeParams, ViewRequestQs } from '@lwrjs/types';

export declare function crossEnvFileURL(url: string): string;
export declare function getHostWithoutPort(forwardedHost: string): string;
//# sourceMappingURL=urls.d.ts.map

@@ -142,2 +142,5 @@ import { pathToRegexp } from 'path-to-regexp';

}
export function getHostWithoutPort(forwardedHost) {
return forwardedHost.replace(/:(\d+)(?=[/.]|$)/, '');
}
//# sourceMappingURL=urls.js.map

8

package.json

@@ -7,3 +7,3 @@ {

},
"version": "0.17.2-alpha.3",
"version": "0.17.2-alpha.4",
"homepage": "https://developer.salesforce.com/docs/platform/lwr/overview",

@@ -41,3 +41,3 @@ "repository": {

"dependencies": {
"@lwrjs/diagnostics": "0.17.2-alpha.3",
"@lwrjs/diagnostics": "0.17.2-alpha.4",
"es-module-lexer": "^1.5.4",

@@ -55,3 +55,3 @@ "fast-json-stable-stringify": "^2.1.0",

"devDependencies": {
"@lwrjs/types": "0.17.2-alpha.3",
"@lwrjs/types": "0.17.2-alpha.4",
"@types/mime-types": "2.1.4",

@@ -64,3 +64,3 @@ "@types/path-to-regexp": "^1.7.0",

},
"gitHead": "43757693dfca356cff105d4896a7a3cbf11ac017"
"gitHead": "d7fb1605cec0bf9fef18e3daeb17dc28b35a80d3"
}

Sorry, the diff of this file is not supported yet