Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@operato/utils

Package Overview
Dependencies
Maintainers
5
Versions
194
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@operato/utils - npm Package Compare versions

Comparing version 1.4.5 to 1.4.23

9

CHANGELOG.md

@@ -6,2 +6,11 @@ # Change Log

### [1.4.23](https://github.com/hatiolab/operato/compare/v1.4.22...v1.4.23) (2023-08-09)
### :bug: Bug Fix
* configurable context-path-prefix ([5ca743c](https://github.com/hatiolab/operato/commit/5ca743ce6e311f8ad4d7ea951a8d62563e3f4215))
### [1.4.5](https://github.com/hatiolab/operato/compare/v1.4.4...v1.4.5) (2023-07-22)

@@ -8,0 +17,0 @@

1

dist/src/context-path.d.ts

@@ -7,1 +7,2 @@ export declare function getPathInfo(pathname: string): {

};
export declare function setContextPathPrefix(contextPathPrefix: string): void;

5

dist/src/context-path.js

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

const CONTEXT_PATH_PREFIX = 'domain|business';
var CONTEXT_PATH_PREFIX = 'domain|business';
export function getPathInfo(pathname) {

@@ -16,2 +16,5 @@ var regexp = new RegExp(`(/(${CONTEXT_PATH_PREFIX})/([^/]+))?(/?.*)`);

}
export function setContextPathPrefix(contextPathPrefix) {
CONTEXT_PATH_PREFIX = contextPathPrefix || 'domain|business';
}
//# sourceMappingURL=context-path.js.map

@@ -5,3 +5,3 @@ {

"author": "heartyoh",
"version": "1.4.5",
"version": "1.4.23",
"main": "dist/src/index.js",

@@ -121,3 +121,3 @@ "module": "dist/src/index.js",

},
"gitHead": "d6f31f363ee5aabb2420203477da6206f8ebeeed"
"gitHead": "f490c222495c17c7e60103ed225a81ca3bbaf02b"
}

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

const CONTEXT_PATH_PREFIX = 'domain|business'
var CONTEXT_PATH_PREFIX = 'domain|business'

@@ -18,1 +18,5 @@ export function getPathInfo(pathname: string) {

}
export function setContextPathPrefix(contextPathPrefix: string) {
CONTEXT_PATH_PREFIX = contextPathPrefix || 'domain|business'
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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