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

@benev/turtle

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@benev/turtle - npm Package Compare versions

Comparing version 0.5.0 to 0.5.1

10

package.json
{
"name": "@benev/turtle",
"version": "0.5.0",
"version": "0.5.1",
"description": "static site generator",

@@ -39,8 +39,8 @@ "license": "MIT",

"@benev/argv": "^0.1.0",
"@types/shelljs": "^0.8.12",
"glob": "^10.3.3",
"@types/shelljs": "^0.8.14",
"glob": "^10.3.10",
"shelljs": "^0.8.5"
},
"devDependencies": {
"@types/node": "^20.4.6",
"@types/node": "^20.8.8",
"chokidar": "^3.5.3",

@@ -51,3 +51,3 @@ "chokidar-cli": "^3.0.0",

"npm-run-all": "^4.1.5",
"typescript": "^5.1.6"
"typescript": "^5.2.2"
},

@@ -54,0 +54,0 @@ "keywords": [

@@ -12,3 +12,3 @@ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {

};
var _Html_instances, _Html_strings, _Html_values, _Html_process_value, _Html_process_async_value;
var _Html_instances, _a, _Html_strings, _Html_values, _Html_process_value, _Html_process_async_value;
import { escape_html } from "../utils/escape_html.js";

@@ -25,4 +25,4 @@ export class Html {

return __classPrivateFieldGet(this, _Html_strings, "f").reduce((previous, current, index) => {
var _a;
const value = (_a = __classPrivateFieldGet(this, _Html_values, "f")[index]) !== null && _a !== void 0 ? _a : "";
var _b;
const value = (_b = __classPrivateFieldGet(this, _Html_values, "f")[index]) !== null && _b !== void 0 ? _b : "";
const safeValue = Array.isArray(value)

@@ -36,4 +36,4 @@ ? value.map(__classPrivateFieldGet(this, _Html_instances, "m", _Html_process_value)).join("")

const results = await Promise.all(__classPrivateFieldGet(this, _Html_strings, "f").map(async (string, index) => {
var _a;
const value = (_a = await __classPrivateFieldGet(this, _Html_values, "f")[index]) !== null && _a !== void 0 ? _a : "";
var _b;
const value = (_b = await __classPrivateFieldGet(this, _Html_values, "f")[index]) !== null && _b !== void 0 ? _b : "";
const safeValue = Array.isArray(value)

@@ -47,8 +47,8 @@ ? (await Promise.all(value.map(__classPrivateFieldGet(this, _Html_instances, "m", _Html_process_async_value)))).join("")

}
_Html_strings = new WeakMap(), _Html_values = new WeakMap(), _Html_instances = new WeakSet(), _Html_process_value = function _Html_process_value(value) {
return value instanceof Html
_a = Html, _Html_strings = new WeakMap(), _Html_values = new WeakMap(), _Html_instances = new WeakSet(), _Html_process_value = function _Html_process_value(value) {
return value instanceof _a
? value.toString()
: escape_html(value.toString());
}, _Html_process_async_value = async function _Html_process_async_value(value) {
return value instanceof Html
return value instanceof _a
? await value.render()

@@ -55,0 +55,0 @@ : escape_html(value.toString());

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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