Releases: ezhlobo/pug-uses-variables
Releases · ezhlobo/pug-uses-variables
v3.0.1
v3.0.0
v2.0.2
v2.0.1
v2.0.0
Breaking changes
New API for returned variables. Now it returns variables and their SourceLocation
.
New response
[{
value: 'I am a string (variable name)',
loc: {
start: {
line: 1,
column: 10
},
end: {
line: 1,
column: 39
}
}
}]
Previous
[
'I am a string (variable name)'
]
How to convert new syntax to previous one
Now only getting extended variables is possible, so you have to iterate through them and extract value
field. See appropriate section in README.
Development
- Added build phase (with
babel
), so now we use modern syntax. - Added types with Flowtype.
- Made dependencies up-to-date.