Socket
Socket
Sign inDemoInstall

edge.js

Package Overview
Dependencies
8
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.3.2 to 5.3.3

2

LICENSE.md
# The MIT License
Copyright 2021 Harminder Virk, contributors
Copyright 2022 Harminder Virk, contributors

@@ -5,0 +5,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

{
"name": "edge.js",
"version": "5.3.2",
"version": "5.3.3",
"description": "Template engine",

@@ -13,3 +13,3 @@ "main": "build/index.js",

"pretest": "npm run lint",
"test": "node japaFile.js",
"test": "node .bin/test.js",
"mrm": "mrm --preset=@adonisjs/mrm-preset",

@@ -22,3 +22,3 @@ "commit": "git-cz",

"lint": "eslint . --ext=.ts",
"release": "np",
"release": "np --message=\"chore(release): %s\"",
"version": "npm run build",

@@ -40,20 +40,22 @@ "format": "prettier --write .",

"devDependencies": {
"@adonisjs/mrm-preset": "^4.1.2",
"@adonisjs/require-ts": "^2.0.8",
"@poppinss/dev-utils": "^1.1.5",
"@types/node": "^16.7.10",
"@adonisjs/mrm-preset": "^5.0.2",
"@adonisjs/require-ts": "^2.0.10",
"@poppinss/dev-utils": "^2.0.2",
"@types/node": "^17.0.21",
"commitizen": "^4.2.4",
"cz-conventional-changelog": "^3.3.0",
"dedent-js": "^1.0.1",
"del-cli": "^4.0.1",
"doctoc": "^2.0.1",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-adonis": "^1.3.3",
"eslint": "^8.10.0",
"eslint-config-prettier": "^8.4.0",
"eslint-plugin-adonis": "^2.1.0",
"eslint-plugin-prettier": "^4.0.0",
"github-label-sync": "^2.0.2",
"husky": "^7.0.2",
"japa": "^3.1.1",
"japa": "^4.0.0",
"mrm": "^3.0.8",
"np": "^7.5.0",
"prettier": "^2.3.2",
"typescript": "^4.4.2"
"typescript": "^4.5.5"
},

@@ -75,8 +77,8 @@ "config": {

"@poppinss/inspect": "^1.0.1",
"@poppinss/utils": "^3.2.0",
"edge-error": "^2.0.6",
"edge-lexer": "^4.0.8",
"edge-parser": "^8.0.11",
"@poppinss/utils": "^4.0.2",
"edge-error": "^2.0.7",
"edge-lexer": "^4.0.9",
"edge-parser": "^8.0.12",
"js-stringify": "^1.0.2",
"macroable": "^5.1.4",
"macroable": "^6.0.1",
"stringify-attributes": "^2.0.0"

@@ -86,3 +88,2 @@ },

"hooks": {
"pre-commit": "doctoc README.md --title='## Table of contents' && git add README.md",
"commit-msg": "node ./node_modules/@adonisjs/mrm-preset/validateCommit/conventional/validate.js"

@@ -107,3 +108,46 @@ }

"anyBranch": false
},
"mrmConfig": {
"core": false,
"license": "MIT",
"services": [
"github-actions"
],
"minNodeVersion": "14.15.4",
"probotApps": [
"stale",
"lock"
],
"runGhActionsOnWindows": true
},
"eslintConfig": {
"extends": [
"plugin:adonis/typescriptPackage",
"prettier"
],
"plugins": [
"prettier"
],
"rules": {
"prettier/prettier": [
"error",
{
"endOfLine": "auto"
}
]
}
},
"eslintIgnore": [
"build"
],
"prettier": {
"trailingComma": "es5",
"semi": false,
"singleQuote": true,
"useTabs": false,
"quoteProps": "consistent",
"bracketSpacing": true,
"arrowParens": "always",
"printWidth": 100
}
}

@@ -35,7 +35,8 @@ <div align="center"><img src="https://res.cloudinary.com/adonis-js/image/upload/v1620150474/edge-banner_tzmnox.jpg" width="600px"></div>

// CommonJS
const edge = require('edge.js').default
const { Edge } = require('edge.js')
// Typescript import
// import edge from 'edge.js'
// import { Edge } from 'edge.js'
const edge = new Edge({ cache: false })
edge.mount(join(__dirname, 'views'))

@@ -42,0 +43,0 @@

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc