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

d2l-class-stream-launch-darkly-feature-converter-plugin

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

d2l-class-stream-launch-darkly-feature-converter-plugin - npm Package Compare versions

Comparing version 1.1.0 to 2.0.0

3

package.json
{
"name": "d2l-class-stream-launch-darkly-feature-converter-plugin",
"version": "1.1.0",
"version": "2.0.0",
"description": "",

@@ -28,2 +28,3 @@ "main": "src/index.js",

"ajv": "^6.12.4",
"d2l-lms-instance-catalog": "0.0.2",
"lodash": "^4.17.20"

@@ -30,0 +31,0 @@ },

const _ = require( 'lodash' );
const util = require( 'util' );
const Converter = require( './Converter.js' );

@@ -6,3 +7,4 @@ const EnvironmentMapper = require( './EnvironmentMapper.js' );

const loadInstanceCatalog = require( './instanceCatalog/instanceCatalogLoader.js' );
const lmsInstanceCatalog = require( 'd2l-lms-instance-catalog' );
const loadInstanceCatalog = util.callbackify( lmsInstanceCatalog.loadFromEnvironment );

@@ -9,0 +11,0 @@ const TenantRulesMapper = require( './tenant/TenantRulesMapper.js' );

@@ -17,3 +17,3 @@ const _ = require( 'lodash' );

const fileUrl = formatFileUrl( path );
process.env.D2L_CLASS_STREAM_INSTANCE_CATALOG_SOURCE = fileUrl;
process.env.D2L_LMS_INSTANCE_CATALOG_SOURCE = fileUrl;

@@ -24,3 +24,3 @@ const options = {};

if( err ) {
delete process.env.D2L_CLASS_STREAM_INSTANCE_CATALOG_SOURCE;
delete process.env.D2L_LMS_INSTANCE_CATALOG_SOURCE;
return done( err );

@@ -35,3 +35,3 @@ }

delete process.env.D2L_CLASS_STREAM_INSTANCE_CATALOG_SOURCE;
delete process.env.D2L_LMS_INSTANCE_CATALOG_SOURCE;
return done();

@@ -38,0 +38,0 @@ } );

const assert = require( 'chai' ).assert;
const EnvironmentMapper = require( '../src/EnvironmentMapper.js' );
const InstanceCatalog = require( '../src/instanceCatalog/InstanceCatalog.js' );
const InstanceCatalog = require( 'd2l-lms-instance-catalog' ).InstanceCatalog;
const TenantRulesMapper = require( '../src/tenant/TenantRulesMapper.js' );

@@ -15,3 +15,6 @@ const TenantTargetsMapper = require( '../src/tenant/TenantTargetsMapper.js' );

new TenantTargetsMapper(
new InstanceCatalog( new Map() )
new InstanceCatalog(
new Map(),
new Map()
)
),

@@ -18,0 +21,0 @@ new TenantRulesMapper()

const assert = require( 'chai' ).assert;
const InstanceCatalog = require( '../src/instanceCatalog/InstanceCatalog.js' );
const InstanceCatalog = require( 'd2l-lms-instance-catalog' ).InstanceCatalog;
const TenantRulesMapper = require( '../src/tenant/TenantRulesMapper.js' );

@@ -7,2 +7,3 @@ const VariationIndexMap = require( '../src/variations/VariationIndexMap.js' );

const instanceCatalog = new InstanceCatalog(
new Map(),
new Map( [

@@ -9,0 +10,0 @@ [ 'www.tenant_a.org', 'aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa' ],

const assert = require( 'chai' ).assert;
const InstanceCatalog = require( '../src/instanceCatalog/InstanceCatalog.js' );
const InstanceCatalog = require( 'd2l-lms-instance-catalog' ).InstanceCatalog;
const TenantTargetsMapper = require( '../src/tenant/TenantTargetsMapper.js' );

@@ -7,2 +7,3 @@ const VariationIndexMap = require( '../src/variations/VariationIndexMap.js' );

const instanceCatalog = new InstanceCatalog(
new Map(),
new Map( [

@@ -9,0 +10,0 @@ [ 'www.tenant_a.org', 'aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa' ],

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