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

@paradisekelechi/console-package

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@paradisekelechi/console-package - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

42

index.js

@@ -1,4 +0,40 @@

exports.main = function () {
console.log('Here is the message we are waiting for');
};
import { PolymerElement, html } from "@polymer/polymer";
// import { MutableData } from "../../../node_modules/@polymer/polymer/lib/mixins/mutable-data.js";
// import "../../../node_modules/@polymer/polymer/lib/elements/dom-repeat.js";
// import "../styles/rgb-style.js";
/**
* `gd2-test-element`
* Geodak2 test element
*
* @customElement
* @polymer
*/
class Gd2TestElement extends PolymerElement {
static get template() {
return html([`
<style include="rgb-style">
.gm-color {
color: var(--gm-primary-color, black);
font-weight: 600;
}
</style>
<h2 class="blue">Geodak2 Polymer integration test object</h2>
<div class="gm-color">Subcomplex ID: [[subcomplexId]]</div>
<div>Aantal adressen: {{subcomplex.addresses.length}}</div>
<div>Adressen:
<ul>
<template is='dom-repeat' items='{{subcomplex.addresses}}' mutable-data>
<li>[[item.id]]</li>
</template>
</ul>
</div>
<button on-click="__addAddress">Voeg adres toe</button>
<button on-click="__changeSubcomplexId">Verander subcomplex ID</button>
`])
}
static get is() { return "gd2-test-element" }
static get properties() { return { subcomplexId: { value: "", type: String, reflectToAttribute: !0 }, subcomplex: { value: {}, type: Object, notify: !0, reflectToAttribute: !0 }, subcomplexString: { type: String, notify: !0, reflectToAttribute: !0 }, __addValue: { value: 1, type: Number, readOnly: !0 }, _newValue: { value: 567, type: Number, readOnly: !0 } } } __addAddress() { this.push("subcomplex.addresses", { id: this._newValue }); this._set_newValue(this._newValue + this.__addValue) } __changeSubcomplexId() { this.subcomplexId = "ID_NEW" } _subcomplexChanged(changeRecord) { this.subcomplexString = JSON.stringify(this.subcomplex); this.dispatchEvent(new CustomEvent("gd2-subcomplex-change", { bubbles: !0, composed: !0, detail: { subcomplex: this.subcomplex } })) } static get observers() { return ["_subcomplexChanged(subcomplex.*)"] }
}
window.customElements.define(Gd2TestElement.is, Gd2TestElement);

7

package.json
{
"name": "@paradisekelechi/console-package",
"version": "1.0.0",
"version": "1.1.0",
"description": "test console package",

@@ -10,3 +10,6 @@ "main": "index.js",

"author": "",
"license": "ISC"
"license": "ISC",
"dependencies": {
"@polymer/polymer": "^3.3.0"
}
}
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