Skip to content

Commit

Permalink
chore: update dependencies and remove onLine preprocessor
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Dec 3, 2020
1 parent ae965ac commit 935870d
Show file tree
Hide file tree
Showing 6 changed files with 97 additions and 170 deletions.
2 changes: 1 addition & 1 deletion npm-audit.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ <h5 class="card-title">
<div class="card">
<div class="card-body">
<h5 class="card-title">
November 15th 2020, 6:31:49 pm
December 3rd 2020, 4:40:36 am
</h5>
<p class="card-text">Last updated</p>
</div>
Expand Down
146 changes: 86 additions & 60 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,27 +35,27 @@
"homepage": "https://github.com/poppinss/edge#readme",
"devDependencies": {
"@adonisjs/mrm-preset": "^2.4.0",
"@adonisjs/require-ts": "^1.1.0",
"@adonisjs/require-ts": "^1.1.1",
"@poppinss/dev-utils": "^1.0.11",
"@types/node": "^14.14.7",
"@types/node": "^14.14.10",
"commitizen": "^4.2.2",
"cz-conventional-changelog": "^3.3.0",
"dedent-js": "^1.0.1",
"del-cli": "^3.0.1",
"doctoc": "^1.4.0",
"eslint": "^7.13.0",
"eslint": "^7.14.0",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-adonis": "^1.0.15",
"eslint-plugin-prettier": "^3.1.4",
"github-label-sync": "^2.0.0",
"husky": "^4.3.0",
"japa": "^3.1.1",
"js-stringify": "^1.0.2",
"mrm": "^2.5.12",
"mrm": "^2.5.13",
"np": "^7.0.0",
"npm-audit-html": "^1.5.0",
"prettier": "^2.1.2",
"typescript": "^4.0.5"
"prettier": "^2.2.1",
"typescript": "^4.1.2"
},
"config": {
"commitizen": {
Expand All @@ -72,10 +72,10 @@
},
"dependencies": {
"@poppinss/inspect": "^1.0.1",
"@poppinss/utils": "^2.5.7",
"@poppinss/utils": "^2.5.9",
"edge-error": "^1.0.5",
"edge-lexer": "^3.2.0",
"edge-parser": "^5.4.0",
"edge-lexer": "^3.2.1",
"edge-parser": "^6.0.0",
"he": "^1.2.0",
"lodash.foreach": "^4.5.0",
"lodash.merge": "^4.6.2",
Expand Down
4 changes: 1 addition & 3 deletions src/Compiler/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,7 @@ export class Compiler implements CompilerContract {
* merged together.
*/
private templateContentToTokens(content: string, parser: Parser, absPath: string): Token[] {
let templateTokens = parser.tokenize(content, absPath, (line) =>
this.processor.executeLine(line)
)
let templateTokens = parser.tokenize(content, { filename: absPath })
const firstToken = templateTokens[0]

/**
Expand Down
1 change: 0 additions & 1 deletion src/Processor/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ export class Processor implements ProcessorContract {
event: 'raw',
handler: (data: { raw: string; path: string }) => string | void
): this
public process(event: 'line', handler: (line: string) => string | void): this
public process(
event: 'compiled',
handler: (data: { compiled: string; path: string }) => string | void
Expand Down
Loading

0 comments on commit 935870d

Please sign in to comment.