@power-plant/unstorage-input 0.0.91 → 0.0.93

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.
package/README.md CHANGED
@@ -5,9 +5,9 @@
5
5
 
6
6
  <div align="center">
7
7
  <picture>
8
- <source media="(prefers-color-scheme: dark)" srcset="https://public.storm-cdn.com/power-plant/media/banner-1280x640-dark.gif">
9
- <source media="(prefers-color-scheme: light)" srcset="https://public.storm-cdn.com/power-plant/media/banner-1280x640-light.gif">
10
- <img src="https://public.storm-cdn.com/power-plant/media/banner-1280x640-dark.gif" width="100%" alt="Power Plant" />
8
+ <source media="(prefers-color-scheme: dark)" srcset="https://public.storm-cdn.com/power-plant/media/banner-1280x427-dark.gif">
9
+ <source media="(prefers-color-scheme: light)" srcset="https://public.storm-cdn.com/power-plant/media/banner-1280x427-light.gif">
10
+ <img src="https://public.storm-cdn.com/power-plant/media/banner-1280x427-dark.gif" width="100%" alt="Power Plant" />
11
11
  </picture>
12
12
  </div>
13
13
  <br />
@@ -33,7 +33,7 @@ The Power Plant monorepo is a collection of packages that are designed to work t
33
33
 
34
34
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
35
35
 
