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

@common-stack/core

Package Overview
Dependencies
Maintainers
0
Versions
233
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@common-stack/core - npm Package Compare versions

Comparing version 5.0.2-alpha.1 to 5.0.2-alpha.2

1

lib/field-error.js
class FieldError {
errors;
constructor() {

@@ -3,0 +4,0 @@ this.errors = {};

3

lib/utils/getEnvironment.js
/* eslint-disable no-underscore-dangle */
/* eslint-disable @typescript-eslint/ban-ts-comment */
function getEnvironment() {
var _a;
// Browser or web-based mobile environment

@@ -9,3 +8,3 @@ // @ts-ignore: Object is possibly 'undefined'.

// @ts-ignore: Object is possibly 'undefined'.
return ((_a = window.process) === null || _a === void 0 ? void 0 : _a.APP_ENV) || (window === null || window === void 0 ? void 0 : window.__ENV__);
return window.process?.APP_ENV || window?.__ENV__;
}

@@ -12,0 +11,0 @@ // Node.js environment

{
"name": "@common-stack/core",
"version": "5.0.2-alpha.1",
"description": "Common core for higher packages to depend on",
"license": "ISC",
"author": "CDMBase LLC",
"type": "module",
"main": "lib/index.js",
"module": "lib/index.js",
"typings": "lib/index.d.ts",
"scripts": {
"build": "yarn build:clean && yarn build:lib",
"build:clean": "rimraf lib",
"build:lib": "rollup -c rollup.config.mjs",
"build:lib:watch": "yarn build:lib -- --watch",
"jest": "./node_modules/.bin/jest",
"prepublish": "yarn build",
"test": "cross-env ENV_FILE=../../config/test/test.env jest",
"test:debug": "npm test -- --runInBand",
"test:watch": "npm test -- --watch",
"watch": "yarn build:lib:watch"
},
"publishConfig": {
"access": "public"
},
"typescript": {
"definition": "lib/index.d.ts"
},
"gitHead": "a46dba2c7142ade2513ae997eb0a2a143344d6d5"
"name": "@common-stack/core",
"version": "5.0.2-alpha.2",
"description": "Common core for higher packages to depend on",
"license": "ISC",
"author": "CDMBase LLC",
"type": "module",
"main": "lib/index.js",
"module": "lib/index.js",
"typings": "lib/index.d.ts",
"scripts": {
"build": "yarn build:clean && yarn build:lib",
"build:clean": "rimraf lib",
"build:lib": "rollup -c rollup.config.mjs",
"build:lib:watch": "yarn build:lib -- --watch",
"jest": "./node_modules/.bin/jest",
"prepublish": "yarn build",
"test": "cross-env ENV_FILE=../../config/test/test.env jest",
"test:debug": "npm test -- --runInBand",
"test:watch": "npm test -- --watch",
"watch": "yarn build:lib:watch"
},
"publishConfig": {
"access": "public"
},
"typescript": {
"definition": "lib/index.d.ts"
},
"gitHead": "bd9fa5fc0189c149cc8052acab726b3cd53e8700"
}

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