@aller/blink-labrador
Advanced tools
Comparing version 8.17.0 to 8.17.3
@@ -27,3 +27,3 @@ "use strict"; | ||
var mockDocument = { | ||
cookie: 'allerM_seg=sport,soccer,gardening,home and recreation; Path=/; Expires=Mon, 01 Des 2018 03:03:03 GMT; Secure;', | ||
cookie: 'allerM_seg2=sport,soccer,gardening,home and recreation; Path=/; Expires=Mon, 01 Des 2018 03:03:03 GMT; Secure;', | ||
}; | ||
@@ -35,3 +35,3 @@ expect(get_commercial_segments_1.default(mockDocument)).toBe('sport,soccer,gardening,home and recreation'); | ||
var mockDocument = { | ||
cookie: 'allerM_seg=sport,soccer,gardening,home and recreation; Path=/; Expires=Mon, 01 Des 2018 03:03:03 GMT; Secure;', | ||
cookie: 'allerM_seg2=sport,soccer,gardening,home and recreation; Path=/; Expires=Mon, 01 Des 2018 03:03:03 GMT; Secure;', | ||
}; | ||
@@ -38,0 +38,0 @@ // get the cookie once, to warm the cache |
@@ -174,13 +174,2 @@ "use strict"; | ||
}); | ||
describe('kvasir', function () { | ||
it('should work with www', function () { | ||
expect(get_site_1.default('www.kvasir.no')).toBe('www.kvasir.no'); | ||
}); | ||
it('should work without www', function () { | ||
expect(get_site_1.default('kvasir.no')).toBe('www.kvasir.no'); | ||
}); | ||
it('should work with stage', function () { | ||
expect(get_site_1.default('stage.kvasir.no')).toBe('www.kvasir.no'); | ||
}); | ||
}); | ||
describe('localhost', function () { | ||
@@ -187,0 +176,0 @@ it('should work on localhost', function () { |
@@ -17,3 +17,3 @@ "use strict"; | ||
} | ||
segments = cookie_utils_1.getCookie(doc || document, 'allerM_seg'); | ||
segments = cookie_utils_1.getCookie(doc || document, 'allerM_seg2'); | ||
if (segments) { | ||
@@ -20,0 +20,0 @@ return segments; |
@@ -32,3 +32,2 @@ "use strict"; | ||
{ name: 'www.plussmobil.no', pattern: /.*plussmobil\.no$/ }, | ||
{ name: 'www.kvasir.no', pattern: /.*kvasir\.no$/ }, | ||
]; | ||
@@ -35,0 +34,0 @@ for (var i = 0; i < sites.length; i++) { |
{ | ||
"name": "@aller/blink-labrador", | ||
"version": "8.17.0", | ||
"version": "8.17.3", | ||
"description": "Library for using blink on Labrador", | ||
@@ -75,3 +75,3 @@ "main": "lib/main.js", | ||
"dependencies": { | ||
"@aller/blink": "^8.17.0", | ||
"@aller/blink": "^8.17.3", | ||
"@soldotno/aller-in-view": "^3.0.2", | ||
@@ -91,3 +91,3 @@ "react": "^16.11.0" | ||
}, | ||
"gitHead": "09a2d04246e1f6a5188c1f98d4f482b9fbd1e4ad" | ||
"gitHead": "6c10993c53759532c45787d5cf6dc30d980c09b0" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
1
447905
6059
Updated@aller/blink@^8.17.3