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

bugpack

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bugpack - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

12

lib/BugPackContext.js

@@ -166,6 +166,2 @@ //-------------------------------------------------------------------------------

BugPackContext.prototype.export = function(bugPackKeyString, bugPackExport) {
//TEST
console.log("Exporting '", bugPackKeyString, "'");
if (!bugPackKeyString) {

@@ -251,6 +247,2 @@ throw new Error("Expected string for 'bugPackKeyString' instead found ", bugPackKeyString);

BugPackContext.prototype.loadExportSync = function(bugPackKeyString) {
//TEST
console.log("BugPackContext#loadExportSync - bugPackKeyString:", bugPackKeyString);
var bugPackKey = this.generateBugPackKey(bugPackKeyString);

@@ -453,6 +445,2 @@ var registryEntry = this.registry.getEntryByPackageAndExport(bugPackKey.getPackageName(), bugPackKey.getExportName());

BugPackContext.prototype.processSourceSync = function(bugPackSource) {
//TEST
console.log("Processing source '", bugPackSource.getSourceFilePath(), "'");
var _this = this;

@@ -459,0 +447,0 @@ this.processedSources[bugPackSource.getSourceFilePath()] = true;

10

lib/BugPackSource.js

@@ -86,2 +86,12 @@ //-------------------------------------------------------------------------------

*/
BugPackSource.prototype.load = function() {
if (!this.loaded && !this.loadStarted) {
this.loadStarted = true;
this.loadSource();
}
};
/**
*
*/
BugPackSource.prototype.loadSync = function() {

@@ -88,0 +98,0 @@ if (!this.loaded) {

2

package.json
{
"name": "bugpack",
"version": "0.1.0",
"version": "0.1.1",
"description": "Package loader to help make browser and node js package loading consistent",

@@ -5,0 +5,0 @@ "main": "./lib/BugPackApi.js",

@@ -1,2 +0,13 @@

bugpackage
==========
# bugpack
bugpack is a JavaScript class and package loader that helps make browser and
node js package loading consistent. It is designed to work both within node
js as well as directly in the browser.
bugpack provides a simple package loading mechanism that depends upon a
pre-generated registry called bugpack-registry.json. These files can be
produced using the [bugpack-registry](https://github.com/airbug/bugpack-registry) project.
The library makes up part of the foundation of our architecture for [airbug](http://airbug.com)
so check out the docs for an overview of the full power of what the code has
to offer. If the library is missing something you need, please let us know!
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