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

@perfsee/utils

Package Overview
Dependencies
Maintainers
3
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@perfsee/utils - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

7

CHANGELOG.md

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

# [1.1.0](https://github.com/perfsee/perfsee/compare/v1.0.0...v1.1.0) (2022-11-04)
### Features
- **platform-server:** impl application config and settings ([87432b5](https://github.com/perfsee/perfsee/commit/87432b584f967b75d4858b4c105a5b796ebf478d))
- **platform:** adapt frontend with application settings ([233a8f2](https://github.com/perfsee/perfsee/commit/233a8f2fb09ef50534428fdb3a66dfd9fbb5cc01))
# [1.0.0](https://github.com/perfsee/perfsee/compare/v1.0.0-alpha.4...v1.0.0) (2022-10-18)

@@ -8,0 +15,0 @@

4

dist/git/host.d.ts
export declare enum GitHost {
Unknown = "Unknown",
Github = "Github",

@@ -16,2 +17,3 @@ Gitlab = "Gitlab"

Gitlab: string;
Unknown: string;
};

@@ -31,2 +33,2 @@ export declare class CommonGitHost implements IGitHost {

}
export declare function gitHostFromDomain(domainOrHost: string): GitHost | undefined;
export declare function gitHostFromDomain(domainOrHost: string): GitHost;

@@ -21,2 +21,3 @@ "use strict";

(function (GitHost) {
GitHost["Unknown"] = "Unknown";
GitHost["Github"] = "Github";

@@ -28,6 +29,7 @@ GitHost["Gitlab"] = "Gitlab";

[GitHost.Gitlab]: 'gitlab.com',
[GitHost.Unknown]: 'unknown-git-host.com',
};
class CommonGitHost {
constructor(project) {
this.path = `${exports.hostDomains[project.host]}/${project.namespace}/${project.name}`;
this.path = `${exports.hostDomains[project.host] ?? ''}/${project.namespace}/${project.name}`;
}

@@ -62,4 +64,5 @@ repoUrl() {

}
return GitHost.Unknown;
}
exports.gitHostFromDomain = gitHostFromDomain;
//# sourceMappingURL=host.js.map
{
"name": "@perfsee/utils",
"version": "1.0.0",
"version": "1.1.0",
"description": "utilities function of perfsee platform",

@@ -20,3 +20,3 @@ "main": "dist/index.js",

},
"gitHead": "16ce49447f62f2365d564bf36aaa84fd91469760"
"gitHead": "4b292cbcac782e08c311539be876419870600c7d"
}

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