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

@iannisz/node-cms

Package Overview
Dependencies
Maintainers
1
Versions
95
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@iannisz/node-cms - npm Package Compare versions

Comparing version 0.0.16 to 0.0.17

10

install.js

@@ -49,5 +49,9 @@ "use strict";

var node_json_database_1 = require("node-json-database");
var args = process.argv.slice(2);
var workingDirectory = args[0];
process.chdir(workingDirectory);
var path_1 = require("path");
// Go to the project root
var cwd = path_1.resolve(process.cwd());
if (cwd.endsWith('/node_modules/@iannisz/node-cms')) {
// Go from ./project/node_modules/@iannisz/node-cms to ./project
process.chdir('./../../../');
}
/*

@@ -54,0 +58,0 @@ 1.1 Recursive rimraf

@@ -27,8 +27,14 @@ /*

import { db } from 'node-json-database'
import { resolve as resolvePath } from 'path'
const args = process.argv.slice(2)
const workingDirectory = args[0]
// Go to the project root
process.chdir(workingDirectory)
const cwd = resolvePath(process.cwd())
if (cwd.endsWith('/node_modules/@iannisz/node-cms')) {
// Go from ./project/node_modules/@iannisz/node-cms to ./project
process.chdir('./../../../')
}
/*

@@ -35,0 +41,0 @@ 1.1 Recursive rimraf

{
"name": "@iannisz/node-cms",
"version": "0.0.16",
"version": "0.0.17",
"description": "Node CMS",
"main": "index.js",
"scripts": {
"install": "node install.js $PWD"
"install": "node install.js"
},

@@ -9,0 +9,0 @@ "keywords": [],

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