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

ajs

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ajs - npm Package Compare versions

Comparing version 1.2.12 to 1.2.13

5

lib/template.js

@@ -180,3 +180,6 @@ "use strict";

value: function _include(request, locals, pLocals) {
var filename = path.resolve(pLocals.__dirname, request + '.ajs');
if (!request.endsWith(".ajs")) {
request += ".ajs";
}
var filename = path.resolve(pLocals.__dirname, request);
var template = null;

@@ -183,0 +186,0 @@ if (filename == this.filename) throw new Error('self include');

2

package.json

@@ -14,3 +14,3 @@ {

],
"version": "1.2.12",
"version": "1.2.13",
"author": "Ionică Bizău <bizauionica@gmail.com> (https://ionicabizau.net)",

@@ -17,0 +17,0 @@ "contributors": [

@@ -108,4 +108,2 @@

## :question: Get Help

@@ -117,3 +115,3 @@

2. For bug reports and feature requests, open issues. :bug:
3. For direct and quick help, you can [use Codementor](https://www.codementor.io/johnnyb). :rocket:
3. For direct and quick help from me, you can [use Codementor](https://www.codementor.io/johnnyb). :rocket:

@@ -156,4 +154,5 @@

- [`ajs-xgettext`](https://npmjs.com/package/ajs-xgettext) (by Duane Griffin)—Extract localised text from AJS templates
- [`bloggify-ajs-renderer`](https://github.com/IonicaBizau/bloggify-ajs-renderer#readme)—ajs renderer for Bloggify.
- [`bloggify-ajs-renderer`](https://github.com/Bloggify/ajs-renderer#readme) (by Bloggify)—ajs renderer for Bloggify.
- [`bloggify-icons`](https://github.com/Bloggify/bloggify-icons#readme)—The Bloggify icons for the web.
- [`bloggify-renderer-ajs`](https://github.com/Bloggify/renderer-ajs#readme) (by Bloggify)—ajs renderer for Bloggify.
- [`express-ajs`](https://github.com/IonicaBizau/express-ajs#readme)—Minimal example of how to use ajs in Express.

@@ -160,0 +159,0 @@ - [`git-stats-html`](https://github.com/IonicaBizau/git-stats-html#readme)—Turn git-stats result into HTML output.

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