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

@hongkongnoit/hongkongnoit

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hongkongnoit/hongkongnoit - npm Package Compare versions

Comparing version 1.0.3 to 1.0.5

8

dist/index.d.ts

@@ -1,10 +0,4 @@

/**
* @class ExampleComponent
*/
import * as React from 'react';
export declare type Props = {
text: string;
};
export default class ExampleComponent extends React.Component<Props> {
export default class 香港 extends React.Component<any> {
render(): JSX.Element;
}

@@ -1,2 +0,2 @@

import { createElement, Component } from 'react';
import { createElement, Fragment, Component } from 'react';

@@ -32,51 +32,14 @@ /*! *****************************************************************************

function styleInject(css, ref) {
if ( ref === void 0 ) ref = {};
var insertAt = ref.insertAt;
if (!css || typeof document === 'undefined') { return; }
var head = document.head || document.getElementsByTagName('head')[0];
var style = document.createElement('style');
style.type = 'text/css';
if (insertAt === 'top') {
if (head.firstChild) {
head.insertBefore(style, head.firstChild);
} else {
head.appendChild(style);
}
} else {
head.appendChild(style);
}
if (style.styleSheet) {
style.styleSheet.cssText = css;
} else {
style.appendChild(document.createTextNode(css));
}
}
var css = "/* add css styles here (optional) */\n\n.styles_test__32Qsm {\n display: inline-block;\n margin: 2em auto;\n border: 2px solid #000;\n font-size: 2em;\n}\n";
var styles = {"test":"styles_test__32Qsm"};
styleInject(css);
/**
* @class ExampleComponent
*/
var ExampleComponent = /** @class */ (function (_super) {
__extends(ExampleComponent, _super);
function ExampleComponent() {
var 香港 = /** @class */ (function (_super) {
__extends(香港, _super);
function 香港() {
return _super !== null && _super.apply(this, arguments) || this;
}
ExampleComponent.prototype.render = function () {
var text = this.props.text;
return (createElement("div", { className: styles.test },
"Example Component: ",
text));
香港.prototype.render = function () {
return createElement(Fragment, null, "IT:)");
};
return ExampleComponent;
return 香港;
}(Component));
export default ExampleComponent;
export default 香港;
//# sourceMappingURL=index.es.js.map

@@ -36,51 +36,14 @@ 'use strict';

function styleInject(css, ref) {
if ( ref === void 0 ) ref = {};
var insertAt = ref.insertAt;
if (!css || typeof document === 'undefined') { return; }
var head = document.head || document.getElementsByTagName('head')[0];
var style = document.createElement('style');
style.type = 'text/css';
if (insertAt === 'top') {
if (head.firstChild) {
head.insertBefore(style, head.firstChild);
} else {
head.appendChild(style);
}
} else {
head.appendChild(style);
}
if (style.styleSheet) {
style.styleSheet.cssText = css;
} else {
style.appendChild(document.createTextNode(css));
}
}
var css = "/* add css styles here (optional) */\n\n.styles_test__32Qsm {\n display: inline-block;\n margin: 2em auto;\n border: 2px solid #000;\n font-size: 2em;\n}\n";
var styles = {"test":"styles_test__32Qsm"};
styleInject(css);
/**
* @class ExampleComponent
*/
var ExampleComponent = /** @class */ (function (_super) {
__extends(ExampleComponent, _super);
function ExampleComponent() {
var 香港 = /** @class */ (function (_super) {
__extends(香港, _super);
function 香港() {
return _super !== null && _super.apply(this, arguments) || this;
}
ExampleComponent.prototype.render = function () {
var text = this.props.text;
return (React.createElement("div", { className: styles.test },
"Example Component: ",
text));
香港.prototype.render = function () {
return React.createElement(React.Fragment, null, "IT:)");
};
return ExampleComponent;
return 香港;
}(React.Component));
exports.default = ExampleComponent;
exports.default = 香港;
//# sourceMappingURL=index.js.map

2

package.json
{
"name": "@hongkongnoit/hongkongnoit",
"version": "1.0.3",
"version": "1.0.5",
"description": "Hong Kong no IT (香港做IT食得屎)\n二世祖金融佬鳩吹呃創投基金發大達",

@@ -5,0 +5,0 @@ "author": "",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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