Socket
Socket
Sign inDemoInstall

application-config-path

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

application-config-path - npm Package Compare versions

Comparing version 0.1.1 to 1.0.0

index.d.ts

8

index.js

@@ -1,3 +0,3 @@

var os = require('os')
var path = require('path')
import os from 'node:os'
import path from 'node:path'

@@ -24,3 +24,3 @@ function darwin (name) {

function applicationConfigPath (name) {
export default function applicationConfigPath (name) {
if (typeof name !== 'string') {

@@ -40,3 +40,1 @@ throw new TypeError('`name` must be string')

}
module.exports = applicationConfigPath
{
"name": "application-config-path",
"version": "0.1.1",
"version": "1.0.0",
"license": "MIT",
"author": "Linus Unnebäck <linus@folkdatorn.se>",
"main": "index.js",
"repository": {
"type": "git",
"url": "http://github.com/LinusU/node-application-config-path.git"
"repository": "LinusU/node-application-config-path",
"type": "module",
"exports": "./index.js",
"scripts": {
"test": "standard && mocha"
},
"devDependencies": {
"mocha": "^2.2.5",
"standard": "^5.0.1-0"
"mocha": "^10.2.0",
"standard": "^17.0.0"
},
"scripts": {
"test": "standard && mocha"
"engines": {
"node": "^14.18.0 || ^16.14.0 || >=18.0.0"
}
}
/* eslint-env mocha */
var path = require('path')
var assert = require('assert')
var applicationConfigPath = require('./')
import path from 'node:path'
import assert from 'node:assert'
import applicationConfigPath from './index.js'
describe('application-config-path', function () {

@@ -8,0 +9,0 @@ it('should return an absolute path', function () {

Sorry, the diff of this file is not supported yet

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