diff --git a/dist/index-umd-web.js b/dist/index-umd-web.js index babfab1c..d66514c3 100644 --- a/dist/index-umd-web.js +++ b/dist/index-umd-web.js @@ -19291,8 +19291,6 @@ val: tokens.slice(offset) }); delete node.tokens; - // @ts-ignore - delete node.raw; context.chi.push(node); return null; } diff --git a/dist/index.cjs b/dist/index.cjs index 21307188..3fbc623f 100644 --- a/dist/index.cjs +++ b/dist/index.cjs @@ -19494,8 +19494,6 @@ function parseNode(results, context, options, errors, src, map, rawTokens, stats val: tokens.slice(offset) }); delete node.tokens; - // @ts-ignore - delete node.raw; context.chi.push(node); return null; } diff --git a/dist/lib/parser/parse.js b/dist/lib/parser/parse.js index af85874d..8b236df4 100644 --- a/dist/lib/parser/parse.js +++ b/dist/lib/parser/parse.js @@ -1452,8 +1452,6 @@ function parseNode(results, context, options, errors, src, map, rawTokens, stats val: tokens.slice(offset) }); delete node.tokens; - // @ts-ignore - delete node.raw; context.chi.push(node); return null; } diff --git a/jsr.json b/jsr.json index d1ecadc4..61ef1075 100644 --- a/jsr.json +++ b/jsr.json @@ -1,6 +1,6 @@ { "name": "@tbela99/css-parser", - "version": "1.4.0", + "version": "1.4.1", "publish": { "include": [ "src", diff --git a/package.json b/package.json index 7cc1cff3..921c7732 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@tbela99/css-parser", "description": "CSS parser, minifier and validator for node and the browser", - "version": "v1.4.0", + "version": "v1.4.1", "exports": { ".": "./dist/node.js", "./node": "./dist/node.js", diff --git a/src/lib/parser/parse.ts b/src/lib/parser/parse.ts index afdf3d39..af8ee15a 100644 --- a/src/lib/parser/parse.ts +++ b/src/lib/parser/parse.ts @@ -2182,8 +2182,6 @@ function parseNode(results: TokenizeResult[], context: AstRuleList, options: Par val: tokens.slice(offset) }); delete node.tokens; - // @ts-ignore - delete node.raw!; context.chi!.push(node); return null; }