Socket
Socket
Sign inDemoInstall

natural-web

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

natural-web - npm Package Compare versions

Comparing version 0.0.8 to 0.0.9

6

dist/renderer/html/elements/list.js
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var btoa_1 = __importDefault(require("btoa"));
var __1 = require("..");
function renderList(element) {
var randomId = btoa(JSON.stringify(element)).substr(0, 16);
var randomId = btoa_1.default(JSON.stringify(element)).substr(0, 16);
var content = "<ui style=\"list-style: none;\" id=\"" + randomId + "\"";

@@ -7,0 +11,0 @@ if (element.classes.length > 0) {

{
"name": "natural-web",
"version": "0.0.8",
"version": "0.0.9",
"license": "MIT",
"contributors": [
{ "name": "Cameron Cooper", "email": "cameron@cameron.pw" }
{
"name": "Cameron Cooper",
"email": "cameron@cameron.pw"
}
],

@@ -13,4 +16,8 @@ "main": "dist/index.js",

"devDependencies": {
"@types/btoa": "^1.2.3",
"typescript": "^4.1.2"
},
"dependencies": {
"btoa": "^1.2.1"
}
}
import { HtmlListElement } from "../../../types/html/HtmlListElement";
import btoa from 'btoa';
import { renderHTML } from "..";

@@ -3,0 +4,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