You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
throws error for browserListQuery "last n safari version" where n is any number
if I set minVersion to 18 it produces headers for safari browser version lower than 18 even with strict property set to true
To Reproduce
case 1
// will produce "No headers based on this input can be generated" error
const generator = new HeaderGenerator({
browserListQuery: "last 10 safari version",
operatingSystems: ["macos"],
devices: ["desktop"],
});
case 2
// will produce headers for browser version lower than 18
const generator = new HeaderGenerator({
browsers: [
{
name: "safari",
minVersion: 18,
},
],
operatingSystems: ["macos"],
devices: ["desktop"],
strict: true,
});
Expected behavior
for case 1 we expect the generator to generate headers
for case 2 we expect it to produce headers with safari version >= 18
System information:
OS: MacOS
Node.js version 22
header-generator version 2.1.61
The text was updated successfully, but these errors were encountered:
Describe the bug
headerGenerator
To Reproduce
case 1
case 2
Expected behavior
for case 1 we expect the generator to generate headers
for case 2 we expect it to produce headers with safari version >= 18
System information:
The text was updated successfully, but these errors were encountered: