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.4.1 to 0.5.0

s/utils/file_io.ts

8

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

@@ -40,7 +40,7 @@ "license": "MIT",

"@types/shelljs": "^0.8.12",
"glob": "^10.3.0",
"glob": "^10.3.3",
"shelljs": "^0.8.5"
},
"devDependencies": {
"@types/node": "^20.3.2",
"@types/node": "^20.4.6",
"chokidar": "^3.5.3",

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

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

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

@@ -47,16 +47,16 @@

await build_all_webpages(
paths.templates,
await run_all_turtle_scripts(
paths.turtle_scripts,
output_directory,
context,
on_file_written,
on_turtle_script_executed,
)
await run_all_turtle_scripts(
paths.turtle_scripts,
await build_all_webpages(
paths.templates,
output_directory,
context,
on_file_written,
on_turtle_script_executed,
)
}

@@ -10,3 +10,3 @@

import {OutputLogger} from "../types/loggers.js"
import {write_file} from "../../utils/write_file.js"
import {write_file} from "../../utils/file_io.js"
import {TemplateBasics} from "../types/template_basics.js"

@@ -13,0 +13,0 @@

@@ -28,2 +28,3 @@

export * from "./utils/escape_regex.js"
export * from "./utils/file_io.js"
export * from "./utils/find_files.js"

@@ -34,3 +35,2 @@ export * from "./utils/indent.js"

export * from "./utils/repeat_string.js"
export * from "./utils/write_file.js"

@@ -12,5 +12,5 @@ import { find_files } from "../utils/find_files.js";

await copy_all_files(paths.copyables, output_directory, on_file_copied);
await run_all_turtle_scripts(paths.turtle_scripts, output_directory, on_file_written, on_turtle_script_executed);
await build_all_webpages(paths.templates, output_directory, context, on_file_written);
await run_all_turtle_scripts(paths.turtle_scripts, output_directory, on_file_written, on_turtle_script_executed);
}
//# sourceMappingURL=build_website.js.map

@@ -5,3 +5,3 @@ import { join, resolve } from "path";

import { PathRouter } from "./path/path_router.js";
import { write_file } from "../../utils/write_file.js";
import { write_file } from "../../utils/file_io.js";
export async function write_webpage({ path, context, destination, output_directory, template, on_file_written, }) {

@@ -8,0 +8,0 @@ const template_path = path.relative;

@@ -22,2 +22,3 @@ export * from "./build/parts/path/path_router.js";

export * from "./utils/escape_regex.js";
export * from "./utils/file_io.js";
export * from "./utils/find_files.js";

@@ -28,2 +29,1 @@ export * from "./utils/indent.js";

export * from "./utils/repeat_string.js";
export * from "./utils/write_file.js";

@@ -22,2 +22,3 @@ export * from "./build/parts/path/path_router.js";

export * from "./utils/escape_regex.js";
export * from "./utils/file_io.js";
export * from "./utils/find_files.js";

@@ -28,3 +29,2 @@ export * from "./utils/indent.js";

export * from "./utils/repeat_string.js";
export * from "./utils/write_file.js";
//# sourceMappingURL=index.js.map

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

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