Socket
Socket
Sign inDemoInstall

e8-flames

Package Overview
Dependencies
0
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.0.1

23

index.js
"use strict";
exports.__esModule = true;
exports.hello = void 0;
var worldx = 'world';
function hello(world) {
if (world === void 0) { world = worldx; }
return "Hello ".concat(world, "! ");
}
exports.hello = hello;
exports.Flames = void 0;
var Flames = /** @class */ (function () {
function Flames() {
this.yourName = '';
this.crushName = '';
}
Flames.prototype.addYourName = function (yourName) {
};
Flames.prototype.addYourCurshName = function (crushName) {
};
Flames.prototype.calc = function () {
console.log("".concat(this.yourName, " Loves ").concat(this.crushName));
};
return Flames;
}());
exports.Flames = Flames;

@@ -1,5 +0,13 @@

const worldx = 'world';
export class Flames {
private yourName: string = '';
private crushName: string = '';
addYourName(yourName: string) {
export function hello(world: string = worldx): string {
return `Hello ${world}! `;
}
addYourCurshName(crushName: string) {
}
calc() {
console.log(`${this.yourName} Loves ${this.crushName}`);
}
}
{
"name": "e8-flames",
"version": "1.0.0",
"version": "1.0.1",
"description": "crush compatibility calculator",

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

```
npx tsc index.ts
npm publish --access public
```
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc