Skip to content

Commit

Permalink
Pin versions of imported modules
Browse files Browse the repository at this point in the history
  • Loading branch information
jedel1043 committed Jun 9, 2023
1 parent 7a539cb commit b5d8f2b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions boa_examples/src/bin/module_fetch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@ impl ModuleLoader for HttpModuleLoader {
fn main() -> JsResult<()> {
// A simple snippet that imports modules from the web instead of the file system.
const SRC: &str = r#"
import YAML from 'https://esm.run/yaml';
import fromAsync from 'https://esm.run/array-from-async';
import { Base64 } from 'https://esm.run/js-base64';
import YAML from 'https://esm.run/yaml@2.3.1';
import fromAsync from 'https://esm.run/array-from-async@3.0.0';
import { Base64 } from 'https://esm.run/js-base64@3.7.5';
const data = `
object:
Expand Down

0 comments on commit b5d8f2b

Please sign in to comment.