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

@fnmain/aliyun

Package Overview
Dependencies
Maintainers
0
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fnmain/aliyun - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

2

dist/index.d.ts

@@ -25,4 +25,4 @@ import OSS from "ali-oss";

}
export declare function getFileExtension(filePath: string, includeDot?: boolean): string | undefined;
export declare function getFileExtension(filePath: string, includeDot?: boolean): string;
export declare function getFileName(filePath: string): string | undefined;
//# sourceMappingURL=index.d.ts.map

@@ -49,3 +49,3 @@ "use strict";

}
return extension;
return extension || "";
}

@@ -52,0 +52,0 @@ exports.getFileExtension = getFileExtension;

{
"name": "@fnmain/aliyun",
"version": "1.1.0",
"version": "1.1.1",
"description": "aliyun utils",

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

@@ -52,3 +52,3 @@ import OSS from "ali-oss";

export function getFileExtension(filePath: string, includeDot = false) {
export function getFileExtension(filePath: string, includeDot = false): string {
let extension = filePath.split(".").pop();

@@ -58,3 +58,3 @@ if (includeDot) {

}
return extension;
return extension || "";
}

@@ -61,0 +61,0 @@

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