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

@accordproject/concerto-util

Package Overview
Dependencies
Maintainers
3
Versions
511
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@accordproject/concerto-util - npm Package Compare versions

Comparing version 3.17.1-20240708200648 to 3.17.1-20240711045644

lib/warning.js

2

dist/concerto-util.js.LICENSE.txt
/*!
* Concerto Util v3.17.1-20240708200648
* Concerto Util v3.17.1-20240711045644
* Licensed under the Apache License, Version 2.0 (the "License");

@@ -4,0 +4,0 @@ * you may not use this file except in compliance with the License.

@@ -61,2 +61,5 @@ /*

// Warning
const Warning = require('./lib/warning');
module.exports = {

@@ -79,3 +82,4 @@ BaseException,

ErrorCodes,
NullUtil
NullUtil,
Warning
};

@@ -25,3 +25,10 @@ /*

const TYPE_NOT_FOUND_EXCEPTION = 'TypeNotFoundException';
// deprecation warning type for process.emitWarning
const DEPRECATION_WARNING = 'DeprecationWarning';
module.exports = {DEFAULT_BASE_EXCEPTION, DEFAULT_VALIDATOR_EXCEPTION, REGEX_VALIDATOR_EXCEPTION, TYPE_NOT_FOUND_EXCEPTION};
//deprecation codes
const CONCERTO_DEPRECATION_001 = 'concerto-dep:001';
const CONCERTO_DEPRECATION_002 = 'concerto-dep:002';
module.exports = {DEFAULT_BASE_EXCEPTION, DEFAULT_VALIDATOR_EXCEPTION, REGEX_VALIDATOR_EXCEPTION, TYPE_NOT_FOUND_EXCEPTION, DEPRECATION_WARNING, CONCERTO_DEPRECATION_001, CONCERTO_DEPRECATION_002};
{
"name": "@accordproject/concerto-util",
"version": "3.17.1-20240708200648",
"version": "3.17.1-20240711045644",
"description": "Utilities for Concerto Modeling Language",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/accordproject/concerto",

@@ -18,2 +18,3 @@ import BaseException = require("./lib/baseexception");

import NullUtil = require("./lib/null");
export { BaseException, BaseFileException, FileDownloader, CompositeFileLoader, DefaultFileLoader, GitHubFileLoader, HTTPFileLoader, Writer, FileWriter, InMemoryWriter, ModelWriter, Logger, TypedStack, Label, Identifiers, ErrorCodes, NullUtil };
import Warning = require("./lib/warning");
export { BaseException, BaseFileException, FileDownloader, CompositeFileLoader, DefaultFileLoader, GitHubFileLoader, HTTPFileLoader, Writer, FileWriter, InMemoryWriter, ModelWriter, Logger, TypedStack, Label, Identifiers, ErrorCodes, NullUtil, Warning };

@@ -5,1 +5,4 @@ export const DEFAULT_BASE_EXCEPTION: "DefaultBaseException";

export const TYPE_NOT_FOUND_EXCEPTION: "TypeNotFoundException";
export const DEPRECATION_WARNING: "DeprecationWarning";
export const CONCERTO_DEPRECATION_001: "concerto-dep:001";
export const CONCERTO_DEPRECATION_002: "concerto-dep:002";

@@ -23,2 +23,4 @@ /*

const emitWarningPollyfill = 'function(message, options){ console.warn({message: `DEPRECATED: ${message}`,type: options?.type,code: options?.code,detail: options?.detail});}';
module.exports = {

@@ -48,3 +50,4 @@ entry: './index.js',

'NODE_ENV': JSON.stringify('production')
}
},
'process.emitWarning': emitWarningPollyfill
}),

@@ -51,0 +54,0 @@ new webpack.ProvidePlugin({

Sorry, the diff of this file is too big to display

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