Socket
Socket
Sign inDemoInstall

@grammyjs/files

Package Overview
Dependencies
1
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.3 to 1.0.4

10

out/files.js

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

}
return deps_node_js_1.isAbsolutePath(path) ? path : linkBuilder(path);
return (0, deps_node_js_1.isAbsolutePath)(path) ? path : linkBuilder(path);
},

@@ -19,7 +19,7 @@ download: async (path) => {

if (path === undefined)
path = await deps_node_js_1.createTempFile();
if (deps_node_js_1.isAbsolutePath(url))
await deps_node_js_1.copyFile(url, path);
path = await (0, deps_node_js_1.createTempFile)();
if ((0, deps_node_js_1.isAbsolutePath)(url))
await (0, deps_node_js_1.copyFile)(url, path);
else
await deps_node_js_1.downloadFile(url, path);
await (0, deps_node_js_1.downloadFile)(url, path);
return path;

@@ -26,0 +26,0 @@ },

"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {

@@ -6,0 +10,0 @@ if (k2 === undefined) k2 = k;

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

if (res.ok && isFile(res.result)) {
files_js_1.installFileMethods(res.result, buildLink);
(0, files_js_1.installFileMethods)(res.result, buildLink);
}

@@ -34,0 +34,0 @@ return res;

{
"name": "@grammyjs/files",
"description": "Files plugin for grammY",
"version": "1.0.3",
"version": "1.0.4",
"author": "KnorpelSenf",

@@ -28,5 +28,5 @@ "license": "MIT",

"devDependencies": {
"@grammyjs/types": "^2.2.6",
"@types/node": "^16.6.1",
"deno2node": "0.8.0"
"@grammyjs/types": "^2.7.0",
"@types/node": "^17.0.24",
"deno2node": "1.3.0"
},

@@ -33,0 +33,0 @@ "files": [

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc