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.9.0-alpha.11 to 0.9.0-alpha.12

8

lib/paths.js

@@ -46,6 +46,6 @@ "use strict";

exports.appPublic = resolveApp('public');
exports.appServerEntry = exports.resolveModule(resolveApp, 'src/app-server');
exports.appBrowserEntry = exports.resolveModule(resolveApp, 'src/app-browser');
exports.appRoutesJs = exports.resolveModule(resolveApp, 'src/routes');
exports.appLoaderRuntime = exports.resolveModule(resolveApp, 'src/loader');
exports.appServerEntry = (0, exports.resolveModule)(resolveApp, 'src/app-server');
exports.appBrowserEntry = (0, exports.resolveModule)(resolveApp, 'src/app-browser');
exports.appRoutesJs = (0, exports.resolveModule)(resolveApp, 'src/routes');
exports.appLoaderRuntime = (0, exports.resolveModule)(resolveApp, 'src/loader');
exports.appPackageJson = resolveApp('package.json');

@@ -52,0 +52,0 @@ exports.appSrc = resolveApp('src');

@@ -22,4 +22,4 @@ "use strict";

const loadUserConfig = (dir) => {
const filePath = path_1.join(dir, constants_1.CONFIG_FILE);
if (fileExists_1.fileExistsSync(filePath)) {
const filePath = (0, path_1.join)(dir, constants_1.CONFIG_FILE);
if ((0, fileExists_1.fileExistsSync)(filePath)) {
let userConfig = require(filePath);

@@ -32,5 +32,5 @@ if (typeof userConfig === 'undefined') {

}
const configFileBasename = path_1.basename(constants_1.CONFIG_FILE, path_1.extname(constants_1.CONFIG_FILE));
const configFileBasename = (0, path_1.basename)(constants_1.CONFIG_FILE, (0, path_1.extname)(constants_1.CONFIG_FILE));
const configWithDifferentExtension = ['.tsx', '.ts', '.jsx', '.json']
.map((ext) => path_1.join(dir, configFileBasename + ext))
.map((ext) => (0, path_1.join)(dir, configFileBasename + ext))
.map(fileExists_1.fileExistsSync)

@@ -44,2 +44,2 @@ .some(Boolean);

exports.loadUserConfig = loadUserConfig;
exports.userConfig = exports.loadUserConfig(fs_1.default.realpathSync(process.cwd()));
exports.userConfig = (0, exports.loadUserConfig)(fs_1.default.realpathSync(process.cwd()));
{
"name": "@casterly/utils",
"version": "0.9.0-alpha.11",
"version": "0.9.0-alpha.12",
"description": "Common utilities used throughout Casterly packages",

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

},
"gitHead": "381cb03f7180821192c33c7391505535cbba77b3"
"gitHead": "fb8674c9ca054f4d9a65103f21a1369a5a20a007"
}
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