New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

hexo-include

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hexo-include - npm Package Compare versions

Comparing version 1.0.2 to 1.1.0

3

lib/include.js

@@ -7,6 +7,5 @@ /*

*/
'use strict';
var pathFn = require('path');
var fs = require('hexo-fs');
var pathFn = require('path');

@@ -13,0 +12,0 @@ module.exports = function(ctx) {

@@ -13,3 +13,2 @@ /**

*/
'use strict';

@@ -16,0 +15,0 @@ var include = require('./include')(hexo);

{
"name": "hexo-include",
"version": "1.0.2",
"version": "1.1.0",
"description": "A Hexo plugin for including raw content of any text file into a post",

@@ -29,11 +29,16 @@ "license": "MIT",

"chai": "^3.5.0",
"eslint": "^3.7.1",
"eslint-config-hexo": "^1.0.3",
"hexo": "^3.2.2",
"hexo-fs": "^0.1.6",
"mocha": "^3.1.1"
"mocha": "^3.1.1",
"xo": "^0.17.0"
},
"scripts": {
"test": "test/test.js"
"test": "xo && mocha test/test.js"
},
"xo": {
"extends": "hexo",
"root": true,
"globals": ["hexo"]
}
}

@@ -1,8 +0,8 @@

'use strict';
/* eslint-env node, mocha */
var should = require('chai').should(); // eslint-disable-line
var pathFn = require('path');
var should = require('chai').should();
var Hexo = require('hexo');
var fs = require('hexo-fs');
var Hexo = require('hexo');
var hexo = new Hexo(pathFn.join(__dirname, 'include_test'));

@@ -12,3 +12,3 @@

describe('include tag', function() {
describe('Include tag', function() {
var filePath = pathFn.join(hexo.source_dir, 'test_dir/test.html');

@@ -15,0 +15,0 @@ var emptyPath = pathFn.join(hexo.source_dir, 'test_dir/empty.html');

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