@static-pages/core 7.0.0 → 7.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +2 -2
  2. package/index.cjs +1 -2
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  [![Build Status](https://github.com/staticpagesjs/core/actions/workflows/build.yaml/badge.svg)](https://github.com/staticpagesjs/core/actions/workflows/build.yaml)
4
4
  [![Coverage Status](https://coveralls.io/repos/github/staticpagesjs/core/badge.svg?branch=master)](https://coveralls.io/github/staticpagesjs/core?branch=master)
5
5
  ![npms.io (quality)](https://img.shields.io/npms-io/quality-score/@static-pages/core?label=quality)
6
- ![Maintenance](https://img.shields.io/maintenance/yes/2024)
6
+ ![Maintenance](https://img.shields.io/maintenance/yes/2025)
7
7
 
8
8
  Yet another static pages generator?
9
9
  Yes! Because I browsed the whole jamstack scene, but could not find one which
@@ -17,7 +17,7 @@ Yes! Because I browsed the whole jamstack scene, but could not find one which
17
17
 
18
18
  And because I wrote a ton of custom static generators before; I tought I can improve the concepts to a point where its (hopefully) useful for others.
19
19
 
20
- This project is structured as a toolkit split to many packages, published under the [@static-pages](https://www.npmjs.com/search?q=%40static-pages) namespace on NPM.
20
+ This project is structured as a toolkit split to many packages, published under the [@static-pages](https://www.npmjs.com/org/static-pages) namespace on NPM.
21
21
  In most cases you should not use this core package directly, but the [@static-pages/starter](https://www.npmjs.com/package/@static-pages/starter) is a good point to begin with.
22
22
 
23
23
  ## Where should I use this?
package/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.staticPages = void 0;
3
+ exports.staticPages = staticPages;
4
4
  const isIterable = (x) => !!x && typeof x === 'object' && typeof x[Symbol.iterator] === 'function';
5
5
  const isAsyncIterable = (x) => !!x && typeof x === 'object' && typeof x[Symbol.asyncIterator] === 'function';
6
6
  const getType = (x) => typeof x === 'object' ? (x ? (Array.isArray(x) ? 'array' : 'object') : 'null') : typeof x;
@@ -28,5 +28,4 @@ async function staticPages(...routes) {
28
28
  }
29
29
  }
30
30
  }
31
- exports.staticPages = staticPages;
32
31
  exports.default = staticPages;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@static-pages/core",
3
- "version": "7.0.0",
3
+ "version": "7.0.2",
4
4
  "description": "General purpose static pages renderer.",
5
5
  "main": "./index.cjs",
6
6
  "module": "./index.mjs",