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

pt-plugin

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pt-plugin - npm Package Compare versions

Comparing version

to
1.4.0

4

build/index.js

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

PtPlugin = (0, tslib_1.__decorate)([
(0, typedi_1.Service)()
(0, typedi_1.Service)("PtPlugin")
], PtPlugin);
exports.PtPlugin = PtPlugin;
console.log(`PtPlugin injected: ${typedi_1.Container.has(PtPlugin)}`);
console.log(`PtPlugin injected: ${typedi_1.Container.has("PtPlugin")}`);
//# sourceMappingURL=index.js.map
{
"name": "pt-plugin",
"version": "1.3.0",
"version": "1.4.0",
"description": "",

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

import "reflect-metadata";
import { Container, Service } from "typedi";
@Service()
@Service("PtPlugin")
export class PtPlugin {

@@ -11,2 +11,2 @@ foo() {

console.log(`PtPlugin injected: ${Container.has(PtPlugin)}`);
console.log(`PtPlugin injected: ${Container.has("PtPlugin")}`);

Sorry, the diff of this file is not supported yet