@effect/platform
Advanced tools
Comparing version 0.1.0 to 0.2.0
@@ -31,3 +31,3 @@ /** | ||
readonly _tag: string; | ||
readonly module: "FileSystem" | "Path"; | ||
readonly module: "Command" | "FileSystem" | "Path"; | ||
readonly method: string; | ||
@@ -34,0 +34,0 @@ readonly message: string; |
@@ -42,3 +42,3 @@ "use strict"; | ||
if (bytesToRead !== undefined && bytesToRead <= position - offset) { | ||
return Effect.succeedNone(); | ||
return Effect.succeed(Option.none()); | ||
} | ||
@@ -45,0 +45,0 @@ const toRead = bytesToRead !== undefined && bytesToRead - (position - offset) < chunkSize ? bytesToRead - (position - offset) : chunkSize; |
{ | ||
"name": "@effect/platform", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"license": "MIT", | ||
@@ -10,5 +10,5 @@ "repository": { | ||
"dependencies": { | ||
"@effect/data": "^0.12.8", | ||
"@effect/io": "^0.26.1", | ||
"@effect/stream": "^0.22.1", | ||
"@effect/data": "^0.13.5", | ||
"@effect/io": "^0.31.3", | ||
"@effect/stream": "^0.25.1", | ||
"path-browserify": "^1.0.1" | ||
@@ -15,0 +15,0 @@ }, |
@@ -36,3 +36,3 @@ /** | ||
readonly _tag: string | ||
readonly module: "FileSystem" | "Path" | ||
readonly module: "Command" | "FileSystem" | "Path" | ||
readonly method: string | ||
@@ -39,0 +39,0 @@ readonly message: string |
@@ -44,3 +44,3 @@ import { Tag } from "@effect/data/Context" | ||
if (bytesToRead !== undefined && bytesToRead <= position - offset) { | ||
return Effect.succeedNone() | ||
return Effect.succeed(Option.none()) | ||
} | ||
@@ -47,0 +47,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
308015
111
5300
+ Added@effect/data@0.13.6(transitive)
+ Added@effect/io@0.31.4(transitive)
+ Added@effect/stream@0.25.1(transitive)
- Removed@effect/data@0.12.10(transitive)
- Removed@effect/io@0.26.2(transitive)
- Removed@effect/stream@0.22.2(transitive)
Updated@effect/data@^0.13.5
Updated@effect/io@^0.31.3
Updated@effect/stream@^0.25.1