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

@meteor-it/utils

Package Overview
Dependencies
Maintainers
2
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@meteor-it/utils - npm Package Compare versions

Comparing version 1.3.26 to 1.3.27

12

index.ts

@@ -285,3 +285,3 @@ import { Readable } from 'stream';

for (let i = 0; i < str.length; i++) {
if (str.codePointAt(i) > 127)
if (str.codePointAt(i)! > 127)
ret += `&#${str.codePointAt(i)};`;

@@ -304,3 +304,3 @@ else

}
let cachedGlobal = null;
let cachedGlobal: any = null;
/**

@@ -344,7 +344,7 @@ * Returns global, for node it is just global, for browser it is window

}
let isNodeEnvironmentCache = null;
let isNodeEnvironmentCache: any = null;
/**
* Check if running in node
*/
export function isNodeEnvironment() {
export function isNodeEnvironment(): boolean {
if (isNodeEnvironmentCache !== null)

@@ -366,7 +366,7 @@ return isNodeEnvironmentCache;

}
let isBrowserEnvironmentCache = null;
let isBrowserEnvironmentCache: any = null;
/**
* Check if running in browser
*/
export function isBrowserEnvironment() {
export function isBrowserEnvironment(): boolean {
if (isBrowserEnvironmentCache !== null)

@@ -373,0 +373,0 @@ return isBrowserEnvironmentCache;

{
"name": "@meteor-it/utils",
"version": "1.3.26",
"version": "1.3.27",
"description": "Many useful utils",

@@ -17,3 +17,3 @@ "module": "index.mjs",

},
"gitHead": "ec32fbe49dece6806b0fbd5acae690d7b519956b"
"gitHead": "7b240cacfacfe9f46c45796028c518753cc6f6b1"
}
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