Socket
Socket
Sign inDemoInstall

banner-rotator-webpack-plugin

Package Overview
Dependencies
85
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.4 to 0.2.0

2

browser/rotator.js

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

var matchLocation = locations && location ? globMatcher(locations, location) : true;
var matchCountry = countries && countryCode ? countries.indexOf(countryCode) > -1 : true;
var matchCountry = countries && countryCode ? globMatcher(countries, countryCode) : true;

@@ -618,0 +618,0 @@ return !isClosed && !isDisabled && matchDate && matchLocation && matchCountry;

@@ -5,2 +5,12 @@ # Change Log

<a name="0.2.0"></a>
# [0.2.0](https://github.com/kisenka/banner-rotator-webpack-plugin/compare/v0.1.4...v0.2.0) (2018-07-27)
### Features
* add glob matcher to countries ([16077f7](https://github.com/kisenka/banner-rotator-webpack-plugin/commit/16077f7))
<a name="0.1.4"></a>

@@ -7,0 +17,0 @@ ## [0.1.4](https://github.com/kisenka/banner-rotator-webpack-plugin/compare/v0.1.3...v0.1.4) (2017-12-07)

{
"name": "banner-rotator-webpack-plugin",
"version": "0.1.4",
"version": "0.2.0",
"description": "",

@@ -33,3 +33,3 @@ "keywords": [

"devDependencies": {
"@kisenka/eslint-config": "0.0.2",
"@kisenka/eslint-config": "^1.0.1",
"bluebird": "^3.5.1",

@@ -36,0 +36,0 @@ "buble-loader": "^0.4.1",

@@ -59,3 +59,3 @@ import merge from 'merge-options';

const matchLocation = locations && location ? globMatcher(locations, location) : true;
const matchCountry = countries && countryCode ? countries.indexOf(countryCode) > -1 : true;
const matchCountry = countries && countryCode ? globMatcher(countries, countryCode) : true;

@@ -62,0 +62,0 @@ return !isClosed && !isDisabled && matchDate && matchLocation && matchCountry;

@@ -9,2 +9,3 @@ const path = require('path');

// eslint-disable-next-line func-names
module.exports = function (content, sourcemap) {

@@ -11,0 +12,0 @@ /* istanbul ignore else */

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc