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

ts-telegraf-decorators

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-telegraf-decorators - npm Package Compare versions

Comparing version 0.2.5 to 0.2.6

build/src/utils.js

1

build/sample/app.js

@@ -14,2 +14,1 @@ "use strict";

}).startPolling();
console.log(src_1.MetadataArgsStorage.composerMetadata);

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

.filter(function (value) { return value.target.prototype == controller.target.prototype; }).map(function (value) { return container_1.getFromContainer(value.middleware); });
console.log('middlewareInstances', middlewareInstances);
if (controller.options.type == "controller")

@@ -30,0 +29,0 @@ buildController(bot, controller, controllerInstance, middlewareInstances);

{
"name": "ts-telegraf-decorators",
"version": "0.2.5",
"version": "0.2.6",
"author": "Ivan Surkov <panarama360@gmail.com>",

@@ -25,13 +25,13 @@ "main": "build/src/index.js",

"dependencies": {
"glob": "^7.1.4",
"glob": "^7.1.5",
"reflect-metadata": "^0.1.13",
"telegraf": "^3.32.0",
"telegraf": "^3.33.3",
"typedi": "^0.8.0"
},
"devDependencies": {
"@types/jest": "^24.0.18",
"@types/jest": "^24.0.21",
"jest": "^24.9.0",
"ts-jest": "^24.0.2",
"typescript": "^3.5.3"
"ts-jest": "^24.1.0",
"typescript": "^3.6.4"
}
}

@@ -14,3 +14,1 @@ import 'reflect-metadata'

}).startPolling()
console.log(MetadataArgsStorage.composerMetadata);

@@ -29,3 +29,2 @@ import {IBotOptions} from "./interfaces/IBotOptions";

.filter(value => value.target.prototype == controller.target.prototype).map(value => getFromContainer<TFIMiddleware>(value.middleware));
console.log('middlewareInstances', middlewareInstances);
if (controller.options.type == "controller")

@@ -32,0 +31,0 @@ buildController(bot, controller, controllerInstance, middlewareInstances);

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