diff --git a/lib/index.d.ts b/lib/index.d.ts index e21cbe5..dd0f46b 100644 --- a/lib/index.d.ts +++ b/lib/index.d.ts @@ -10,7 +10,6 @@ */ import * as postcss from "postcss"; -import * as postcssNode from "postcss/lib/node"; // Even though the concrete classes extend PostCSS classes, we can't extend // PostCSS Node types here because they refer to statements that aren't @@ -32,7 +31,7 @@ export interface NodeBase { toString(stringifier?: Stringifier | Syntax): string; error( message: string, - options?: postcssNode.NodeErrorOptions + options?: postcss.NodeErrorOptions ): postcss.CssSyntaxError; warn( result: postcss.Result, diff --git a/package-lock.json b/package-lock.json index 6f8d2f6..32b3082 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1236,9 +1236,9 @@ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" }, "colorette": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/colorette/-/colorette-1.2.1.tgz", - "integrity": "sha512-puCDz0CzydiSYOrnXpz/PKd69zRrribezjtE9yd4zvytoRc8+RY/KJPvtPFKZS3E3wP6neGyMe0vOTlHO5L3Pw==", + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/colorette/-/colorette-1.2.2.tgz", + "integrity": "sha512-MKGMzyfeuutC/ZJ1cba9NqcNpfeqMUcYmyF1ZFY6/Cn7CNSAKx6a+s48sqLqyAiZuaP2TcqMhoo+dlwFnVxT9w==", "dev": true }, "commander": { @@ -3343,27 +3343,6 @@ "type-check": "~0.3.2" } }, - "line-column": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/line-column/-/line-column-1.0.2.tgz", - "integrity": "sha1-0lryk2tvSEkXKzEuR5LR2Ye8NKI=", - "dev": true, - "requires": { - "isarray": "^1.0.0", - "isobject": "^2.0.0" - }, - "dependencies": { - "isobject": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz", - "integrity": "sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=", - "dev": true, - "requires": { - "isarray": "1.0.0" - } - } - } - }, "lines-and-columns": { "version": "1.1.6", "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.1.6.tgz", @@ -3706,9 +3685,9 @@ "dev": true }, "nanoid": { - "version": "3.1.12", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.1.12.tgz", - "integrity": "sha512-1qstj9z5+x491jfiC4Nelk+f8XBad7LN20PmyWINJEMRSf3wcAjAWysw1qaA8z6NSKe2sjq1hRSDpBH5paCb6A==", + "version": "3.1.22", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.1.22.tgz", + "integrity": "sha512-/2ZUaJX2ANuLtTvqTlgqBQNJoQO398KyJgZloL0PZkC0dpysjncRUPsFe3DUPzz/y3h+u7C46np8RMuvF3jsSQ==", "dev": true }, "natural-compare": { @@ -4258,14 +4237,13 @@ } }, "postcss": { - "version": "8.0.9", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.0.9.tgz", - "integrity": "sha512-9Ikq03Hvb/L6dgnOtNOUbcgg9Rsff5uKrI1TyNTQ2ALpa6psZk1Ar3/Hhxv2Q0rECRGDxtcMUTZIQglXozlrDQ==", + "version": "8.2.9", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.2.9.tgz", + "integrity": "sha512-b+TmuIL4jGtCHtoLi+G/PisuIl9avxs8IZMSmlABRwNz5RLUUACrC+ws81dcomz1nRezm5YPdXiMEzBEKgYn+Q==", "dev": true, "requires": { - "colorette": "^1.2.1", - "line-column": "^1.0.2", - "nanoid": "^3.1.12", + "colorette": "^1.2.2", + "nanoid": "^3.1.22", "source-map": "^0.6.1" } }, diff --git a/package.json b/package.json index c337892..04161ee 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "lint-staged": "^10.4.0", "nyc": "^15.1.0", "perfy": "^1.1.5", - "postcss": "^8.0.9", + "postcss": "^8.2.9", "postcss-value-parser": "^4.1.0", "pre-commit": "^1.2.2", "prettier": "^2.1.2", @@ -53,7 +53,7 @@ "typescript": "^4.2.3" }, "peerDependencies": { - "postcss": "^8.0.9" + "postcss": "^8.2.9" }, "keywords": [ "css", diff --git a/test/snapshots/atword.test.js.md b/test/snapshots/atword.test.js.md index aec85f0..581eedd 100644 --- a/test/snapshots/atword.test.js.md +++ b/test/snapshots/atword.test.js.md @@ -28,9 +28,11 @@ Generated by [AVA](https://avajs.dev). source: { input: Input { css: ' @word ', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 3, @@ -39,7 +41,6 @@ Generated by [AVA](https://avajs.dev). }, }, type: 'atword', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] diff --git a/test/snapshots/atword.test.js.snap b/test/snapshots/atword.test.js.snap index d08a643..9759f8e 100644 Binary files a/test/snapshots/atword.test.js.snap and b/test/snapshots/atword.test.js.snap differ diff --git a/test/snapshots/comment.test.js.md b/test/snapshots/comment.test.js.md index 7a38fe8..902a0ba 100644 --- a/test/snapshots/comment.test.js.md +++ b/test/snapshots/comment.test.js.md @@ -32,9 +32,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '/**/', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -44,7 +46,6 @@ Generated by [AVA](https://avajs.dev). }, text: '', type: 'comment', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -83,9 +84,13 @@ Generated by [AVA](https://avajs.dev). css: `/*before*/␊ //between␊ /*after*/`, - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + 11, + 21, + ], }, start: { column: 1, @@ -95,7 +100,6 @@ Generated by [AVA](https://avajs.dev). }, text: 'before', type: 'comment', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Comment { @@ -116,9 +120,13 @@ Generated by [AVA](https://avajs.dev). css: `/*before*/␊ //between␊ /*after*/`, - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + 11, + 21, + ], }, start: { column: 1, @@ -128,7 +136,6 @@ Generated by [AVA](https://avajs.dev). }, text: 'between', type: 'comment', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Comment { @@ -149,9 +156,13 @@ Generated by [AVA](https://avajs.dev). css: `/*before*/␊ //between␊ /*after*/`, - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + 11, + 21, + ], }, start: { column: 1, @@ -161,7 +172,6 @@ Generated by [AVA](https://avajs.dev). }, text: 'after', type: 'comment', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -194,9 +204,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '/*before*/ 1px /*between*/ 1px /*after*/', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -206,7 +218,6 @@ Generated by [AVA](https://avajs.dev). }, text: 'before', type: 'comment', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Numeric { @@ -222,9 +233,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '/*before*/ 1px /*between*/ 1px /*after*/', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 12, @@ -235,7 +248,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: 'px', value: '1', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Comment { @@ -253,9 +265,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '/*before*/ 1px /*between*/ 1px /*after*/', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 16, @@ -265,7 +279,6 @@ Generated by [AVA](https://avajs.dev). }, text: 'between', type: 'comment', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Numeric { @@ -281,9 +294,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '/*before*/ 1px /*between*/ 1px /*after*/', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 28, @@ -294,7 +309,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: 'px', value: '1', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Comment { @@ -312,9 +326,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '/*before*/ 1px /*between*/ 1px /*after*/', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 32, @@ -324,7 +340,6 @@ Generated by [AVA](https://avajs.dev). }, text: 'after', type: 'comment', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -357,9 +372,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '//', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -369,7 +386,6 @@ Generated by [AVA](https://avajs.dev). }, text: '', type: 'comment', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -405,9 +421,12 @@ Generated by [AVA](https://avajs.dev). input: Input { css: `//␊ `, - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + 3, + ], }, start: { column: 1, @@ -417,7 +436,6 @@ Generated by [AVA](https://avajs.dev). }, text: '', type: 'comment', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -459,9 +477,14 @@ Generated by [AVA](https://avajs.dev). 1px //between␊ 1px //after␊ `, - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + 9, + 24, + 37, + ], }, start: { column: 1, @@ -471,7 +494,6 @@ Generated by [AVA](https://avajs.dev). }, text: 'before', type: 'comment', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Numeric { @@ -491,9 +513,14 @@ Generated by [AVA](https://avajs.dev). 1px //between␊ 1px //after␊ `, - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + 9, + 24, + 37, + ], }, start: { column: 2, @@ -504,7 +531,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: 'px', value: '1', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Comment { @@ -525,9 +551,14 @@ Generated by [AVA](https://avajs.dev). 1px //between␊ 1px //after␊ `, - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + 9, + 24, + 37, + ], }, start: { column: 6, @@ -537,7 +568,6 @@ Generated by [AVA](https://avajs.dev). }, text: 'between', type: 'comment', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Numeric { @@ -557,9 +587,14 @@ Generated by [AVA](https://avajs.dev). 1px //between␊ 1px //after␊ `, - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + 9, + 24, + 37, + ], }, start: { column: 2, @@ -570,7 +605,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: 'px', value: '1', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Comment { @@ -591,9 +625,14 @@ Generated by [AVA](https://avajs.dev). 1px //between␊ 1px //after␊ `, - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + 9, + 24, + 37, + ], }, start: { column: 6, @@ -603,7 +642,6 @@ Generated by [AVA](https://avajs.dev). }, text: 'after', type: 'comment', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -642,9 +680,13 @@ Generated by [AVA](https://avajs.dev). css: `//before␊ /*between*/␊ //after`, - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + 9, + 21, + ], }, start: { column: 1, @@ -654,7 +696,6 @@ Generated by [AVA](https://avajs.dev). }, text: 'before', type: 'comment', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Comment { @@ -675,9 +716,13 @@ Generated by [AVA](https://avajs.dev). css: `//before␊ /*between*/␊ //after`, - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + 9, + 21, + ], }, start: { column: 1, @@ -687,7 +732,6 @@ Generated by [AVA](https://avajs.dev). }, text: 'between', type: 'comment', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Comment { @@ -708,9 +752,13 @@ Generated by [AVA](https://avajs.dev). css: `//before␊ /*between*/␊ //after`, - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + 9, + 21, + ], }, start: { column: 1, @@ -720,7 +768,6 @@ Generated by [AVA](https://avajs.dev). }, text: 'after', type: 'comment', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] diff --git a/test/snapshots/comment.test.js.snap b/test/snapshots/comment.test.js.snap index 6409f47..578e46a 100644 Binary files a/test/snapshots/comment.test.js.snap and b/test/snapshots/comment.test.js.snap differ diff --git a/test/snapshots/func.test.js.md b/test/snapshots/func.test.js.md index b36f57f..4178005 100644 --- a/test/snapshots/func.test.js.md +++ b/test/snapshots/func.test.js.md @@ -36,9 +36,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '0', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -49,7 +51,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: '', value: '0', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ], @@ -67,9 +68,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '-webkit-linear-gradient(0)', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -78,7 +81,6 @@ Generated by [AVA](https://avajs.dev). }, }, type: 'func', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -109,9 +111,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '1em/var(--line-height)', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -122,7 +126,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: 'em', value: '1', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Operator { @@ -138,9 +141,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '1em/var(--line-height)', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -150,7 +155,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'operator', value: '/', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Func { @@ -176,9 +180,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '--line-height', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -188,7 +194,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'word', value: '--line-height', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ], @@ -206,9 +211,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '1em/var(--line-height)', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -217,7 +224,6 @@ Generated by [AVA](https://avajs.dev). }, }, type: 'func', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -254,9 +260,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: ' 40% 56.6 39 ', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 2, @@ -267,7 +275,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: '%', value: '40', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Numeric { @@ -284,9 +291,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: ' 40% 56.6 39 ', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 7, @@ -297,7 +306,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: '', value: '56.6', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Numeric { @@ -314,9 +322,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: ' 40% 56.6 39 ', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 14, @@ -327,7 +337,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: '', value: '39', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ], @@ -345,9 +354,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'Lab( 40% 56.6 39 )', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -356,7 +367,6 @@ Generated by [AVA](https://avajs.dev). }, }, type: 'func', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -393,9 +403,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: ' 29, 439 , 29 ', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 2, @@ -406,7 +418,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: '', value: '29', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Punctuation { @@ -423,9 +434,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: ' 29, 439 , 29 ', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 2, @@ -435,7 +448,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'punctuation', value: ',', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Numeric { @@ -452,9 +464,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: ' 29, 439 , 29 ', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 6, @@ -465,7 +479,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: '', value: '439', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Punctuation { @@ -482,9 +495,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: ' 29, 439 , 29 ', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 10, @@ -494,7 +509,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'punctuation', value: ',', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Numeric { @@ -511,9 +525,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: ' 29, 439 , 29 ', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 12, @@ -524,7 +540,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: '', value: '29', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ], @@ -542,9 +557,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'RGBA( 29, 439 , 29 )', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -553,7 +570,6 @@ Generated by [AVA](https://avajs.dev). }, }, type: 'func', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -590,9 +606,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: ' 29, 439 , 29 ', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 2, @@ -603,7 +621,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: '', value: '29', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Punctuation { @@ -620,9 +637,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: ' 29, 439 , 29 ', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 2, @@ -632,7 +651,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'punctuation', value: ',', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Numeric { @@ -649,9 +667,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: ' 29, 439 , 29 ', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 6, @@ -662,7 +682,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: '', value: '439', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Punctuation { @@ -679,9 +698,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: ' 29, 439 , 29 ', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 10, @@ -691,7 +712,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'punctuation', value: ',', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Numeric { @@ -708,9 +728,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: ' 29, 439 , 29 ', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 12, @@ -721,7 +743,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: '', value: '29', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ], @@ -739,9 +760,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'RgBa( 29, 439 , 29 )', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -750,7 +773,6 @@ Generated by [AVA](https://avajs.dev). }, }, type: 'func', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -796,9 +818,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'black, 10%', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -808,7 +832,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'word', value: 'black', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Punctuation { @@ -825,9 +848,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'black, 10%', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -837,7 +862,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'punctuation', value: ',', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Numeric { @@ -854,9 +878,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'black, 10%', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 8, @@ -867,7 +893,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: '%', value: '10', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ], @@ -886,9 +911,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'baz(black, 10%), 10%', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -897,7 +924,6 @@ Generated by [AVA](https://avajs.dev). }, }, type: 'func', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Punctuation { @@ -914,9 +940,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'baz(black, 10%), 10%', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 16, @@ -926,7 +954,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'punctuation', value: ',', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Numeric { @@ -943,9 +970,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'baz(black, 10%), 10%', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 18, @@ -956,7 +985,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: '%', value: '10', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ], @@ -974,9 +1002,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'bar(baz(black, 10%), 10%)', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -985,7 +1015,6 @@ Generated by [AVA](https://avajs.dev). }, }, type: 'func', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -1026,9 +1055,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '#000', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -1038,7 +1069,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'word', value: '#000', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ], @@ -1056,9 +1086,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'bat-man(#000)', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -1067,7 +1099,6 @@ Generated by [AVA](https://avajs.dev). }, }, type: 'func', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -1104,9 +1135,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '((768px - 100vw) / 2) - 15px', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -1116,7 +1149,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'punctuation', value: '(', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Punctuation { @@ -1133,9 +1165,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '((768px - 100vw) / 2) - 15px', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 2, @@ -1145,7 +1179,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'punctuation', value: '(', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Numeric { @@ -1162,9 +1195,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '((768px - 100vw) / 2) - 15px', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -1175,7 +1210,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: 'px', value: '768', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Operator { @@ -1192,9 +1226,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '((768px - 100vw) / 2) - 15px', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 7, @@ -1204,7 +1240,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'operator', value: '-', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Numeric { @@ -1221,9 +1256,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '((768px - 100vw) / 2) - 15px', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 9, @@ -1234,7 +1271,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: 'vw', value: '100', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Punctuation { @@ -1251,9 +1287,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '((768px - 100vw) / 2) - 15px', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 2, @@ -1263,7 +1301,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'punctuation', value: ')', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Operator { @@ -1280,9 +1317,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '((768px - 100vw) / 2) - 15px', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 18, @@ -1292,7 +1331,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'operator', value: '/', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Numeric { @@ -1309,9 +1347,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '((768px - 100vw) / 2) - 15px', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 20, @@ -1322,7 +1362,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: '', value: '2', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Punctuation { @@ -1339,9 +1378,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '((768px - 100vw) / 2) - 15px', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 21, @@ -1351,7 +1392,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'punctuation', value: ')', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Operator { @@ -1368,9 +1408,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '((768px - 100vw) / 2) - 15px', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 23, @@ -1380,7 +1422,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'operator', value: '-', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Numeric { @@ -1397,9 +1438,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '((768px - 100vw) / 2) - 15px', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 25, @@ -1410,7 +1453,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: 'px', value: '15', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ], @@ -1428,9 +1470,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'calc(((768px - 100vw) / 2) - 15px)', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -1439,7 +1483,6 @@ Generated by [AVA](https://avajs.dev). }, }, type: 'func', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -1476,9 +1519,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '-0.5 * var(foo)', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -1489,7 +1534,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: '', value: '-0.5', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Operator { @@ -1506,9 +1550,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '-0.5 * var(foo)', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 6, @@ -1518,7 +1564,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'operator', value: '*', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Func { @@ -1544,9 +1589,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'foo', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -1556,7 +1603,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'word', value: 'foo', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ], @@ -1575,9 +1621,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '-0.5 * var(foo)', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 8, @@ -1586,7 +1634,6 @@ Generated by [AVA](https://avajs.dev). }, }, type: 'func', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ], @@ -1604,9 +1651,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'calc(-0.5 * var(foo))', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -1615,7 +1664,6 @@ Generated by [AVA](https://avajs.dev). }, }, type: 'func', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -1652,9 +1700,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '1px + -2vw - 4px', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -1665,7 +1715,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: 'px', value: '1', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Operator { @@ -1682,9 +1731,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '1px + -2vw - 4px', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 5, @@ -1694,7 +1745,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'operator', value: '+', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Numeric { @@ -1711,9 +1761,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '1px + -2vw - 4px', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 7, @@ -1724,7 +1776,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: 'vw', value: '-2', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Operator { @@ -1741,9 +1792,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '1px + -2vw - 4px', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 12, @@ -1753,7 +1806,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'operator', value: '-', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Numeric { @@ -1770,9 +1822,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '1px + -2vw - 4px', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 14, @@ -1783,7 +1837,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: 'px', value: '4', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ], @@ -1801,9 +1854,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'calc(1px + -2vw - 4px)', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -1812,7 +1867,6 @@ Generated by [AVA](https://avajs.dev). }, }, type: 'func', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -1848,9 +1902,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'conic-gradient()', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -1859,7 +1915,6 @@ Generated by [AVA](https://avajs.dev). }, }, type: 'func', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -1896,9 +1951,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '90deg 0% 0% / 0.5', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -1909,7 +1966,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: 'deg', value: '90', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Numeric { @@ -1926,9 +1982,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '90deg 0% 0% / 0.5', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 7, @@ -1939,7 +1997,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: '%', value: '0', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Numeric { @@ -1956,9 +2013,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '90deg 0% 0% / 0.5', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 10, @@ -1969,7 +2028,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: '%', value: '0', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Operator { @@ -1986,9 +2044,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '90deg 0% 0% / 0.5', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 13, @@ -1998,7 +2058,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'operator', value: '/', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Numeric { @@ -2015,9 +2074,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '90deg 0% 0% / 0.5', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 15, @@ -2028,7 +2089,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: '', value: '0.5', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ], @@ -2046,9 +2106,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'hwb(90deg 0% 0% / 0.5)', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -2057,7 +2119,6 @@ Generated by [AVA](https://avajs.dev). }, }, type: 'func', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -2094,9 +2155,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '40% 68.8 34.5 / 50%', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -2107,7 +2170,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: '%', value: '40', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Numeric { @@ -2124,9 +2186,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '40% 68.8 34.5 / 50%', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 5, @@ -2137,7 +2201,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: '', value: '68.8', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Numeric { @@ -2154,9 +2217,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '40% 68.8 34.5 / 50%', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 10, @@ -2167,7 +2232,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: '', value: '34.5', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Operator { @@ -2184,9 +2248,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '40% 68.8 34.5 / 50%', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 15, @@ -2196,7 +2262,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'operator', value: '/', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Numeric { @@ -2213,9 +2278,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '40% 68.8 34.5 / 50%', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 17, @@ -2226,7 +2293,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: '%', value: '50', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ], @@ -2244,9 +2310,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'lCH(40% 68.8 34.5 / 50%)', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -2255,7 +2323,6 @@ Generated by [AVA](https://avajs.dev). }, }, type: 'func', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -2296,9 +2363,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'foo', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -2308,7 +2377,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'word', value: 'foo', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ], @@ -2326,9 +2394,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'local(foo),local(bar)', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -2337,7 +2407,6 @@ Generated by [AVA](https://avajs.dev). }, }, type: 'func', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Punctuation { @@ -2353,9 +2422,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'local(foo),local(bar)', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 11, @@ -2365,7 +2436,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'punctuation', value: ',', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Func { @@ -2391,9 +2461,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'bar', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -2403,7 +2475,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'word', value: 'bar', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ], @@ -2421,9 +2492,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'local(foo),local(bar)', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 11, @@ -2432,7 +2505,6 @@ Generated by [AVA](https://avajs.dev). }, }, type: 'func', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -2469,9 +2541,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: ' 29, 439 , 29 ', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 2, @@ -2482,7 +2556,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: '', value: '29', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Punctuation { @@ -2499,9 +2572,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: ' 29, 439 , 29 ', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 2, @@ -2511,7 +2586,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'punctuation', value: ',', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Numeric { @@ -2528,9 +2602,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: ' 29, 439 , 29 ', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 6, @@ -2541,7 +2617,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: '', value: '439', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Punctuation { @@ -2558,9 +2633,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: ' 29, 439 , 29 ', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 10, @@ -2570,7 +2647,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'punctuation', value: ',', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Numeric { @@ -2587,9 +2663,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: ' 29, 439 , 29 ', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 12, @@ -2600,7 +2678,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: '', value: '29', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ], @@ -2618,9 +2695,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'rgba( 29, 439 , 29 )', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -2629,7 +2708,6 @@ Generated by [AVA](https://avajs.dev). }, }, type: 'func', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -2666,9 +2744,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '.5deg', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -2679,7 +2759,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: 'deg', value: '.5', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ], @@ -2697,9 +2776,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'rotate(.5deg)', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -2708,7 +2789,6 @@ Generated by [AVA](https://avajs.dev). }, }, type: 'func', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -2745,9 +2825,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '0.5deg', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -2758,7 +2840,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: 'deg', value: '0.5', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ], @@ -2776,9 +2857,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'rotate(0.5deg)', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -2787,7 +2870,6 @@ Generated by [AVA](https://avajs.dev). }, }, type: 'func', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -2824,9 +2906,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '0.5grad', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -2837,7 +2921,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: 'grad', value: '0.5', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ], @@ -2855,9 +2938,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'rotate(0.5grad)', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -2866,7 +2951,6 @@ Generated by [AVA](https://avajs.dev). }, }, type: 'func', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -2903,9 +2987,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '0.5rad', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -2916,7 +3002,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: 'rad', value: '0.5', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ], @@ -2934,9 +3019,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'rotate(0.5rad)', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -2945,7 +3032,6 @@ Generated by [AVA](https://avajs.dev). }, }, type: 'func', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -2982,9 +3068,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '0.5turn', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -2995,7 +3083,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: 'turn', value: '0.5', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ], @@ -3013,9 +3100,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'rotate(0.5turn)', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -3024,7 +3113,6 @@ Generated by [AVA](https://avajs.dev). }, }, type: 'func', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -3061,9 +3149,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '72.3deg', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -3074,7 +3164,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: 'deg', value: '72.3', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ], @@ -3092,9 +3181,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'rotate(72.3deg)', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -3103,7 +3194,6 @@ Generated by [AVA](https://avajs.dev). }, }, type: 'func', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -3142,9 +3232,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: ' "/gfx/img/bg.jpg" ', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 2, @@ -3154,7 +3246,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'quoted', value: '"/gfx/img/bg.jpg"', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ], @@ -3172,9 +3263,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'url( "/gfx/img/bg.jpg" )', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -3183,7 +3276,6 @@ Generated by [AVA](https://avajs.dev). }, }, type: 'func', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -3222,9 +3314,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: ' "http://domain.com/gfx/img/bg.jpg" ', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 2, @@ -3234,7 +3328,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'quoted', value: '"http://domain.com/gfx/img/bg.jpg"', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ], @@ -3252,9 +3345,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'url( "http://domain.com/gfx/img/bg.jpg" )', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -3263,7 +3358,6 @@ Generated by [AVA](https://avajs.dev). }, }, type: 'func', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -3302,9 +3396,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: ' \'/gfx/img/bg.jpg\' ', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 2, @@ -3314,7 +3410,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'quoted', value: '\'/gfx/img/bg.jpg\'', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ], @@ -3332,9 +3427,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'url( \'/gfx/img/bg.jpg\' )', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -3343,7 +3440,6 @@ Generated by [AVA](https://avajs.dev). }, }, type: 'func', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -3382,9 +3478,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: ' \'http://domain.com/gfx/img/bg.jpg\' ', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 2, @@ -3394,7 +3492,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'quoted', value: '\'http://domain.com/gfx/img/bg.jpg\'', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ], @@ -3412,9 +3509,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'url( \'http://domain.com/gfx/img/bg.jpg\' )', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -3423,7 +3522,6 @@ Generated by [AVA](https://avajs.dev). }, }, type: 'func', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -3460,9 +3558,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: ' /gfx/img/bg.jpg ', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 2, @@ -3472,7 +3572,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'operator', value: '/', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Word { @@ -3493,9 +3592,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: ' /gfx/img/bg.jpg ', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 2, @@ -3505,7 +3606,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'word', value: 'gfx', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Operator { @@ -3522,9 +3622,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: ' /gfx/img/bg.jpg ', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 2, @@ -3534,7 +3636,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'operator', value: '/', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Word { @@ -3555,9 +3656,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: ' /gfx/img/bg.jpg ', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 2, @@ -3567,7 +3670,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'word', value: 'img', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Operator { @@ -3584,9 +3686,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: ' /gfx/img/bg.jpg ', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 2, @@ -3596,7 +3700,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'operator', value: '/', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Word { @@ -3617,9 +3720,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: ' /gfx/img/bg.jpg ', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 2, @@ -3629,7 +3734,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'word', value: 'bg.jpg', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ], @@ -3647,9 +3751,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'url( /gfx/img/bg.jpg )', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -3658,7 +3764,6 @@ Generated by [AVA](https://avajs.dev). }, }, type: 'func', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -3697,9 +3802,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '"/gfx/img/bg.jpg" hello ', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -3709,7 +3816,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'quoted', value: '"/gfx/img/bg.jpg"', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Word { @@ -3730,9 +3836,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '"/gfx/img/bg.jpg" hello ', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 19, @@ -3742,7 +3850,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'word', value: 'hello', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ], @@ -3760,9 +3867,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'url("/gfx/img/bg.jpg" hello )', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -3771,7 +3880,6 @@ Generated by [AVA](https://avajs.dev). }, }, type: 'func', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -3810,9 +3918,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '"http://domain.com/gfx/img/bg.jpg" hello ', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -3822,7 +3932,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'quoted', value: '"http://domain.com/gfx/img/bg.jpg"', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Word { @@ -3843,9 +3952,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '"http://domain.com/gfx/img/bg.jpg" hello ', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 36, @@ -3855,7 +3966,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'word', value: 'hello', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ], @@ -3873,9 +3983,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'url("http://domain.com/gfx/img/bg.jpg" hello )', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -3884,7 +3996,6 @@ Generated by [AVA](https://avajs.dev). }, }, type: 'func', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -3920,9 +4031,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'url()', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -3931,7 +4044,6 @@ Generated by [AVA](https://avajs.dev). }, }, type: 'func', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -3967,9 +4079,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'url() foo bar baz', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -3978,7 +4092,6 @@ Generated by [AVA](https://avajs.dev). }, }, type: 'func', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Word { @@ -3998,9 +4111,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'url() foo bar baz', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 7, @@ -4010,7 +4125,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'word', value: 'foo', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Word { @@ -4030,9 +4144,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'url() foo bar baz', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 11, @@ -4042,7 +4158,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'word', value: 'bar', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Word { @@ -4062,9 +4177,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'url() foo bar baz', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 15, @@ -4074,7 +4191,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'word', value: 'baz', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -4115,9 +4231,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '//123.example.com', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -4127,7 +4245,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'word', value: '//123.example.com', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ], @@ -4145,9 +4262,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'url(//123.example.com)', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -4156,7 +4275,6 @@ Generated by [AVA](https://avajs.dev). }, }, type: 'func', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -4197,9 +4315,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'http://123.example.com', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -4209,7 +4329,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'word', value: 'http', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Punctuation { @@ -4226,9 +4345,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'http://123.example.com', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 5, @@ -4238,7 +4359,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'punctuation', value: ':', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Word { @@ -4259,9 +4379,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'http://123.example.com', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 6, @@ -4271,7 +4393,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'word', value: '//123.example.com', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ], @@ -4289,9 +4410,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'url(http://123.example.com)', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -4300,7 +4423,6 @@ Generated by [AVA](https://avajs.dev). }, }, type: 'func', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -4346,9 +4468,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'foo', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -4358,7 +4482,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'word', value: 'foo', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ], @@ -4377,9 +4500,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'var(foo)', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -4388,7 +4513,6 @@ Generated by [AVA](https://avajs.dev). }, }, type: 'func', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ], @@ -4406,9 +4530,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'url(var(foo))', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -4417,7 +4543,6 @@ Generated by [AVA](https://avajs.dev). }, }, type: 'func', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -4458,9 +4583,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: ' --foo ', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 3, @@ -4470,7 +4597,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'word', value: '--foo', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ], @@ -4488,9 +4614,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'var( --foo )', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -4499,7 +4627,6 @@ Generated by [AVA](https://avajs.dev). }, }, type: 'func', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -4540,9 +4667,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: ' --foo', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 2, @@ -4552,7 +4681,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'word', value: '--foo', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ], @@ -4570,9 +4698,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'var( --foo)', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -4581,7 +4711,6 @@ Generated by [AVA](https://avajs.dev). }, }, type: 'func', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -4622,9 +4751,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '--foo ', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -4634,7 +4765,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'word', value: '--foo', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ], @@ -4652,9 +4782,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'var(--foo )', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -4663,7 +4795,6 @@ Generated by [AVA](https://avajs.dev). }, }, type: 'func', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -4704,9 +4835,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '--foo', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -4716,7 +4849,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'word', value: '--foo', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ], @@ -4734,9 +4866,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'var(--foo)', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -4745,7 +4879,6 @@ Generated by [AVA](https://avajs.dev). }, }, type: 'func', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -4786,9 +4919,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '--foo, default-value', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -4798,7 +4933,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'word', value: '--foo', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Punctuation { @@ -4815,9 +4949,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '--foo, default-value', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -4827,7 +4963,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'punctuation', value: ',', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Word { @@ -4848,9 +4983,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '--foo, default-value', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 8, @@ -4860,7 +4997,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'word', value: 'default-value', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ], @@ -4878,9 +5014,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'var(--foo, default-value)', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -4889,7 +5027,6 @@ Generated by [AVA](https://avajs.dev). }, }, type: 'func', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] diff --git a/test/snapshots/func.test.js.snap b/test/snapshots/func.test.js.snap index a7dbe5f..5857a59 100644 Binary files a/test/snapshots/func.test.js.snap and b/test/snapshots/func.test.js.snap differ diff --git a/test/snapshots/interpolation.test.js.md b/test/snapshots/interpolation.test.js.md index c4fbe94..5f1de81 100644 --- a/test/snapshots/interpolation.test.js.md +++ b/test/snapshots/interpolation.test.js.md @@ -33,9 +33,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '2 * 2px', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -46,7 +48,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: '', value: '2', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Operator { @@ -63,9 +64,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '2 * 2px', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 3, @@ -75,7 +78,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'operator', value: '*', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Numeric { @@ -92,9 +94,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '2 * 2px', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 5, @@ -105,7 +109,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: 'px', value: '2', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ], @@ -124,9 +127,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '#{2 * 2px}', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -135,7 +140,6 @@ Generated by [AVA](https://avajs.dev). }, }, type: 'interpolation', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -169,9 +173,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '2px', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -182,7 +188,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: 'px', value: '2', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ], @@ -201,9 +206,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '#{2px}', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -212,7 +219,6 @@ Generated by [AVA](https://avajs.dev). }, }, type: 'interpolation', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -250,9 +256,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'batman', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -262,7 +270,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'word', value: 'batman', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ], @@ -281,9 +288,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '#{batman}', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -292,7 +301,6 @@ Generated by [AVA](https://avajs.dev). }, }, type: 'interpolation', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] diff --git a/test/snapshots/interpolation.test.js.snap b/test/snapshots/interpolation.test.js.snap index 62c1587..d9cd758 100644 Binary files a/test/snapshots/interpolation.test.js.snap and b/test/snapshots/interpolation.test.js.snap differ diff --git a/test/snapshots/numeric.test.js.md b/test/snapshots/numeric.test.js.md index 1e3d94e..926016c 100644 --- a/test/snapshots/numeric.test.js.md +++ b/test/snapshots/numeric.test.js.md @@ -30,9 +30,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '+2', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -43,7 +45,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: '', value: '+2', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -74,9 +75,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '-.3s', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -87,7 +90,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: 's', value: '-.3', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -118,9 +120,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '-.3s + 0.5s', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -131,7 +135,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: 's', value: '-.3', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Operator { @@ -147,9 +150,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '-.3s + 0.5s', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 6, @@ -159,7 +164,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'operator', value: '+', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Numeric { @@ -175,9 +179,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '-.3s + 0.5s', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 8, @@ -188,7 +194,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: 's', value: '0.5', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -219,9 +224,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '-.567800E-0012780em', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -232,7 +239,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: 'em', value: '-.567800E-0012780', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -263,9 +269,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '-0.5', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -276,7 +284,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: '', value: '-0.5', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -307,9 +314,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '-16px', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -320,7 +329,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: 'px', value: '-16', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -351,9 +359,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '-16px -1px -1px -16px', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -364,7 +374,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: 'px', value: '-16', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Numeric { @@ -380,9 +389,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '-16px -1px -1px -16px', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 7, @@ -393,7 +404,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: 'px', value: '-1', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Numeric { @@ -409,9 +419,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '-16px -1px -1px -16px', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 12, @@ -422,7 +434,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: 'px', value: '-1', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Numeric { @@ -438,9 +449,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '-16px -1px -1px -16px', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 17, @@ -451,7 +464,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: 'px', value: '-16', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -482,9 +494,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '-2', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -495,7 +509,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: '', value: '-2', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -526,9 +539,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '-2px', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -539,7 +554,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: 'px', value: '-2', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -570,9 +584,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '.1E+10', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -583,7 +599,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: '', value: '.1E+10', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -614,9 +629,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '.1E-10', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -627,7 +644,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: '', value: '.1E-10', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -658,9 +674,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '.23rem', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -671,7 +689,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: 'rem', value: '.23', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -702,9 +719,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '.5deg', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -715,7 +734,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: 'deg', value: '.5', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -746,9 +764,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '0.5', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -759,7 +779,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: '', value: '0.5', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -790,9 +809,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '0.5deg', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -803,7 +824,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: 'deg', value: '0.5', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -834,9 +854,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '0.5grad', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -847,7 +869,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: 'grad', value: '0.5', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -878,9 +899,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '0.5rad', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -891,7 +914,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: 'rad', value: '0.5', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -922,9 +944,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '0.5s', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -935,7 +959,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: 's', value: '0.5', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -966,9 +989,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '0.5s + 0.5s', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -979,7 +1004,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: 's', value: '0.5', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Operator { @@ -995,9 +1019,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '0.5s + 0.5s', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 6, @@ -1007,7 +1033,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'operator', value: '+', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Numeric { @@ -1023,9 +1048,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '0.5s + 0.5s', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 8, @@ -1036,7 +1063,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: 's', value: '0.5', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -1067,9 +1093,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '1.5dppx', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -1080,7 +1108,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: 'dppx', value: '1.5', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -1111,9 +1138,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '10q', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -1124,7 +1153,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: 'q', value: '10', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -1155,9 +1183,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '1138--thx', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -1168,7 +1198,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: '--thx', value: '1138', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -1199,9 +1228,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '1E+10', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -1212,7 +1243,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: '', value: '1E+10', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -1243,9 +1273,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '1E-10', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -1256,7 +1288,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: '', value: '1E-10', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -1287,9 +1318,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '1E10', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -1300,7 +1333,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: '', value: '1E10', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -1331,9 +1363,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '1e+10', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -1344,7 +1378,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: '', value: '1e+10', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -1375,9 +1408,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '1e-10', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -1388,7 +1423,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: '', value: '1e-10', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -1419,9 +1453,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '1e10', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -1432,7 +1468,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: '', value: '1e10', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -1463,9 +1498,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '2.', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -1476,7 +1513,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: '', value: '2.', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -1507,9 +1543,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '32deg', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -1520,7 +1558,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: 'deg', value: '32', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -1551,9 +1588,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '5 + 5', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -1564,7 +1603,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: '', value: '5', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Operator { @@ -1580,9 +1618,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '5 + 5', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 3, @@ -1592,7 +1632,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'operator', value: '+', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Numeric { @@ -1608,9 +1647,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '5 + 5', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 5, @@ -1621,7 +1662,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: '', value: '5', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -1652,9 +1692,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '5 +5', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -1665,7 +1707,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: '', value: '5', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Numeric { @@ -1681,9 +1722,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '5 +5', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 3, @@ -1694,7 +1737,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: '', value: '+5', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -1725,9 +1767,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '5/5', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -1738,7 +1782,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: '', value: '5', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Operator { @@ -1754,9 +1797,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '5/5', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -1766,7 +1811,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'operator', value: '/', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Numeric { @@ -1782,9 +1826,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '5/5', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -1795,7 +1841,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: '', value: '5', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -1826,9 +1871,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '500ms', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -1839,7 +1886,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: 'ms', value: '500', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -1870,9 +1916,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '72.3deg', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -1883,7 +1931,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: 'deg', value: '72.3', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] diff --git a/test/snapshots/numeric.test.js.snap b/test/snapshots/numeric.test.js.snap index a8e4fd5..d2e5ab8 100644 Binary files a/test/snapshots/numeric.test.js.snap and b/test/snapshots/numeric.test.js.snap differ diff --git a/test/snapshots/operator.test.js.md b/test/snapshots/operator.test.js.md index 98c14be..db29505 100644 --- a/test/snapshots/operator.test.js.md +++ b/test/snapshots/operator.test.js.md @@ -30,9 +30,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '10 % modulo', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -43,7 +45,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: '', value: '10', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Operator { @@ -59,9 +60,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '10 % modulo', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 4, @@ -71,7 +74,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'operator', value: '%', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Word { @@ -91,9 +93,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '10 % modulo', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 6, @@ -103,7 +107,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'word', value: 'modulo', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -134,9 +137,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '2 * 10', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -147,7 +152,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: '', value: '2', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Operator { @@ -163,9 +167,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '2 * 10', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 3, @@ -175,7 +181,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'operator', value: '*', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Numeric { @@ -191,9 +196,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '2 * 10', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 5, @@ -204,7 +211,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: '', value: '10', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -235,9 +241,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '2 / 10', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -248,7 +256,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: '', value: '2', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Operator { @@ -264,9 +271,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '2 / 10', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 3, @@ -276,7 +285,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'operator', value: '/', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Numeric { @@ -292,9 +300,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '2 / 10', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 5, @@ -305,7 +315,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: '', value: '10', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] diff --git a/test/snapshots/operator.test.js.snap b/test/snapshots/operator.test.js.snap index 51cd811..85a5a8c 100644 Binary files a/test/snapshots/operator.test.js.snap and b/test/snapshots/operator.test.js.snap differ diff --git a/test/snapshots/punctuation.test.js.md b/test/snapshots/punctuation.test.js.md index 8799799..80a4ac6 100644 --- a/test/snapshots/punctuation.test.js.md +++ b/test/snapshots/punctuation.test.js.md @@ -30,9 +30,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '(1,2)', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -42,7 +44,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'punctuation', value: '(', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Numeric { @@ -58,9 +59,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '(1,2)', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -71,7 +74,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: '', value: '1', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Punctuation { @@ -87,9 +89,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '(1,2)', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -99,7 +103,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'punctuation', value: ',', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Numeric { @@ -115,9 +118,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '(1,2)', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -128,7 +133,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: '', value: '2', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Punctuation { @@ -144,9 +148,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '(1,2)', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -156,7 +162,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'punctuation', value: ')', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -187,9 +192,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: ')', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -199,7 +206,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'punctuation', value: ')', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -230,9 +236,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: ',', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -242,7 +250,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'punctuation', value: ',', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -273,9 +280,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: ', : ( ) { } [ ]', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -285,7 +294,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'punctuation', value: ',', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Punctuation { @@ -301,9 +309,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: ', : ( ) { } [ ]', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 3, @@ -313,7 +323,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'punctuation', value: ':', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Punctuation { @@ -329,9 +338,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: ', : ( ) { } [ ]', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 5, @@ -341,7 +352,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'punctuation', value: '(', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Punctuation { @@ -357,9 +367,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: ', : ( ) { } [ ]', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 5, @@ -369,7 +381,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'punctuation', value: ')', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Punctuation { @@ -385,9 +396,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: ', : ( ) { } [ ]', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 9, @@ -397,7 +410,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'punctuation', value: '{', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Punctuation { @@ -413,9 +425,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: ', : ( ) { } [ ]', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 11, @@ -425,7 +439,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'punctuation', value: '}', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Punctuation { @@ -441,9 +454,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: ', : ( ) { } [ ]', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 13, @@ -453,7 +468,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'punctuation', value: '[', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Punctuation { @@ -469,9 +483,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: ', : ( ) { } [ ]', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 15, @@ -481,7 +497,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'punctuation', value: ']', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -512,9 +527,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '5,6,7,8', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -525,7 +542,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: '', value: '5', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Punctuation { @@ -541,9 +557,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '5,6,7,8', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -553,7 +571,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'punctuation', value: ',', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Numeric { @@ -569,9 +586,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '5,6,7,8', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -582,7 +601,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: '', value: '6', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Punctuation { @@ -598,9 +616,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '5,6,7,8', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -610,7 +630,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'punctuation', value: ',', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Numeric { @@ -626,9 +645,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '5,6,7,8', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -639,7 +660,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: '', value: '7', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Punctuation { @@ -655,9 +675,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '5,6,7,8', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -667,7 +689,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'punctuation', value: ',', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Numeric { @@ -683,9 +704,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '5,6,7,8', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -696,7 +719,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: '', value: '8', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -727,9 +749,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: ':', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -739,7 +763,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'punctuation', value: ':', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -770,9 +793,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: ']', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -782,7 +807,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'punctuation', value: ']', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -813,9 +837,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '{', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -825,7 +851,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'punctuation', value: '{', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -856,9 +881,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '}', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -868,7 +895,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'punctuation', value: '}', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] diff --git a/test/snapshots/punctuation.test.js.snap b/test/snapshots/punctuation.test.js.snap index bdb4033..4be5efa 100644 Binary files a/test/snapshots/punctuation.test.js.snap and b/test/snapshots/punctuation.test.js.snap differ diff --git a/test/snapshots/unicode-range.test.js.md b/test/snapshots/unicode-range.test.js.md index 294c350..273a4d0 100644 --- a/test/snapshots/unicode-range.test.js.md +++ b/test/snapshots/unicode-range.test.js.md @@ -30,9 +30,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'U+0-7F', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -42,7 +44,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'unicodeRange', value: 'U+0-7F', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -73,9 +74,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'U+0025-00FF', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -85,7 +88,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'unicodeRange', value: 'U+0025-00FF', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -116,9 +118,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'U+0025-00FF, U+4??', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -128,7 +132,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'unicodeRange', value: 'U+0025-00FF', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Punctuation { @@ -144,9 +147,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'U+0025-00FF, U+4??', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -156,7 +161,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'punctuation', value: ',', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, UnicodeRange { @@ -172,9 +176,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'U+0025-00FF, U+4??', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 14, @@ -184,7 +190,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'unicodeRange', value: 'U+4??', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -215,9 +220,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'U+26', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -227,7 +234,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'unicodeRange', value: 'U+26', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -258,9 +264,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'U+4??', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -270,7 +278,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'unicodeRange', value: 'U+4??', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] diff --git a/test/snapshots/unicode-range.test.js.snap b/test/snapshots/unicode-range.test.js.snap index 5ca47c0..37c0827 100644 Binary files a/test/snapshots/unicode-range.test.js.snap and b/test/snapshots/unicode-range.test.js.snap differ diff --git a/test/snapshots/variable.test.js.md b/test/snapshots/variable.test.js.md index f3202b1..42d26b9 100644 --- a/test/snapshots/variable.test.js.md +++ b/test/snapshots/variable.test.js.md @@ -34,9 +34,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '$batman', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -46,7 +48,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'word', value: '$batman', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -81,9 +82,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '$main-bg-color', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -93,7 +96,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'word', value: '$main-bg-color', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -128,9 +130,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '--batman', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -140,7 +144,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'word', value: '--batman', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -175,9 +178,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '--main-bg-color', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -187,7 +192,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'word', value: '--main-bg-color', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] diff --git a/test/snapshots/variable.test.js.snap b/test/snapshots/variable.test.js.snap index 5b600a7..5bfdc84 100644 Binary files a/test/snapshots/variable.test.js.snap and b/test/snapshots/variable.test.js.snap differ diff --git a/test/snapshots/word.test.js.md b/test/snapshots/word.test.js.md index 6e97bdc..9f2bb92 100644 --- a/test/snapshots/word.test.js.md +++ b/test/snapshots/word.test.js.md @@ -34,9 +34,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: ' \\"word\\" \\s ', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 2, @@ -46,7 +48,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'word', value: '\\"', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Word { @@ -66,9 +67,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: ' \\"word\\" \\s ', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 4, @@ -78,7 +81,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'word', value: 'word', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Word { @@ -98,9 +100,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: ' \\"word\\" \\s ', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 8, @@ -110,7 +114,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'word', value: '\\"', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Word { @@ -130,9 +133,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: ' \\"word\\" \\s ', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 11, @@ -142,7 +147,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'word', value: '\\s', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -177,9 +181,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '#123 #f09f #abcdef #a2b3c4d5', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -189,7 +195,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'word', value: '#123', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Word { @@ -209,9 +214,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '#123 #f09f #abcdef #a2b3c4d5', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 6, @@ -221,7 +228,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'word', value: '#f09f', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Word { @@ -241,9 +247,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '#123 #f09f #abcdef #a2b3c4d5', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 12, @@ -253,7 +261,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'word', value: '#abcdef', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Word { @@ -273,9 +280,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '#123 #f09f #abcdef #a2b3c4d5', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 20, @@ -285,7 +294,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'word', value: '#a2b3c4d5', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -320,9 +328,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '#fff', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -332,7 +342,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'word', value: '#fff', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -363,9 +372,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '(min-width: 700px) and (orientation: \\$landscape)', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -375,7 +386,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'punctuation', value: '(', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Word { @@ -395,9 +405,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '(min-width: 700px) and (orientation: \\$landscape)', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -407,7 +419,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'word', value: 'min-width', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Punctuation { @@ -423,9 +434,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '(min-width: 700px) and (orientation: \\$landscape)', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 10, @@ -435,7 +448,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'punctuation', value: ':', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Numeric { @@ -451,9 +463,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '(min-width: 700px) and (orientation: \\$landscape)', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 12, @@ -464,7 +478,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: 'px', value: '700', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Punctuation { @@ -480,9 +493,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '(min-width: 700px) and (orientation: \\$landscape)', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -492,7 +507,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'punctuation', value: ')', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Word { @@ -512,9 +526,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '(min-width: 700px) and (orientation: \\$landscape)', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 20, @@ -524,7 +540,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'word', value: 'and', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Punctuation { @@ -540,9 +555,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '(min-width: 700px) and (orientation: \\$landscape)', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 24, @@ -552,7 +569,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'punctuation', value: '(', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Word { @@ -572,9 +588,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '(min-width: 700px) and (orientation: \\$landscape)', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 25, @@ -584,7 +602,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'word', value: 'orientation', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Punctuation { @@ -600,9 +617,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '(min-width: 700px) and (orientation: \\$landscape)', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 36, @@ -612,7 +631,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'punctuation', value: ':', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Word { @@ -632,9 +650,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '(min-width: 700px) and (orientation: \\$landscape)', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 38, @@ -644,7 +664,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'word', value: '\\$', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Word { @@ -664,9 +683,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '(min-width: 700px) and (orientation: \\$landscape)', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 40, @@ -676,7 +697,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'word', value: 'landscape', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Punctuation { @@ -692,9 +712,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '(min-width: 700px) and (orientation: \\$landscape)', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 49, @@ -704,7 +726,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'punctuation', value: ')', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -739,9 +760,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '--color', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -751,7 +774,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'word', value: '--color', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -786,9 +808,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: '-webkit-transition', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -798,7 +822,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'word', value: '-webkit-transition', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -833,9 +856,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'BLANCHEDALMOND', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -845,7 +870,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'word', value: 'BLANCHEDALMOND', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -880,9 +904,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'blAncHedaLmoNd', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -892,7 +918,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'word', value: 'blAncHedaLmoNd', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -927,9 +952,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'blanchedalmond', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -939,7 +966,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'word', value: 'blanchedalmond', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] @@ -974,9 +1000,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'bold italic 12px /3 \'Open Sans\', Arial, "Helvetica Neue", sans-serif', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 1, @@ -986,7 +1014,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'word', value: 'bold', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Word { @@ -1006,9 +1033,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'bold italic 12px /3 \'Open Sans\', Arial, "Helvetica Neue", sans-serif', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 6, @@ -1018,7 +1047,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'word', value: 'italic', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Numeric { @@ -1034,9 +1062,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'bold italic 12px /3 \'Open Sans\', Arial, "Helvetica Neue", sans-serif', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 13, @@ -1047,7 +1077,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: 'px', value: '12', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Operator { @@ -1063,9 +1092,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'bold italic 12px /3 \'Open Sans\', Arial, "Helvetica Neue", sans-serif', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 20, @@ -1075,7 +1106,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'operator', value: '/', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Numeric { @@ -1091,9 +1121,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'bold italic 12px /3 \'Open Sans\', Arial, "Helvetica Neue", sans-serif', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 20, @@ -1104,7 +1136,6 @@ Generated by [AVA](https://avajs.dev). type: 'numeric', unit: '', value: '3', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Quoted { @@ -1122,9 +1153,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'bold italic 12px /3 \'Open Sans\', Arial, "Helvetica Neue", sans-serif', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 23, @@ -1134,7 +1167,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'quoted', value: '\'Open Sans\'', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Punctuation { @@ -1150,9 +1182,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'bold italic 12px /3 \'Open Sans\', Arial, "Helvetica Neue", sans-serif', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 34, @@ -1162,7 +1196,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'punctuation', value: ',', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Word { @@ -1182,9 +1215,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'bold italic 12px /3 \'Open Sans\', Arial, "Helvetica Neue", sans-serif', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 36, @@ -1194,7 +1229,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'word', value: 'Arial', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Punctuation { @@ -1210,9 +1244,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'bold italic 12px /3 \'Open Sans\', Arial, "Helvetica Neue", sans-serif', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 36, @@ -1222,7 +1258,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'punctuation', value: ',', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Quoted { @@ -1240,9 +1275,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'bold italic 12px /3 \'Open Sans\', Arial, "Helvetica Neue", sans-serif', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 43, @@ -1252,7 +1289,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'quoted', value: '"Helvetica Neue"', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Punctuation { @@ -1268,9 +1304,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'bold italic 12px /3 \'Open Sans\', Arial, "Helvetica Neue", sans-serif', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 59, @@ -1280,7 +1318,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'punctuation', value: ',', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, Word { @@ -1300,9 +1337,11 @@ Generated by [AVA](https://avajs.dev). }, input: Input { css: 'bold italic 12px /3 \'Open Sans\', Arial, "Helvetica Neue", sans-serif', - fromOffset: Function {}, hasBOM: false, id: '', + [Symbol(fromOffset cache)]: [ + 0, + ], }, start: { column: 61, @@ -1312,7 +1351,6 @@ Generated by [AVA](https://avajs.dev). }, type: 'word', value: 'sans-serif', - [Symbol(isComplete)]: false, [Symbol(isClean)]: false, }, ] diff --git a/test/snapshots/word.test.js.snap b/test/snapshots/word.test.js.snap index 9e34b1b..2e2e2e4 100644 Binary files a/test/snapshots/word.test.js.snap and b/test/snapshots/word.test.js.snap differ