Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

edge-parser

Package Overview
Dependencies
Maintainers
1
Versions
92
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

edge-parser - npm Package Compare versions

Comparing version 5.0.6 to 5.1.0

23

build/index.js

@@ -10,16 +10,29 @@ "use strict";

*/
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
result["default"] = mod;
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.expressions = exports.EdgeBuffer = exports.Parser = exports.Stack = void 0;
var Stack_1 = require("./src/Stack");
exports.Stack = Stack_1.Stack;
Object.defineProperty(exports, "Stack", { enumerable: true, get: function () { return Stack_1.Stack; } });
var Parser_1 = require("./src/Parser");
exports.Parser = Parser_1.Parser;
Object.defineProperty(exports, "Parser", { enumerable: true, get: function () { return Parser_1.Parser; } });
var EdgeBuffer_1 = require("./src/EdgeBuffer");
exports.EdgeBuffer = EdgeBuffer_1.EdgeBuffer;
Object.defineProperty(exports, "EdgeBuffer", { enumerable: true, get: function () { return EdgeBuffer_1.EdgeBuffer; } });
const ExpressionsList = __importStar(require("./src/Expressions"));

@@ -26,0 +39,0 @@ /**

@@ -14,2 +14,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.EdgeBuffer = void 0;
const os_1 = require("os");

@@ -16,0 +17,0 @@ const js_stringify_1 = __importDefault(require("js-stringify"));

@@ -10,38 +10,42 @@ "use strict";

*/
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.NewExpression = exports.AwaitExpression = exports.AssignmentExpression = exports.SequenceExpression = exports.LogicalExpression = exports.ConditionalExpression = exports.FunctionDeclaration = exports.UnaryExpression = exports.ObjectExpression = exports.ArrayExpression = exports.BinaryExpression = exports.TemplateLiteral = exports.Literal = exports.ArrowFunctionExpression = exports.CallExpression = exports.ExpressionStatement = exports.MemberExpression = exports.Identifier = void 0;
var Identifier_1 = require("./Identifier");
exports.Identifier = Identifier_1.default;
Object.defineProperty(exports, "Identifier", { enumerable: true, get: function () { return __importDefault(Identifier_1).default; } });
var MemberExpression_1 = require("./MemberExpression");
exports.MemberExpression = MemberExpression_1.default;
Object.defineProperty(exports, "MemberExpression", { enumerable: true, get: function () { return __importDefault(MemberExpression_1).default; } });
var ExpressionStatement_1 = require("./ExpressionStatement");
exports.ExpressionStatement = ExpressionStatement_1.default;
Object.defineProperty(exports, "ExpressionStatement", { enumerable: true, get: function () { return __importDefault(ExpressionStatement_1).default; } });
var CallExpression_1 = require("./CallExpression");
exports.CallExpression = CallExpression_1.default;
Object.defineProperty(exports, "CallExpression", { enumerable: true, get: function () { return __importDefault(CallExpression_1).default; } });
var ArrowFunctionExpression_1 = require("./ArrowFunctionExpression");
exports.ArrowFunctionExpression = ArrowFunctionExpression_1.default;
Object.defineProperty(exports, "ArrowFunctionExpression", { enumerable: true, get: function () { return __importDefault(ArrowFunctionExpression_1).default; } });
var Literal_1 = require("./Literal");
exports.Literal = Literal_1.default;
Object.defineProperty(exports, "Literal", { enumerable: true, get: function () { return __importDefault(Literal_1).default; } });
var TemplateLiteral_1 = require("./TemplateLiteral");
exports.TemplateLiteral = TemplateLiteral_1.default;
Object.defineProperty(exports, "TemplateLiteral", { enumerable: true, get: function () { return __importDefault(TemplateLiteral_1).default; } });
var BinaryExpression_1 = require("./BinaryExpression");
exports.BinaryExpression = BinaryExpression_1.default;
Object.defineProperty(exports, "BinaryExpression", { enumerable: true, get: function () { return __importDefault(BinaryExpression_1).default; } });
var ArrayExpression_1 = require("./ArrayExpression");
exports.ArrayExpression = ArrayExpression_1.default;
Object.defineProperty(exports, "ArrayExpression", { enumerable: true, get: function () { return __importDefault(ArrayExpression_1).default; } });
var ObjectExpression_1 = require("./ObjectExpression");
exports.ObjectExpression = ObjectExpression_1.default;
Object.defineProperty(exports, "ObjectExpression", { enumerable: true, get: function () { return __importDefault(ObjectExpression_1).default; } });
var UnaryExpression_1 = require("./UnaryExpression");
exports.UnaryExpression = UnaryExpression_1.default;
Object.defineProperty(exports, "UnaryExpression", { enumerable: true, get: function () { return __importDefault(UnaryExpression_1).default; } });
var FunctionDeclaration_1 = require("./FunctionDeclaration");
exports.FunctionDeclaration = FunctionDeclaration_1.default;
Object.defineProperty(exports, "FunctionDeclaration", { enumerable: true, get: function () { return __importDefault(FunctionDeclaration_1).default; } });
var ConditionalExpression_1 = require("./ConditionalExpression");
exports.ConditionalExpression = ConditionalExpression_1.default;
Object.defineProperty(exports, "ConditionalExpression", { enumerable: true, get: function () { return __importDefault(ConditionalExpression_1).default; } });
var LogicalExpression_1 = require("./LogicalExpression");
exports.LogicalExpression = LogicalExpression_1.default;
Object.defineProperty(exports, "LogicalExpression", { enumerable: true, get: function () { return __importDefault(LogicalExpression_1).default; } });
var SequenceExpression_1 = require("./SequenceExpression");
exports.SequenceExpression = SequenceExpression_1.default;
Object.defineProperty(exports, "SequenceExpression", { enumerable: true, get: function () { return __importDefault(SequenceExpression_1).default; } });
var AssignmentExpression_1 = require("./AssignmentExpression");
exports.AssignmentExpression = AssignmentExpression_1.default;
Object.defineProperty(exports, "AssignmentExpression", { enumerable: true, get: function () { return __importDefault(AssignmentExpression_1).default; } });
var AwaitExpression_1 = require("./AwaitExpression");
exports.AwaitExpression = AwaitExpression_1.default;
Object.defineProperty(exports, "AwaitExpression", { enumerable: true, get: function () { return __importDefault(AwaitExpression_1).default; } });
var NewExpression_1 = require("./NewExpression");
exports.NewExpression = NewExpression_1.default;
Object.defineProperty(exports, "NewExpression", { enumerable: true, get: function () { return __importDefault(NewExpression_1).default; } });

