@agoric/bundle-source
Advanced tools
Comparing version 0.1.0 to 1.0.0
{ | ||
"name": "@agoric/bundle-source", | ||
"version": "0.1.0", | ||
"version": "1.0.0", | ||
"description": "Create source bundles from ES Modules", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
import { rollup } from 'rollup'; | ||
import path from 'path'; | ||
import resolve from 'rollup-plugin-node-resolve'; | ||
import acornEventualSend from '@agoric/acorn-eventual-send'; | ||
import eventualSend from '@agoric/acorn-eventual-send'; | ||
import * as acorn from 'acorn'; | ||
@@ -18,3 +19,3 @@ const DEFAULT_MODULE_FORMAT = 'getExport'; | ||
plugins: [resolve()], | ||
acornInjectPlugins: [acornEventualSend()], | ||
acornInjectPlugins: [eventualSend(acorn)], | ||
}); | ||
@@ -45,3 +46,3 @@ const { output } = await bundle.generate({ | ||
source = `\ | ||
function getExport() { \ | ||
function getExport() { 'use strict'; \ | ||
let exports = {}; \ | ||
@@ -48,0 +49,0 @@ const module = { exports }; \ |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
14748
50
0