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

@boost/internal

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@boost/internal - npm Package Compare versions

Comparing version 4.0.1 to 5.0.0-alpha.1

./mjs/index.mjs

3

esm/index.js

@@ -64,4 +64,5 @@ // Bundled with Packemon: https://packemon.dev

envVars = process.env;
} else if (global.window !== undefined) {
} else if ('window' in global && global.window !== undefined) {
// @ts-expect-error Allow type mismatch
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
envVars = window;

@@ -68,0 +69,0 @@ }

{
"name": "@boost/internal",
"version": "4.0.1",
"type": "commonjs",
"version": "5.0.0-alpha.1",
"type": "module",
"release": "1651512176170",

@@ -11,16 +11,12 @@ "description": "Boost internals.",

],
"main": "./cjs/index.cjs",
"browser": "./lib/index.js",
"main": "./mjs/index.mjs",
"module": "./esm/index.js",
"types": "./dts/index.d.ts",
"types": "./mjs/index.d.ts",
"files": [
"cjs/**/*.{cjs,mjs,map}",
"dts/**/*.d.ts",
"esm/**/*.{js,map}",
"lib/**/*.{js,map}",
"src/**/*.{ts,tsx,json}"
"esm/**/*",
"mjs/**/*",
"src/**/*"
],
"engines": {
"node": ">=14.15.0",
"npm": ">=6.14.0"
"node": ">=16.12.0"
},

@@ -48,7 +44,10 @@ "repository": {

"format": "esm",
"platform": "browser"
"platform": "browser",
"inputs": {
"index": "src/browser.ts"
}
},
{
"api": "private",
"format": "cjs",
"format": "mjs",
"platform": "node"

@@ -60,16 +59,14 @@ }

".": {
"types": "./dts/index.d.ts",
"browser": {
"types": "./esm/browser.d.ts",
"module": "./esm/index.js",
"import": "./esm/index.js",
"default": "./lib/index.js"
"import": "./esm/index.js"
},
"node": {
"import": "./cjs/index-wrapper.mjs",
"require": "./cjs/index.cjs"
},
"default": "./lib/index.js"
"types": "./mjs/index.d.ts",
"import": "./mjs/index.mjs"
}
}
},
"gitHead": "fd64842195c9e1c72e726800f004bdc80fa682f8"
"gitHead": "8fd0f41cca47f7b6ce605eaca5cb2b4932fc89a5"
}
# Boost Internals
![build status](https://img.shields.io/github/workflow/status/milesj/boost/Build)
![build status](https://img.shields.io/github/actions/workflow/status/milesj/boost/build.yml)
![npm version](https://img.shields.io/npm/v/@boost/internal)
Internal utilities for Boost packages. This should rarely be used directly.

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

import debug, { Debugger } from 'debug';
import debug, { type Debugger } from 'debug';

@@ -3,0 +3,0 @@ export function sentenceCase(value: unknown): string {

@@ -5,4 +5,5 @@ let envVars: Record<string, unknown> = {};

envVars = process.env;
} else if (global.window !== undefined) {
} else if ('window' in global && global.window !== undefined) {
// @ts-expect-error Allow type mismatch
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
envVars = window;

@@ -9,0 +10,0 @@ }

@@ -6,5 +6,4 @@ /**

export * from './color';
export * from './createInternalDebugger';
export * from './createScopedError';
export * from './env';
export * from './browser';
export * from './importAbsoluteModule';
export * from './interopDefault';

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