Ya Hui Liang(Ryou)
3f05b5cde6
chore: remove unused vars and imports ( #3682 )
2022-01-12 14:15:24 +08:00
Devlin Russell
ce973cdc99
Fix #3591 : refactor debugInfo from class to function ( #3613 )
...
* Fix #3591 : refactor debugInfo from class to function
* chore: add newline
* chore: trigger ci
Co-authored-by: drdevlin <drdevlin@fastmail.com >
Co-authored-by: Lei Chen <chenleicoder@foxmail.com >
2021-12-30 22:12:18 +08:00
Lei Chen
7fc6a1dcc7
[skip ci] move issue tpl from workflows to issue_template ( #3671 )
2021-12-25 12:40:53 +08:00
Lei Chen
cb897701ae
ci: reduce ci times and add node17 test ( #3672 )
2021-12-25 12:18:40 +08:00
Lei Chen
2431015afa
feat: add support for case-insensitive attribute selectors ( #3673 )
...
* feat: add support for case-insensitive attribute selectors
2021-12-23 07:53:41 -08:00
Lei Chen
ee9e13b949
fix: change keyword plugin and import regexp ( #3668 )
...
* fix: change the and regexp match
* feat: change unit test
* chore: change desc
2021-11-29 11:17:50 +08:00
Lei Chen
e20c295511
[skip ci] Add issue and pull request template for better communication ( #3644 )
...
* [skip ci] add pr template
* [skip ci] add config.yml
* [skip ci] add bug.md
* chore: add blankspace
* [skip ci] make template be more clean
2021-11-29 11:14:20 +08:00
Lei Chen
8669fa50f9
[skip ci]chore: add missing changelog info ( #3669 )
...
* chore: add missing changlog
* [skip ci] add issue ref link
2021-11-29 11:08:09 +08:00
langren1353
f61318851b
Update utils.js ( #3656 )
...
fix when script run with TamperMonkey or GreaseMonkey tag is null
2021-11-11 19:35:31 +08:00
gzb1128
8666b01e4f
fix #3646 , forcefully change unsupported input to strings ( #3658 )
...
Co-authored-by: gzb1128 <gzb1128@foxmail.com >
2021-11-11 19:22:02 +08:00
Lei Chen
a10c3399d3
chore: fix less project ci ( #3652 )
...
* chore: fix less ci
* fix: add missing semver require
* fix: fix the error format and file path
* chore: fix error format
* chore: fix test snapshot
* chore: fix error position
v4.1.2
2021-10-06 15:58:01 -07:00
Matthew Dean
836391212a
Release v4.1.2 ( #3651 )
2021-10-04 08:10:59 -07:00
ChenLei
36bb6cef7c
[skip ci] Add github CI status badge and npm downloads badge ( #3631 )
...
* Add github CI status badge and npm downloads badge
* [skip ci] skip ci test commit
2021-07-04 06:46:00 +08:00
Curtis Wilson
1aecbb766b
Fix needle dependency warning typo. ( #3630 )
2021-07-03 11:48:43 +08:00
ChenLei
3173fddd64
chore: upgrade typescript/eslint related dependencies, drop node8 and add node16 CI support ( #3628 )
...
* chore: upgrade typescript related dependencies
* chore: add issue comment link
* chore: fix eslint ci add node16 support and drop node8 support
* Revert node16 support
* Add specifying nodejs_version install script
* support windows platform ci
* fix: cross-env bin
* fix: move cross-env location and delete outdated code
* Delete appveyor.yml
https://github.com/less/less.js/pull/3629#issuecomment-870469346 remove appveyor for fast ci.
2021-07-03 11:43:51 +08:00
ChenLei
1ab41c1ac8
chore: migrate travis-ci.org to github actions ( #3629 )
...
* chore: add empty github actions yaml
* Update and rename test.yaml to ci.yaml
Add gitlab actions ci.yml for better test infra for less.js project!
* Update ci.yaml
* Update and rename ci.yaml to ci.yml
* Update ci.yml
* Update ci.yml
* Update ci.yml
* Add npm cache
* Delete unused travis-ci.org CI script yaml file
2021-07-03 11:17:41 +08:00
ChenLei
c518180098
Fix #3616 IfStatement requires double parentheses when dividing ( #3626 )
...
* fix: fix the special parens case
* fix the issue number
2021-06-12 10:19:49 -07:00
Bart Bakker
b37922cfb2
Fix currentFileInfo and index properties on nodes ( #3602 )
...
These fields are accessed by other tools such as parcel (for resolving local
asset URLs). As per 257efdd688 the behavior with
(at least) parcel for relative paths in sub-directries changed. Prior to that
commit (last release 3.12.2) assets were resolved relative to the less module
that contains the `url(..)`. From release 3.13.0 parcel resolves assets relative
to the root less module, because no `currentFileInfo` is available.
This is caused by tree nodes setting their prototype to an instance of
`Node`. This leaves the `self` reference in `Node`s constructor pointing to the
prototype, not the actual instance the data is set on. Replacing this with
properties defined on `Node`s prototype fixes this.
2021-02-08 10:23:43 -08:00
Matthew Dean
870f9b2d81
Simplify badges on Readme
2021-01-30 20:07:14 -08:00
Matthew Dean
42cd04f1f8
Edit Readme
2021-01-30 20:02:19 -08:00
Matthew Dean
870b337701
Remove FUNDING.yml
2021-01-30 19:59:23 -08:00
Matthew Dean
f4e752904f
Merge branch 'master' of https://github.com/less/less.js
v4.1.1
2021-01-30 19:53:54 -08:00
Matthew Dean
9538abae09
Release/v4.1.1 ( #3599 )
...
* v4.1.1
* Update dist files
2021-01-30 19:53:41 -08:00
Matthew Dean
4cc9b8346f
Merge branch 'master' of https://github.com/less/less.js
2021-01-30 19:41:55 -08:00
Matthew Dean
9d9e650890
v4.1.1
2021-01-30 19:39:36 -08:00
Matthew Dean
f727b26de5
Fixes #3586 ( #3589 )
2021-01-29 11:12:08 -08:00
Francis Levasseur
63c1827c63
Fix expected response when there's a socket error ( #3597 )
...
In the case of a network issue, there's an error but no response, so no statusCode, This fixes it
Fixes #3594
2021-01-29 11:10:38 -08:00
Matthew Dean
3c23217358
Release v4.1.0
2021-01-09 18:39:57 -08:00
Matthew Dean
d495fb26a8
v4.1.0
v4.1.0
2021-01-09 18:39:05 -08:00
Matthew Dean
a4b6c8544c
Roll back paren requirement on mixin calls ( #3588 )
2021-01-09 18:35:26 -08:00
Pirate Praveen Arimbrathodiyil
7f1938ec10
Update rollup and other build dependencies ( #3583 )
2021-01-02 20:03:20 -08:00
zaquest
ec74875864
Fix #3576 import redirects. Replace native-request with needle. ( #3582 )
...
* Fix #3576 import redirects. Replace native-request with needle.
* Downgrade nock to support node 8
2021-01-02 20:02:20 -08:00
Matthew Dean
bfad962bae
Update changelog.md
2020-12-18 10:09:34 -08:00
Matthew Dean
d3ef7c214d
Updated dist files
v4.0.0
2020-12-18 10:06:03 -08:00
Matthew Dean
dc3a310530
v4.0.0 ( #3573 )
...
* Remove math=strict-legacy, set default=parens-division
* Support for comma-less color functions
* Require parens after mixin call
* Output invalid JS functions in CSS
* Escape parens and revert pass-through function errors
* Remove ieCompat option
* Remove non-performant class pattern
* Add isdefined() function
2020-12-18 10:03:08 -08:00
Matthew Dean
283b1b4d8b
Fixes #3574 ( #3575 )
...
* Fixes #3574
* Bump version and dist files
v3.13.1
2020-12-18 07:49:43 -08:00
Matthew Dean
5423802e13
Update CHANGELOG.md
2020-12-11 18:14:31 -08:00
Matthew Dean
257efdd688
Fixes #3434 - memory / runtime improvements ( #3572 )
...
* Remove class extends pattern for nodes
* Fix node benchmark
* v3.13.0
* Restore tree caching
v3.13.0
2020-12-11 18:00:22 -08:00
Matthew Dean
0e268598c8
Examples contain more valid CSS, to test with a new parser ( #3550 )
...
* Make Less tests contain more valid CSS
2020-07-28 17:48:59 -07:00
Matthew Dean
76132ef5e1
Bug fixes - fixes #3446 #3368 ( #3546 )
...
* Fixes #3446
* Fixes #3368
2020-07-28 17:23:22 -07:00
Matthew Dean
ef4baa5bb2
Release 3.12.2 ( #3545 )
...
* Release v3.12.2
v3.12.2
2020-07-16 08:59:23 -07:00
Matthew Dean
b93a0857c5
Fixes #3533 ( #3544 )
...
* Fixes #3533
2020-07-16 07:31:48 -07:00
Matthew Dean
e188f440c4
Fixes #3541 ( #3543 )
2020-07-16 07:31:03 -07:00
Matthew Dean
28701638be
Update changelog
2020-07-13 08:29:45 -07:00
Matthew Dean
e4f7551121
v3.12.0
v3.12.0
2020-07-13 08:17:34 -07:00
Matthew Dean
371185c71d
v3.12.0-RC.2 ( #3540 )
2020-07-13 08:14:24 -07:00
Matthew Dean
d5aa9d1503
Fixes #3371 Allow conditional evaluation of function args ( #3532 )
2020-07-13 07:17:59 -07:00
Matthew Dean
a722237c1f
Remove lib folder from git ( #3531 )
...
* Remove lib from repo
* Add lib folder to .gitignore
* Remove src from publish
2020-07-06 20:24:29 -07:00
Matthew Dean
e0f5c1a156
Move changelog to root ( #3530 )
2020-07-06 19:04:38 -07:00
Matthew Dean
f7bdce79fd
Duplicate dist files in root for older links ( #3529 )
...
* Move dist files to root of repo
* Ignore dist in less package
* Duplicate dist files
2020-07-06 18:47:45 -07:00