36
- [![Version](https://img.shields.io/badge/version-0.0.22-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://docs.stormsoftware.com/projects/power-plant)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/power-plant/release.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
36
+ [![Version](https://img.shields.io/badge/version-0.0.92-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://docs.stormsoftware.com/projects/power-plant)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/power-plant/release.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
37
37
 
38
38
  <!-- prettier-ignore-start -->
39
39
  <!-- markdownlint-disable -->
package/dist/index.cjs CHANGED
@@ -1 +1 @@
1
- const e=require("./input.cjs");let t=require("@power-plant/core"),n=require("@stryke/type-checks/is-string"),r=require("@stryke/type-checks/is-url"),i=require("@stryke/resolve/type-checks");var a=(0,t.defineInput)({meta:{name:`unstorage-input`,description:`An input extension that reads the specification from an Unstorage driver.`,readFrom:(e,t)=>`Reads the ${e.name?`${e.name} `:``}specification from the file "${(0,n.isString)(t.inputPath)?t.inputPath:(0,r.isURL)(t.inputPath)?t.inputPath.toString():(0,i.isFileReference)(t.inputPath)?t.inputPath.file:`Unknown Type`}"${t.inputStorage&&t.inputStorage.getMount((0,n.isString)(t.inputPath)?t.inputPath:(0,r.isURL)(t.inputPath)?t.inputPath.toString():(0,i.isFileReference)(t.inputPath)?t.inputPath.file:void 0)?.driver.name?` using the "${t.inputStorage.getMount((0,n.isString)(t.inputPath)?t.inputPath:(0,r.isURL)(t.inputPath)?t.inputPath.toString():(0,i.isFileReference)(t.inputPath)?t.inputPath.file:void 0)?.driver.name}" Unstorage driver`:``}.`,version:`0.0.91`,tags:[`unstorage`,`input`],links:[{href:`https://unstorage.unjs.io`,description:`Unstorage documentation`},{href:`https://unstorage.unjs.io/drivers`,description:`Unstorage Drivers documentation`},{href:`https://github.com/unjs/unstorage`,description:`Unstorage GitHub repository`}]},input:e.input});module.exports=a;
1
+ const e=require("./input.cjs");let t=require("@power-plant/core"),n=require("@stryke/type-checks/is-string"),r=require("@stryke/type-checks/is-url"),i=require("@stryke/resolve/type-checks");var a=(0,t.defineInput)({meta:{name:`unstorage-input`,description:`An input extension that reads the specification from an Unstorage driver.`,readFrom:(e,t)=>`Reads the ${e.name?`${e.name} `:``}specification from the file "${(0,n.isString)(t.inputPath)?t.inputPath:(0,r.isURL)(t.inputPath)?t.inputPath.toString():(0,i.isFileReference)(t.inputPath)?t.inputPath.file:`Unknown Type`}"${t.inputStorage&&t.inputStorage.getMount((0,n.isString)(t.inputPath)?t.inputPath:(0,r.isURL)(t.inputPath)?t.inputPath.toString():(0,i.isFileReference)(t.inputPath)?t.inputPath.file:void 0)?.driver.name?` using the "${t.inputStorage.getMount((0,n.isString)(t.inputPath)?t.inputPath:(0,r.isURL)(t.inputPath)?t.inputPath.toString():(0,i.isFileReference)(t.inputPath)?t.inputPath.file:void 0)?.driver.name}" Unstorage driver`:``}.`,version:`0.0.93`,tags:[`unstorage`,`input`],links:[{href:`https://unstorage.unjs.io`,description:`Unstorage documentation`},{href:`https://unstorage.unjs.io/drivers`,description:`Unstorage Drivers documentation`},{href:`https://github.com/unjs/unstorage`,description:`Unstorage GitHub repository`}]},input:e.input});module.exports=a;
package/dist/index.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import{input as e}from"./input.mjs";import{defineInput as t}from"@power-plant/core";import{isString as n}from"@stryke/type-checks/is-string";import{isURL as r}from"@stryke/type-checks/is-url";import{isFileReference as i}from"@stryke/resolve/type-checks";var a=t({meta:{name:`unstorage-input`,description:`An input extension that reads the specification from an Unstorage driver.`,readFrom:(e,t)=>`Reads the ${e.name?`${e.name} `:``}specification from the file "${n(t.inputPath)?t.inputPath:r(t.inputPath)?t.inputPath.toString():i(t.inputPath)?t.inputPath.file:`Unknown Type`}"${t.inputStorage&&t.inputStorage.getMount(n(t.inputPath)?t.inputPath:r(t.inputPath)?t.inputPath.toString():i(t.inputPath)?t.inputPath.file:void 0)?.driver.name?` using the "${t.inputStorage.getMount(n(t.inputPath)?t.inputPath:r(t.inputPath)?t.inputPath.toString():i(t.inputPath)?t.inputPath.file:void 0)?.driver.name}" Unstorage driver`:``}.`,version:`0.0.91`,tags:[`unstorage`,`input`],links:[{href:`https://unstorage.unjs.io`,description:`Unstorage documentation`},{href:`https://unstorage.unjs.io/drivers`,description:`Unstorage Drivers documentation`},{href:`https://github.com/unjs/unstorage`,description:`Unstorage GitHub repository`}]},input:e});export{a as default};
1
+ import{input as e}from"./input.mjs";import{defineInput as t}from"@power-plant/core";import{isString as n}from"@stryke/type-checks/is-string";import{isURL as r}from"@stryke/type-checks/is-url";import{isFileReference as i}from"@stryke/resolve/type-checks";var a=t({meta:{name:`unstorage-input`,description:`An input extension that reads the specification from an Unstorage driver.`,readFrom:(e,t)=>`Reads the ${e.name?`${e.name} `:``}specification from the file "${n(t.inputPath)?t.inputPath:r(t.inputPath)?t.inputPath.toString():i(t.inputPath)?t.inputPath.file:`Unknown Type`}"${t.inputStorage&&t.inputStorage.getMount(n(t.inputPath)?t.inputPath:r(t.inputPath)?t.inputPath.toString():i(t.inputPath)?t.inputPath.file:void 0)?.driver.name?` using the "${t.inputStorage.getMount(n(t.inputPath)?t.inputPath:r(t.inputPath)?t.inputPath.toString():i(t.inputPath)?t.inputPath.file:void 0)?.driver.name}" Unstorage driver`:``}.`,version:`0.0.93`,tags:[`unstorage`,`input`],links:[{href:`https://unstorage.unjs.io`,description:`Unstorage documentation`},{href:`https://unstorage.unjs.io/drivers`,description:`Unstorage Drivers documentation`},{href:`https://github.com/unjs/unstorage`,description:`Unstorage GitHub repository`}]},input:e});export{a as default};
2
2
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","names":[],"sources":[],"mappings":""}
1
+ {"version":3,"file":"index.mjs","names":["packageJson.version","src_default","defineInput","spec","isString","options","isURL","isFileReference"],"sources":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"input.mjs","names":[],"sources":[],"mappings":""}
1
+ {"version":3,"file":"input.mjs","names":["fsLite","input","rest","options","normalizedAllowedExtensions","allowedExtensions","extension","isString","inputPath","findFileExtensionSafe","isURL","useExecution","inputStorage","createStorage","storage","load","mapStorageToFileSystem"],"sources":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@power-plant/unstorage-input",
3
- "version": "0.0.91",
3
+ "version": "0.0.93",
4
4
  "private": false,
5
5
  "description": "A Power Plant input for reading the source specification from an Unstorage driver.",
6
6
  "keywords": [
@@ -95,19 +95,19 @@
95
95
  "typings": "dist/index.d.mts",
96
96
  "files": ["dist"],
97
97
  "dependencies": {
98
- "@power-plant/core": "^0.0.92",
99
- "@power-plant/schema": "^0.0.90",
100
- "@stryke/path": "^0.29.41",
101
- "@stryke/resolve": "^0.0.31",
102
- "@stryke/type-checks": "^0.6.47",
103
- "@stryke/types": "^0.12.42",
98
+ "@power-plant/core": "^0.0.94",
99
+ "@power-plant/schema": "^0.0.92",
100
+ "@stryke/path": "^0.29.43",
101
+ "@stryke/resolve": "^0.0.33",
102
+ "@stryke/type-checks": "^0.6.49",
103
+ "@stryke/types": "^0.12.44",
104
104
  "unstorage": "^1.17.5"
105
105
  },
106
106
  "devDependencies": {
107
- "@powerlines/plugin-tsdown": "^0.1.612",
108
- "@types/node": "^25.9.5",
109
- "powerlines": "^0.47.211"
107
+ "@powerlines/plugin-tsdown": "^0.1.615",
108
+ "@types/node": "^25.9.9",
109
+ "powerlines": "^0.47.214"
110
110
  },
111
111
  "publishConfig": { "access": "public" },
112
- "gitHead": "3b7086f0e37297a752aab753ef3e3313d49f3233"
112
+ "gitHead": "082d4ef1a20adf7d4f5e11bf1f4f4efcf191dec0"
113
113
  }