bv-ui-core
Advanced tools
Comparing version 0.10.1 to 0.11.0
# Changelog | ||
## 0.11.0 | ||
* Add an api module for interacting with the bazaarvoice api. Currently only statistics api requests are supported. | ||
## 0.10.1 | ||
@@ -4,0 +8,0 @@ |
@@ -9,12 +9,2 @@ /** | ||
plugins: [ | ||
require('karma-mocha'), | ||
require('karma-chai'), | ||
require('karma-sinon-chai'), | ||
require('karma-webpack'), | ||
require('karma-chrome-launcher'), | ||
require('karma-phantomjs-launcher'), | ||
require('karma-coverage') | ||
], | ||
// Base path that will be used to resolve all patterns (eg. files, exclude). | ||
@@ -49,3 +39,6 @@ basePath: '', | ||
nocache: true | ||
} | ||
}, | ||
// We need the polyfill for testing es6 modules. | ||
'node_modules/babel-polyfill/dist/polyfill.js', | ||
], | ||
@@ -74,2 +67,11 @@ | ||
module: { | ||
loaders: [{ | ||
test: /\.js$/, | ||
exclude: /(node_modules|bower_components)/, | ||
loader: 'babel-loader', | ||
query: { | ||
plugins: ['lodash'], | ||
presets: ['es2015'] | ||
} | ||
}], | ||
postLoaders: [{ | ||
@@ -76,0 +78,0 @@ test: /\.js$/, |
@@ -28,3 +28,3 @@ /** | ||
return host === domain || host === ("www." + domain); | ||
return host === domain || host === ('www.' + domain); | ||
} | ||
@@ -31,0 +31,0 @@ |
{ | ||
"name": "bv-ui-core", | ||
"version": "0.10.1", | ||
"version": "0.11.0", | ||
"license": "Apache 2.0", | ||
@@ -15,22 +15,31 @@ "description": "Bazaarvoice UI-related JavaScript", | ||
}, | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"babel-core": "^6.13.2", | ||
"babel-loader": "^6.2.5", | ||
"babel-plugin-lodash": "^3.2.8", | ||
"babel-polyfill": "^6.13.0", | ||
"babel-preset-es2015": "^6.13.2", | ||
"chai": "^3.5.0", | ||
"eslint": "2.2.0", | ||
"ghooks": "1.0.3", | ||
"istanbul-instrumenter-loader": "0.2.0", | ||
"karma": "0.13.21", | ||
"karma-chai": "0.1.0", | ||
"karma-chrome-launcher": "0.2.2", | ||
"karma-coverage": "0.5.3", | ||
"karma-firefox-launcher": "0.1.7", | ||
"karma-htmlfile-reporter": "0.2.2", | ||
"karma-mocha": "0.2.2", | ||
"karma-phantomjs-launcher": "1.0.0", | ||
"karma-sinon": "1.0.4", | ||
"karma-sinon-chai": "1.2.0", | ||
"karma-webpack": "1.7.0", | ||
"mocha": "2.4.5", | ||
"json-loader": "^0.5.4", | ||
"karma": "^1.2.0", | ||
"karma-chai": "^0.1.0", | ||
"karma-chrome-launcher": "2.0.0", | ||
"karma-coverage": "^1.1.1", | ||
"karma-firefox-launcher": "^1.0.0", | ||
"karma-htmlfile-reporter": "^0.3.4", | ||
"karma-mocha": "^1.1.1", | ||
"karma-phantomjs-launcher": "^1.0.1", | ||
"karma-sinon": "^1.0.5", | ||
"karma-sinon-chai": "^1.2.3", | ||
"karma-webpack": "^1.7.0", | ||
"lodash": "^4.15.0", | ||
"mocha": "^3.0.2", | ||
"node-libs-browser": "1.0.0", | ||
"phantomjs": "2.1.3", | ||
"webpack": "1.12.13" | ||
"phantomjs": "^2.1.7", | ||
"sinon": "^1.17.5", | ||
"sinon-chai": "^2.8.0", | ||
"webpack": "^1.13.2" | ||
}, | ||
@@ -37,0 +46,0 @@ "config": { |
@@ -317,3 +317,3 @@ /* eslint no-use-before-define: 0 */ | ||
timeout = setTimeout(function () { | ||
var timeout = setTimeout(function () { | ||
done(new Error('script load timed out')); | ||
@@ -572,3 +572,3 @@ }, 2000); | ||
loader.loadStyleSheet('/base/test/fixtures/lib.loader.loadstylesheet.css', function () { | ||
linkElements = doc.getElementsByTagName('link'); | ||
var linkElements = doc.getElementsByTagName('link'); | ||
expect(linkElements.length).to.equal(originalLinkCount + 1); | ||
@@ -586,3 +586,3 @@ | ||
loader.loadStyleSheet('/base/test/fixtures/lib.loader.loadstylesheet.css', function () { | ||
linkElements = doc.getElementsByTagName('link'); | ||
var linkElements = doc.getElementsByTagName('link'); | ||
expect(linkElements.length).to.equal(originalLinkCount + 1); | ||
@@ -606,3 +606,3 @@ | ||
}, function () { | ||
linkElements = doc.getElementsByTagName('link'); | ||
var linkElements = doc.getElementsByTagName('link'); | ||
expect(linkElements.length).to.equal(originalLinkCount + 1); | ||
@@ -609,0 +609,0 @@ |
@@ -13,2 +13,3 @@ /** | ||
var assets; | ||
var assetNames; | ||
var config; | ||
@@ -15,0 +16,0 @@ var loaderOptions; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
175490
86
4089
28