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

bv-ui-core

Package Overview
Dependencies
Maintainers
3
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bv-ui-core - npm Package Compare versions

Comparing version 0.6.0 to 0.7.0

lib/logger/index.js

4

karma.conf.js

@@ -12,3 +12,3 @@ /**

require('karma-chai'),
require('karma-sinon'),
require('karma-sinon-chai'),
require('karma-webpack'),

@@ -25,3 +25,3 @@ require('karma-chrome-launcher'),

// See: https://npmjs.org/browse/keyword/karma-adapter
frameworks: ['mocha', 'chai', 'sinon'],
frameworks: ['mocha', 'chai', 'sinon-chai'],

@@ -28,0 +28,0 @@ client: {

@@ -19,3 +19,3 @@ # application

var loader = require('bv-ui-core/lib/loader');
var namespacer = require('bv-ui-core/lib/loader');
var namespacer = require('bv-ui-core/lib/namespacer');
var config = require('json!config.json');

@@ -22,0 +22,0 @@

@@ -7,4 +7,3 @@ # loader

URL in a non-blocking manner, and executes a Node-style callback (if
provided) when the script is loaded or fails to load. Also returns a promise
that will be resolved if the script loads, and rejected if it does not. A
provided) when the script is loaded or fails to load. A
`timeout` value in milliseconds can be provided via the `options` argument.

@@ -20,9 +19,7 @@ - `loadStyleSheet(url, [options], [callback])`: Loads the CSS at the provided

var promise = loader.loadScript('/scripts/main.js', function (err, cb) {
console.log('it worked');
loader.loadScript('/scripts/main.js', function (err) {
if (!err) {
console.log('it worked');
}
});
promise.then(function () {
console.log('it really worked');
});
```

@@ -32,4 +29,3 @@

both `loadScript` and `loadStyleSheet`, the callback will not be executed on
failure in old IE, and the returned promise will not be rejected on failure in
old IE.
failure in old IE.

@@ -36,0 +32,0 @@ ### loadScript options

{
"name": "bv-ui-core",
"version": "0.6.0",
"version": "0.7.0",
"license": "Apache 2.0",

@@ -21,10 +21,11 @@ "description": "Bazaarvoice UI-related JavaScript",

"karma": "0.13.9",
"karma-chai": "0.1.0",
"karma-chrome-launcher": "0.2.0",
"karma-coverage": "0.5.1",
"karma-chai": "0.1.0",
"karma-firefox-launcher": "0.1.6",
"karma-htmlfile-reporter": "0.2.2",
"karma-mocha": "0.2.0",
"karma-phantomjs-launcher": "0.2.1",
"karma-mocha": "0.2.0",
"karma-sinon": "1.0.4",
"karma-sinon-chai": "1.1.0",
"karma-webpack": "1.7.0",

@@ -31,0 +32,0 @@ "node-libs-browser": "0.5.2",

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