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

component-kit-builder

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

component-kit-builder - npm Package Compare versions

Comparing version 1.1.0 to 2.0.0

2

index.js

@@ -32,3 +32,3 @@ 'use strict';

{
complete: wrappersList.reduce(
default: wrappersList.reduce(
(complete, moduleName) => hoist(moduleMap[moduleName](complete), complete),

@@ -35,0 +35,0 @@ moduleMap.component

{
"name": "component-kit-builder",
"version": "1.1.0",
"version": "2.0.0",
"description": "builds component kits using webpack require.context",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -42,3 +42,3 @@ const assert = require('assert');

'component',
'complete'
'default'
].sort(),

@@ -56,3 +56,3 @@ Object.keys(require(bundlePath)).sort()

'component',
'complete'
'default'
].sort(),

@@ -71,3 +71,3 @@ Object.keys(require(bundlePath)).sort()

'component',
'complete'
'default'
].sort(),

@@ -79,3 +79,3 @@ Object.keys(require(bundlePath)).sort()

buildBundle();
assert(require(bundlePath).complete(), 'redux relay component');
assert(require(bundlePath).default(), 'redux relay component');
});

@@ -99,6 +99,6 @@ it('should work with es6-style default exports', function () {

const bundle = require(bundlePath);
assert(bundle.complete.reduxStaticProp);
assert(bundle.complete.relayStaticProp);
assert(bundle.complete.componentStaticProp);
assert(bundle.default.reduxStaticProp);
assert(bundle.default.relayStaticProp);
assert(bundle.default.componentStaticProp);
})
});
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