Socket
Socket
Sign inDemoInstall

@aller/blink-labrador

Package Overview
Dependencies
Maintainers
16
Versions
284
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aller/blink-labrador - npm Package Compare versions

Comparing version 0.12.0 to 0.12.1

16

lib/utils/__tests__/get-site.test.js

@@ -72,2 +72,18 @@ "use strict";

});
describe('elbil24', function () {
it('should work with www', function () {
expect(get_site_1.default('www.elbil24.no')).toBe('www.elbil24.no');
});
it('should work without www', function () {
expect(get_site_1.default('elbil24.no')).toBe('www.elbil24.no');
});
});
describe('se', function () {
it('should work with www', function () {
expect(get_site_1.default('www.se.no')).toBe('www.se.no');
});
it('should work without www', function () {
expect(get_site_1.default('se.no')).toBe('www.se.no');
});
});
describe('localhost', function () {

@@ -74,0 +90,0 @@ it('should work on localhost', function () {

2

lib/utils/get-site.js

@@ -21,2 +21,4 @@ "use strict";

{ name: 'www.vi.no', pattern: /.*vi\.no$/ },
{ name: 'www.elbil24.no', pattern: /.*elbil24\.no$/ },
{ name: 'www.se.no', pattern: /.*se\.no$/ },
];

@@ -23,0 +25,0 @@ var foundSite = '';

2

package.json
{
"name": "@aller/blink-labrador",
"version": "0.12.0",
"version": "0.12.1",
"description": "Library for using blink on Labrador",

@@ -5,0 +5,0 @@ "main": "lib/main.js",

@@ -29,2 +29,6 @@ <p align="center">

tracker.trackAdDFP();
// Expose blink functions to other modules
window.trackAdLoad = tracker.trackAdLoad;
window.trackVideo = tracker.trackVideo;
window.trackCustom = tracker.trackCustom;
}

@@ -31,0 +35,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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