Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@agoric/bundle-source

Package Overview
Dependencies
Maintainers
4
Versions
224
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@agoric/bundle-source - npm Package Compare versions

Comparing version 0.1.0 to 1.0.0

2

package.json
{
"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 }; \

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc