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

@app-config/utils

Package Overview
Dependencies
Maintainers
2
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@app-config/utils - npm Package Compare versions

Comparing version 2.8.1 to 2.8.2

1

dist/es/index.d.ts

@@ -5,2 +5,3 @@ export declare const isBrowser: boolean;

export declare const packageNameRegex: RegExp;
export declare const appConfigImportRegex: RegExp;
export declare type JsonPrimitive = number | string | boolean | null;

@@ -7,0 +8,0 @@ export interface JsonObject {

@@ -5,2 +5,3 @@ export const isBrowser = typeof window === 'object' && typeof document === 'object' && document.nodeType === 9;

export const packageNameRegex = /(^@(lcdev|servall)\/app-config)|(^@app-config\/main)|(\.?app-config(\.\w+)?\.(toml|yml|yaml|json|json5))|(\.config-placeholder)/;
export const appConfigImportRegex = /(app-config|app-config-main|@app-config\/main)\/dist(\/es)?\/index\.js/;
export function isObject(obj) {

@@ -7,0 +8,0 @@ return typeof obj === 'object' && !Array.isArray(obj) && obj !== null;

@@ -5,2 +5,3 @@ export declare const isBrowser: boolean;

export declare const packageNameRegex: RegExp;
export declare const appConfigImportRegex: RegExp;
export declare type JsonPrimitive = number | string | boolean | null;

@@ -7,0 +8,0 @@ export interface JsonObject {

3

dist/index.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.generateModuleText = exports.isPrimitive = exports.isObject = exports.packageNameRegex = exports.isWindows = exports.isNode = exports.isBrowser = void 0;
exports.generateModuleText = exports.isPrimitive = exports.isObject = exports.appConfigImportRegex = exports.packageNameRegex = exports.isWindows = exports.isNode = exports.isBrowser = void 0;
exports.isBrowser = typeof window === 'object' && typeof document === 'object' && document.nodeType === 9;

@@ -8,2 +8,3 @@ exports.isNode = typeof process !== 'undefined' && !exports.isBrowser;

exports.packageNameRegex = /(^@(lcdev|servall)\/app-config)|(^@app-config\/main)|(\.?app-config(\.\w+)?\.(toml|yml|yaml|json|json5))|(\.config-placeholder)/;
exports.appConfigImportRegex = /(app-config|app-config-main|@app-config\/main)\/dist(\/es)?\/index\.js/;
function isObject(obj) {

@@ -10,0 +11,0 @@ return typeof obj === 'object' && !Array.isArray(obj) && obj !== null;

{
"name": "@app-config/utils",
"description": "Common utilities used in @app-config",
"version": "2.8.1",
"version": "2.8.2",
"license": "MPL-2.0",

@@ -6,0 +6,0 @@ "author": {

Sorry, the diff of this file is not supported yet

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