edge-parser
Advanced tools
Comparing version 1.0.0 to 1.0.1
/** | ||
* @module Parser | ||
*/ | ||
export default class EdgeBuffer { | ||
declare class EdgeBuffer { | ||
private lines; | ||
@@ -40,1 +40,2 @@ private indentSpaces; | ||
} | ||
export = EdgeBuffer; |
@@ -5,3 +5,2 @@ "use strict"; | ||
*/ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
/* | ||
@@ -81,2 +80,2 @@ * edge-lexer | ||
} | ||
exports.default = EdgeBuffer; | ||
module.exports = EdgeBuffer; |
@@ -1,2 +0,2 @@ | ||
import EdgeBuffer from '../EdgeBuffer'; | ||
import EdgeBuffer = require('../EdgeBuffer'); | ||
declare class Parser { | ||
@@ -3,0 +3,0 @@ tags: object; |
@@ -17,3 +17,3 @@ "use strict"; | ||
const astring_1 = require("astring"); | ||
const EdgeBuffer_1 = require("../EdgeBuffer"); | ||
const EdgeBuffer = require("../EdgeBuffer"); | ||
const utils_1 = require("../utils"); | ||
@@ -67,3 +67,3 @@ const Expressions = require("../Expressions"); | ||
parseTemplate(template) { | ||
const buffer = new EdgeBuffer_1.default(); | ||
const buffer = new EdgeBuffer(); | ||
const tokenizer = new Tokenizer(template, this.tags); | ||
@@ -70,0 +70,0 @@ tokenizer.parse(); |
@@ -0,1 +1,6 @@ | ||
<a name="1.0.1"></a> | ||
## [1.0.1](https://github.com/poppinss/edge-parser/compare/v1.0.0...v1.0.1) (2018-06-01) | ||
<a name="1.0.0"></a> | ||
@@ -2,0 +7,0 @@ # 1.0.0 (2018-05-31) |
{ | ||
"name": "edge-parser", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Parser for edge template engine", | ||
@@ -12,2 +12,8 @@ "main": "./build/Parser/index.js", | ||
}, | ||
"files": [ | ||
"build", | ||
"README.md", | ||
"CHANGELOG.md", | ||
"LICENSE.md" | ||
], | ||
"keywords": [ | ||
@@ -14,0 +20,0 @@ "edge", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 2 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
1
1
1
27026
46
729