Skip to content

Commit 78aebac

Browse files
authored
Merge pull request #10 from AleksandrSl/dev
Fix lexer browsers list
2 parents ef1b0a4 + 8b90a5c commit 78aebac

File tree

4 files changed

+122
-118
lines changed

4 files changed

+122
-118
lines changed

CHANGELOG.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,13 @@
33
# Browserslist Changelog
44

55
## [Unreleased]
6+
### Fixed
7+
- Fix browsers lexer. Add forgotten and_qq
8+
69

710
## [1.0.0]
8-
### Changed
9-
- Compatible IDEs are changed. I'll need JavaScript plugin later, so only paid IDEs that has it are targeted
11+
### Changed
12+
- Compatible IDEs are changed. I'll need JavaScript plugin later, so only paid IDEs that has it are targeted
1013
- All tokens are case-insensitive now. `LaSt 8 ChRoMe vERsions` for the world
1114

1215
## [1.0.0-eap-2]

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
pluginGroup = com.github.aleksandrsl.intellijbrowserslist
55
pluginName = intellij-browserslist
66
# SemVer format -> https://semver.org
7-
pluginVersion = 1.0.0
7+
pluginVersion = 1.0.1
88
# See https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
99
# for insight into build numbers and IntelliJ Platform versions.
1010
pluginSinceBuild = 211

src/main/gen/com/github/aleksandrsl/intellijbrowserslist/lexer/BrowserslistLexer.java

Lines changed: 115 additions & 114 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main/grammar/Browserslist.flex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ EXPLORER=explorer|ie|ExplorerMobile|ie_mob
3636
BLACKBERRY=BlackBerry|bb
3737
OPERA=opera|OperaMini|op_mini|OperaMobile|op_mob
3838
CHROME=chrome|ChromeAndroid|and_chr
39-
BROWSER={FIREFOX}|{CHROME}|{SAFARI}|{EXPLORER}|{BLACKBERRY}|{OPERA}|android|baidu|edge|samsung|UCAndroid|and_uc|QQAndroid|kaios
39+
BROWSER={FIREFOX}|{CHROME}|{SAFARI}|{EXPLORER}|{BLACKBERRY}|{OPERA}|android|baidu|edge|samsung|UCAndroid|and_uc|QQAndroid|and_qq|kaios
4040
TARGET={BROWSER}|electron|node|phantomjs
4141
TIME=\d+(-\d+){1,2}
4242
FEATURE=[-\w]+

0 commit comments

Comments
 (0)