Comments (1)
This makes sense to me. The first signature of parseAll()
(one with iterator) can be easily replaced with the below pattern:
-parseAll(yaml, iterator, options);
+parseAll(yaml, options).forEach(iterator);
There seem no special scenario supported only by the 1st signature. (If there's an error in any of the input, both cases seem throwing at the same point).
from deno_std.
Related Issues (20)
- fs: `copy` with `{ preserveTimestamps: true }` does not update the timestamps of symlinks HOT 2
- to-do: investigate possibly unreachable LOC in `@std/streams/delimiter-stream`
- fs: enable `ensureSymlink() works with URLs` test case on windows.
- proposal: remove non-default schema support from yaml HOT 3
- bug(cli): `Spinner.stop() terminates the sequence` test failure
- text: Add `algorithm` option to string comparison functions HOT 5
- proposal: do not expose implementation details of yaml schemas HOT 5
- yaml: Rename negative property names in options HOT 3
- suggestion: rename `verifyCookie()` to `verifySignedCookie()` in `@std/http/signed-cookie` HOT 1
- proposal(http): rename `calculate` to `eTag` HOT 1
- proposal(http): rename `Entity` to `ETagSource` HOT 1
- Deno test fails with inscrutable error when `assertSnapshot` is used in update mode but the `--allow-write` flag is missing HOT 4
- UUID v4 generator for non-secure contexts? HOT 3
- proposal(assert): change the entrypoint pattern from "assert/assert-foo" to "assert/foo" HOT 5
- bug: `fs.walk()` throws not found error HOT 4
- proposal(json,csv): avoid repetition in entrypoint name if it has the same word as the pacakge name in the beginning HOT 1
- media_types: incorrect mime for javascript - does not match mime-db HOT 1
- to-do: automate checking of package versions
- to-do: investigate the viability of `ParseOptions` and `StringifyOptions` in `@std/yaml` HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deno_std.