@jsenv/filesystem
Advanced tools
Comparing version 4.1.9 to 4.2.0
{ | ||
"name": "@jsenv/filesystem", | ||
"version": "4.1.9", | ||
"version": "4.2.0", | ||
"license": "MIT", | ||
@@ -21,3 +21,3 @@ "repository": { | ||
".": { | ||
"import": "./main.js" | ||
"import": "./src/main.js" | ||
}, | ||
@@ -27,4 +27,3 @@ "./*": "./*" | ||
"files": [ | ||
"/src/", | ||
"/main.js" | ||
"/src/" | ||
], | ||
@@ -36,5 +35,5 @@ "scripts": { | ||
"@jsenv/urls": "1.2.8", | ||
"@jsenv/url-meta": "7.0.2", | ||
"@jsenv/url-meta": "7.1.0", | ||
"@jsenv/abort": "4.2.4" | ||
} | ||
} |
import { urlToFileSystemPath } from "@jsenv/urls" | ||
import { assertAndNormalizeFileUrl } from "./assertAndNormalizeFileUrl.js" | ||
import { assertAndNormalizeFileUrl } from "./file_url_validation.js" | ||
import { statsToType } from "./internal/statsToType.js" | ||
@@ -4,0 +5,0 @@ import { readEntryStat } from "./readEntryStat.js" |
import { urlToFileSystemPath } from "@jsenv/urls" | ||
import { assertAndNormalizeFileUrl } from "./assertAndNormalizeFileUrl.js" | ||
import { assertAndNormalizeFileUrl } from "./file_url_validation.js" | ||
import { statsToType } from "./internal/statsToType.js" | ||
@@ -4,0 +5,0 @@ import { readEntryStat } from "./readEntryStat.js" |
@@ -5,3 +5,3 @@ import { Abort } from "@jsenv/abort" | ||
import { urlToRelativeUrl } from "@jsenv/urls" | ||
import { assertAndNormalizeDirectoryUrl } from "./assertAndNormalizeDirectoryUrl.js" | ||
import { assertAndNormalizeDirectoryUrl } from "./directory_url_validation.js" | ||
import { readDirectory } from "./readDirectory.js" | ||
@@ -8,0 +8,0 @@ import { readEntryStat } from "./readEntryStat.js" |
@@ -5,3 +5,3 @@ import { Abort } from "@jsenv/abort" | ||
import { assertAndNormalizeDirectoryUrl } from "./assertAndNormalizeDirectoryUrl.js" | ||
import { assertAndNormalizeDirectoryUrl } from "./directory_url_validation.js" | ||
import { readDirectory } from "./readDirectory.js" | ||
@@ -8,0 +8,0 @@ import { readEntryStat } from "./readEntryStat.js" |
import { Abort } from "@jsenv/abort" | ||
import { urlToFileSystemPath, resolveUrl } from "@jsenv/urls" | ||
import { assertAndNormalizeDirectoryUrl } from "./assertAndNormalizeDirectoryUrl.js" | ||
import { assertAndNormalizeDirectoryUrl } from "./directory_url_validation.js" | ||
import { readEntryStat } from "./readEntryStat.js" | ||
@@ -6,0 +6,0 @@ import { readSymbolicLink } from "./readSymbolicLink.js" |
@@ -14,3 +14,3 @@ import { copyFile as copyFileNode } from "node:fs" | ||
import { binaryFlagsToPermissions } from "./internal/permissions.js" | ||
import { assertAndNormalizeFileUrl } from "./assertAndNormalizeFileUrl.js" | ||
import { assertAndNormalizeFileUrl } from "./file_url_validation.js" | ||
import { writeDirectory } from "./writeDirectory.js" | ||
@@ -17,0 +17,0 @@ import { readEntryStat } from "./readEntryStat.js" |
import { urlToFileSystemPath } from "@jsenv/urls" | ||
import { assertAndNormalizeFileUrl } from "./assertAndNormalizeFileUrl.js" | ||
import { assertAndNormalizeFileUrl } from "./file_url_validation.js" | ||
import { statsToType } from "./internal/statsToType.js" | ||
@@ -4,0 +5,0 @@ import { writeDirectory } from "./writeDirectory.js" |
import { dirname } from "node:path" | ||
import { urlToFileSystemPath } from "@jsenv/urls" | ||
import { assertAndNormalizeFileUrl } from "./assertAndNormalizeFileUrl.js" | ||
import { assertAndNormalizeFileUrl } from "./file_url_validation.js" | ||
import { writeDirectory } from "./writeDirectory.js" | ||
@@ -6,0 +6,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { assertAndNormalizeFileUrl } from "./assertAndNormalizeFileUrl.js" | ||
import { assertAndNormalizeFileUrl } from "./file_url_validation.js" | ||
import { readEntryPermissions } from "./readEntryPermissions.js" | ||
@@ -3,0 +3,0 @@ import { writeEntryPermissions } from "./writeEntryPermissions.js" |
import { Abort } from "@jsenv/abort" | ||
import { urlToFileSystemPath, resolveUrl } from "@jsenv/urls" | ||
import { assertAndNormalizeDirectoryUrl } from "./assertAndNormalizeDirectoryUrl.js" | ||
import { assertAndNormalizeDirectoryUrl } from "./directory_url_validation.js" | ||
import { readEntryStat } from "./readEntryStat.js" | ||
@@ -6,0 +6,0 @@ import { readSymbolicLink } from "./readSymbolicLink.js" |
@@ -7,3 +7,3 @@ import { rename } from "node:fs" | ||
import { statsToType } from "./internal/statsToType.js" | ||
import { assertAndNormalizeFileUrl } from "./assertAndNormalizeFileUrl.js" | ||
import { assertAndNormalizeFileUrl } from "./file_url_validation.js" | ||
import { ensureParentDirectories } from "./ensureParentDirectories.js" | ||
@@ -10,0 +10,0 @@ import { removeEntry } from "./removeEntry.js" |
import { readdir } from "node:fs" | ||
import { assertAndNormalizeDirectoryUrl } from "./assertAndNormalizeDirectoryUrl.js" | ||
import { assertAndNormalizeDirectoryUrl } from "./directory_url_validation.js" | ||
@@ -4,0 +4,0 @@ export const readDirectory = async (url, { emfileMaxWait = 1000 } = {}) => { |
@@ -10,3 +10,3 @@ /* | ||
import { binaryFlagsToPermissions } from "./internal/permissions.js" | ||
import { assertAndNormalizeFileUrl } from "./assertAndNormalizeFileUrl.js" | ||
import { assertAndNormalizeFileUrl } from "./file_url_validation.js" | ||
@@ -13,0 +13,0 @@ const { stat } = promises |
@@ -9,3 +9,3 @@ /* | ||
import { assertAndNormalizeFileUrl } from "./assertAndNormalizeFileUrl.js" | ||
import { assertAndNormalizeFileUrl } from "./file_url_validation.js" | ||
import { writeEntryPermissions } from "./writeEntryPermissions.js" | ||
@@ -12,0 +12,0 @@ |
import { readFile as readFileNode } from "node:fs" | ||
import { assertAndNormalizeFileUrl } from "./assertAndNormalizeFileUrl.js" | ||
import { assertAndNormalizeFileUrl } from "./file_url_validation.js" | ||
@@ -5,0 +5,0 @@ export const readFile = async (value, { as = "buffer" } = {}) => { |
import { readFileSync as readFileSyncNode } from "node:fs" | ||
import { assertAndNormalizeFileUrl } from "./assertAndNormalizeFileUrl.js" | ||
import { assertAndNormalizeFileUrl } from "./file_url_validation.js" | ||
@@ -5,0 +5,0 @@ export const readFileSync = (value, { as = "buffer" } = {}) => { |
@@ -9,3 +9,3 @@ /* | ||
import { assertAndNormalizeFileUrl } from "./assertAndNormalizeFileUrl.js" | ||
import { assertAndNormalizeFileUrl } from "./file_url_validation.js" | ||
@@ -12,0 +12,0 @@ export const readSymbolicLink = (url) => { |
@@ -5,3 +5,3 @@ import { readdirSync, statSync } from "node:fs" | ||
import { assertAndNormalizeDirectoryUrl } from "./assertAndNormalizeDirectoryUrl.js" | ||
import { assertAndNormalizeDirectoryUrl } from "./directory_url_validation.js" | ||
import { statsToType } from "./internal/statsToType.js" | ||
@@ -8,0 +8,0 @@ import { guardTooFastSecondCallPerFile } from "./internal/guard_second_call.js" |
@@ -5,3 +5,3 @@ import { statSync } from "node:fs" | ||
import { assertAndNormalizeFileUrl } from "./assertAndNormalizeFileUrl.js" | ||
import { assertAndNormalizeFileUrl } from "./file_url_validation.js" | ||
import { guardTooFastSecondCall } from "./internal/guard_second_call.js" | ||
@@ -8,0 +8,0 @@ import { statsToType } from "./internal/statsToType.js" |
@@ -9,3 +9,3 @@ import { unlink, rmdir, openSync, closeSync } from "node:fs" | ||
import { assertAndNormalizeFileUrl } from "./assertAndNormalizeFileUrl.js" | ||
import { assertAndNormalizeFileUrl } from "./file_url_validation.js" | ||
import { readEntryStat } from "./readEntryStat.js" | ||
@@ -12,0 +12,0 @@ import { readDirectory } from "./readDirectory.js" |
import { promises, constants } from "node:fs" | ||
import { assertAndNormalizeFileUrl } from "./assertAndNormalizeFileUrl.js" | ||
import { assertAndNormalizeFileUrl } from "./file_url_validation.js" | ||
@@ -5,0 +5,0 @@ const { access } = promises |
import { promises } from "node:fs" | ||
import { urlToFileSystemPath } from "@jsenv/urls" | ||
import { assertAndNormalizeDirectoryUrl } from "./assertAndNormalizeDirectoryUrl.js" | ||
import { assertAndNormalizeDirectoryUrl } from "./directory_url_validation.js" | ||
import { statsToType } from "./internal/statsToType.js" | ||
@@ -6,0 +6,0 @@ import { readEntryStat } from "./readEntryStat.js" |
import { utimes } from "node:fs" | ||
import { assertAndNormalizeFileUrl } from "./assertAndNormalizeFileUrl.js" | ||
import { assertAndNormalizeFileUrl } from "./file_url_validation.js" | ||
@@ -5,0 +5,0 @@ export const writeEntryModificationTime = (source, mtime) => { |
import { chmod } from "node:fs" | ||
import { permissionsToBinaryFlags } from "./internal/permissions.js" | ||
import { assertAndNormalizeFileUrl } from "./assertAndNormalizeFileUrl.js" | ||
import { assertAndNormalizeFileUrl } from "./file_url_validation.js" | ||
@@ -6,0 +6,0 @@ export const writeEntryPermissions = async (source, permissions) => { |
import { writeFile as writeFileNode } from "node:fs" | ||
import { assertAndNormalizeFileUrl } from "./assertAndNormalizeFileUrl.js" | ||
import { assertAndNormalizeFileUrl } from "./file_url_validation.js" | ||
import { ensureParentDirectories } from "./ensureParentDirectories.js" | ||
@@ -5,0 +5,0 @@ |
import { writeFileSync as writeFileSyncNode, mkdirSync } from "node:fs" | ||
import { assertAndNormalizeFileUrl } from "./assertAndNormalizeFileUrl.js" | ||
import { assertAndNormalizeFileUrl } from "./file_url_validation.js" | ||
@@ -5,0 +5,0 @@ export const writeFileSync = (destination, content = "") => { |
@@ -9,3 +9,3 @@ import { promises } from "node:fs" | ||
import { assertAndNormalizeFileUrl } from "./assertAndNormalizeFileUrl.js" | ||
import { assertAndNormalizeFileUrl } from "./file_url_validation.js" | ||
import { ensureParentDirectories } from "./ensureParentDirectories.js" | ||
@@ -12,0 +12,0 @@ import { readEntryStat } from "./readEntryStat.js" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
87091
2600
+ Added@jsenv/url-meta@7.1.0(transitive)
- Removed@jsenv/url-meta@7.0.2(transitive)
Updated@jsenv/url-meta@7.1.0