@@ -11,2 +11,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.generateAST = void 0;
const edge_error_1 = require("edge-error");

@@ -13,0 +14,0 @@ const acorn_1 = require("acorn");

@@ -11,2 +11,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.Parser = void 0;
const os_1 = require("os");

@@ -13,0 +14,0 @@ const edge_lexer_1 = require("edge-lexer");

@@ -11,2 +11,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.makeCtxCallable = void 0;
/**

@@ -13,0 +14,0 @@ * Returns Acorn complaint AST for a collable expression

@@ -11,2 +11,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.makeStatePropertyAccessor = void 0;
/**

@@ -13,0 +14,0 @@ * Returns Acorn complaint AST for a collable expression

@@ -11,2 +11,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.stringify = void 0;
const astring_1 = require("astring");

@@ -13,0 +14,0 @@ /**

@@ -10,10 +10,23 @@ "use strict";

*/
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
result["default"] = mod;
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.transformAst = void 0;
const edge_error_1 = require("edge-error");

@@ -20,0 +33,0 @@ const Expressions = __importStar(require("../Expressions"));

@@ -11,2 +11,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.Stack = void 0;
/**

@@ -13,0 +14,0 @@ * Stack exposes the API to define variables and scopes. This is used by the parser

{
"name": "edge-parser",
"version": "5.0.6",
"version": "5.1.0",
"description": "Parser for edge template engine",

@@ -27,29 +27,29 @@ "scripts": {

"dependencies": {
"acorn": "^7.1.1",
"acorn": "^8.0.1",
"astring": "^1.4.3",
"edge-error": "^1.0.4",
"edge-lexer": "^3.0.3",
"edge-lexer": "^3.1.0",
"js-stringify": "^1.0.2"
},
"devDependencies": {
"@adonisjs/mrm-preset": "^2.3.0",
"@adonisjs/mrm-preset": "^2.4.0",
"@adonisjs/require-ts": "^1.0.0",
"@types/acorn": "^4.0.5",
"@types/astring": "^1.3.0",
"@types/node": "^13.11.1",
"commitizen": "^4.0.4",
"cz-conventional-changelog": "^3.1.0",
"@types/node": "^14.6.2",
"commitizen": "^4.2.1",
"cz-conventional-changelog": "^3.3.0",
"dedent-js": "^1.0.1",
"del-cli": "^3.0.0",
"del-cli": "^3.0.1",
"doctoc": "^1.4.0",
"eslint": "^6.8.0",
"eslint-plugin-adonis": "^1.0.9",
"eslint": "^7.8.0",
"eslint-plugin-adonis": "^1.0.15",
"husky": "^4.2.5",
"japa": "^3.0.1",
"japa": "^3.1.1",
"japa-cli": "^1.0.1",
"mrm": "^2.2.1",
"np": "^6.2.1",
"ts-node": "^8.8.2",
"typedoc": "^0.17.4",
"typedoc-plugin-markdown": "^2.2.17",
"typescript": "^3.8.2",
"mrm": "^2.3.5",
"np": "^6.5.0",
"typedoc": "^0.19.0",
"typedoc-plugin-markdown": "^2.4.2",
"typescript": "^4.0.2",
"youch": "^2.0.10"

@@ -56,0 +56,0 @@ },

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc