@llamaindex/env
Advanced tools
Comparing version 0.0.6 to 0.0.7
# @llamaindex/env | ||
## 0.0.7 | ||
### Patch Changes | ||
- Add polyfill for pipeline | ||
## 0.0.6 | ||
@@ -4,0 +10,0 @@ |
@@ -36,2 +36,5 @@ "use strict"; | ||
}, | ||
pipeline: function() { | ||
return _promises1.pipeline; | ||
}, | ||
randomUUID: function() { | ||
@@ -46,2 +49,3 @@ return _nodecrypto.randomUUID; | ||
const _nodepath = /*#__PURE__*/ _interop_require_default(require("node:path")); | ||
const _promises1 = require("node:stream/promises"); | ||
const _utils = require("./utils.js"); | ||
@@ -48,0 +52,0 @@ function _interop_require_default(obj) { |
@@ -36,2 +36,5 @@ "use strict"; | ||
}, | ||
pipeline: function() { | ||
return _readablestream.pipeline; | ||
}, | ||
randomUUID: function() { | ||
@@ -44,2 +47,3 @@ return randomUUID; | ||
const _type = _export_star(require("./type.js"), exports); | ||
const _readablestream = require("readable-stream"); | ||
const _utils = require("./utils.js"); | ||
@@ -46,0 +50,0 @@ function _export_star(from, to) { |
@@ -6,2 +6,3 @@ import { ok } from "node:assert"; | ||
import path from "node:path"; | ||
import { pipeline } from "node:stream/promises"; | ||
export function createSHA256() { | ||
@@ -34,2 +35,2 @@ const hash = createHash("sha256"); | ||
export { AsyncLocalStorage, CustomEvent, getEnv } from "./utils.js"; | ||
export { EOL, ok, path, randomUUID }; | ||
export { EOL, ok, path, pipeline, randomUUID }; |
import { Sha256 } from "@aws-crypto/sha256-js"; | ||
import pathe from "pathe"; | ||
import { InMemoryFileSystem } from "./type.js"; | ||
export { pathe as path }; | ||
// @ts-expect-error | ||
import { pipeline } from "readable-stream"; | ||
export { pathe as path, pipeline }; | ||
export const EOL = "\n"; | ||
@@ -6,0 +8,0 @@ export const defaultFS = new InMemoryFileSystem(); |
@@ -5,2 +5,3 @@ /// <reference types="node" resolution-mode="require"/> | ||
/// <reference types="node" resolution-mode="require"/> | ||
/// <reference types="node" resolution-mode="require"/> | ||
import { ok } from "node:assert"; | ||
@@ -10,2 +11,3 @@ import { randomUUID } from "node:crypto"; | ||
import path from "node:path"; | ||
import { pipeline } from "node:stream/promises"; | ||
import type { SHA256 } from "./index.polyfill.js"; | ||
@@ -17,2 +19,2 @@ import type { CompleteFileSystem } from "./type.js"; | ||
export { AsyncLocalStorage, CustomEvent, getEnv } from "./utils.js"; | ||
export { EOL, ok, path, randomUUID }; | ||
export { EOL, ok, path, pipeline, randomUUID }; |
import pathe from "pathe"; | ||
import { type CompleteFileSystem } from "./type.js"; | ||
export { pathe as path }; | ||
import { pipeline } from "readable-stream"; | ||
export { pathe as path, pipeline }; | ||
export interface SHA256 { | ||
@@ -5,0 +6,0 @@ update(data: string | Uint8Array): void; |
{ | ||
"name": "@llamaindex/env", | ||
"description": "environment wrapper", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"type": "module", | ||
@@ -51,4 +51,5 @@ "types": "dist/type/index.d.ts", | ||
"@swc/core": "^1.4.2", | ||
"concurrently": "^8.2.2", | ||
"pathe": "^1.1.2", | ||
"concurrently": "^8.2.2" | ||
"readable-stream": "^4.5.2" | ||
}, | ||
@@ -62,3 +63,4 @@ "dependencies": { | ||
"@aws-crypto/sha256-js": "^5.2.0", | ||
"pathe": "^1.1.2" | ||
"pathe": "^1.1.2", | ||
"readable-stream": "^4.5.2" | ||
}, | ||
@@ -65,0 +67,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
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
77301
468
6
6