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

@casterly/utils

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@casterly/utils - npm Package Compare versions

Comparing version 0.6.0 to 0.7.0

1

lib/paths.d.ts

@@ -0,1 +1,2 @@

export declare const appDirectory: string;
export declare const moduleFileExtensions: string[];

@@ -2,0 +3,0 @@ export declare const typescriptFileExtensions: string[];

6

lib/paths.js

@@ -23,8 +23,8 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.appNodePath = exports.appNodeModules = exports.appTsConfig = exports.appSrc = exports.appPackageJson = exports.appRoutesJs = exports.appBrowserEntry = exports.appServerEntry = exports.appPublic = exports.appPublicBuildFolder = exports.appServerBuildFolder = exports.appBuildFolder = exports.appPath = exports.dotenv = exports.resolveModule = exports.typescriptFileExtensions = exports.moduleFileExtensions = void 0;
exports.appNodePath = exports.appNodeModules = exports.appTsConfig = exports.appSrc = exports.appPackageJson = exports.appRoutesJs = exports.appBrowserEntry = exports.appServerEntry = exports.appPublic = exports.appPublicBuildFolder = exports.appServerBuildFolder = exports.appBuildFolder = exports.appPath = exports.dotenv = exports.resolveModule = exports.typescriptFileExtensions = exports.moduleFileExtensions = exports.appDirectory = void 0;
const fs = __importStar(require("fs"));
const path = __importStar(require("path"));
const userConfig_1 = require("./userConfig");
const appDirectory = fs.realpathSync(process.cwd());
const resolveApp = (relativePath) => path.resolve(appDirectory, relativePath);
exports.appDirectory = fs.realpathSync(process.cwd());
const resolveApp = (relativePath) => path.resolve(exports.appDirectory, relativePath);
exports.moduleFileExtensions = ['mjs', 'js', 'json', 'jsx'];

@@ -31,0 +31,0 @@ exports.typescriptFileExtensions = ['ts', 'tsx'];

{
"name": "@casterly/utils",
"version": "0.6.0",
"version": "0.7.0",
"description": "Common utilities used throughout Casterly packages",

@@ -41,3 +41,3 @@ "author": "Lucas Cordeiro <ecdb.lucas@gmail.com>",

},
"gitHead": "74401d887b7f024940e6ab21af5224d974b23375"
"gitHead": "84afd47283b3abb6d4523101c3792bcb1399216c"
}
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