natural-web
Advanced tools
Comparing version 0.0.8 to 0.0.9
"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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
249108
6077
1
2
+ Addedbtoa@^1.2.1
+ Addedbtoa@1.2.1(transitive)