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

ssg-api

Package Overview
Dependencies
Maintainers
1
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ssg-api - npm Package Compare versions

Comparing version 1.13.2 to 1.13.3

6

CHANGELOG.md

@@ -8,2 +8,8 @@ # Change Log

## [1.13.3] - 2024-08-24
### Changed
- Use glob 11 instead of glob-promise.
## [1.13.2] - 2024-07-31

@@ -10,0 +16,0 @@

2

dist/src/OutputFunc.d.ts
import { SsgContext } from "./SsgContext.js";
import { FileContents } from "./util/index.js";
import { FileContents } from "./util";
export type OutputFunc = (context: SsgContext, outputFile: FileContents) => Promise<void>;
import { Logger } from "./Logger.js";
import { FileContents } from "./util/index.js";
import { FileContents } from "./util";
export interface SsgContext<V = any> extends Logger {

@@ -4,0 +4,0 @@ /**

import { SsgContext } from "./SsgContext.js";
import { Logger } from "./Logger.js";
import { FileContents } from "./util/index.js";
import { FileContents } from "./util";
export declare class SsgContextImpl<V = any> implements SsgContext<V> {

@@ -5,0 +5,0 @@ readonly locale: string;

import { ObjectUtil } from "./util/ObjectUtil.js";
import { ConsoleLogger } from "./ConsoleLogger.js";
import { FileContents, HtmlFileContents } from "./util/index.js";
import { FileContents, HtmlFileContents } from "./util";
import * as assert from "node:assert";

@@ -5,0 +5,0 @@ export class SsgContextImpl {

import fs from "fs";
import { promise as glob } from "glob-promise";
import { glob } from "glob";
/**

@@ -4,0 +4,0 @@ * A SsgStep that can perform replacements in files' contents.

import { SsgStep } from "./SsgStep.js";
import { IOptions } from "glob";
import { GlobOptionsWithFileTypesUnset } from "glob";
import { SsgConfig } from "../SsgConfig.js";

@@ -7,3 +7,3 @@ import { SsgContextImpl } from "../SsgContextImpl";

readonly sourcePatterns: string[];
readonly options?: IOptions;
readonly options?: GlobOptionsWithFileTypesUnset;
}

@@ -10,0 +10,0 @@ export type CopyStepResult = {

import * as process from "process";
import { FileUtil } from "../util/index.js";
import { FileUtil } from "../util";
/**

@@ -4,0 +4,0 @@ * Perform copies to out directory.

@@ -6,4 +6,4 @@ import * as fs from "fs";

import { readdir } from "fs/promises";
import { promise as glob } from "glob-promise";
import { FileContents } from "./FileContents";
import { glob } from "glob";
/**

@@ -10,0 +10,0 @@ * File utility functions

@@ -5,3 +5,3 @@ {

"author": "Jérôme Beau <javarome@gmail.com> (https://javarome.com)",
"version": "1.13.2",
"version": "1.13.3",
"description": "Static Site Generation TypeScript API",

@@ -29,11 +29,10 @@ "exports": "./dist/src/index.js",

"char-encoding-detector": "^0.0.9",
"glob-promise": "^6.0.7",
"jsdom": "^24.1.0"
"glob": "^11.0.0",
"jsdom": "^24.1.1"
},
"devDependencies": {
"@types/glob": "^8.1.0",
"@types/jsdom": "^21.1.7",
"typescript": "^5.5.3",
"typescript": "^5.5.4",
"uuid": "^10.0.0",
"tsx": "4.16.2",
"tsx": "4.17.0",
"@javarome/testscript": "^0.10.7"

@@ -40,0 +39,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