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

@accordproject/concerto-util

Package Overview
Dependencies
Maintainers
6
Versions
517
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 2.0.0-20220325142717 to 2.0.0-20220325150207

42

index.js

@@ -25,42 +25,26 @@ /*

// Exceptions
const BaseException = require('./lib/baseexception');
const BaseFileException = require('./lib/basefileexception');
module.exports.BaseException = require('./lib/baseexception');
module.exports.BaseFileException = require('./lib/basefileexception');
// Transitive closure downloader
const FileDownloader = require('./lib/filedownloader');
module.exports.FileDownloader = require('./lib/filedownloader');
// File Loaders
const CompositeFileLoader = require('./lib/loaders/compositefileloader');
const DefaultFileLoader = require('./lib/loaders/defaultfileloader');
const GitHubFileLoader = require('./lib/loaders/githubfileloader');
const HTTPFileLoader = require('./lib/loaders/httpfileloader');
module.exports.CompositeFileLoader = require('./lib/loaders/compositefileloader');
module.exports.DefaultFileLoader = require('./lib/loaders/defaultfileloader');
module.exports.GitHubFileLoader = require('./lib/loaders/githubfileloader');
module.exports.HTTPFileLoader = require('./lib/loaders/httpfileloader');
// Writers
const Writer = require('./lib/writer');
const FileWriter = require('./lib/filewriter');
const ModelWriter = require('./lib/modelwriter');
module.exports.Writer = require('./lib/writer');
module.exports.FileWriter = require('./lib/filewriter');
module.exports.ModelWriter = require('./lib/modelwriter');
// Logger
const Logger = require('./lib/logger');
module.exports.Logger = require('./lib/logger');
// TypedStack
const TypedStack = require('./lib/typedstack');
module.exports.TypedStack = require('./lib/typedstack');
// Label
const Label = require('./lib/label');
module.exports = {
BaseException,
BaseFileException,
FileDownloader,
CompositeFileLoader,
DefaultFileLoader,
GitHubFileLoader,
HTTPFileLoader,
Writer,
FileWriter,
ModelWriter,
Logger,
TypedStack,
Label
};
module.exports.Label = require('./lib/label');

@@ -75,3 +75,3 @@ /*

* Writes text to the current open file
* @param {number} tabs - the number of tabs to use
* @param {int} tabs - the number of tabs to use
* @param {string} text - the text to write

@@ -89,3 +89,3 @@ */

* Writes text to the start of the current open file
* @param {number} tabs - the number of tabs to use
* @param {int} tabs - the number of tabs to use
* @param {string} text - the text to write

@@ -92,0 +92,0 @@ */

{
"name": "@accordproject/concerto-util",
"version": "2.0.0-20220325142717",
"version": "2.0.0-20220325150207",
"description": "Utilities for Concerto Modeling Language",

@@ -19,3 +19,2 @@ "homepage": "https://github.com/accordproject/concerto",

"doc": "jsdoc --pedantic --recurse -c jsdoc.json",
"postdoc": "npm run build:types",
"test": "nyc mocha --recursive -t 10000",

@@ -25,3 +24,3 @@ "test:watch": "nyc mocha --watch --recursive -t 10000",

"nyc": "nyc mocha --recursive -t 10000",
"build:types": "tsc index.js --declaration --allowJs --emitDeclarationOnly --outDir types"
"build:types": "npx -p typescript tsc ./lib/**/*.js index.js --declaration --allowJs --emitDeclarationOnly --outDir types"
},

@@ -50,4 +49,3 @@ "repository": {

"nyc": "15.1.0",
"tmp-promise": "3.0.2",
"typescript": "4.6.3"
"tmp-promise": "3.0.2"
},

@@ -54,0 +52,0 @@ "dependencies": {

@@ -1,14 +0,8 @@

import BaseException = require("./lib/baseexception");
import BaseFileException = require("./lib/basefileexception");
import FileDownloader = require("./lib/filedownloader");
import CompositeFileLoader = require("./lib/loaders/compositefileloader");
import DefaultFileLoader = require("./lib/loaders/defaultfileloader");
import GitHubFileLoader = require("./lib/loaders/githubfileloader");
import HTTPFileLoader = require("./lib/loaders/httpfileloader");
import Writer = require("./lib/writer");
import FileWriter = require("./lib/filewriter");
import ModelWriter = require("./lib/modelwriter");
import Logger = require("./lib/logger");
import TypedStack = require("./lib/typedstack");
import Label = require("./lib/label");
export { BaseException, BaseFileException, FileDownloader, CompositeFileLoader, DefaultFileLoader, GitHubFileLoader, HTTPFileLoader, Writer, FileWriter, ModelWriter, Logger, TypedStack, Label };
export var FileDownloader: typeof import("./lib/filedownloader");
export var CompositeFileLoader: typeof import("./lib/loaders/compositefileloader");
export var DefaultFileLoader: typeof import("./lib/loaders/defaultfileloader");
export var GitHubFileLoader: typeof import("./lib/loaders/githubfileloader");
export var HTTPFileLoader: typeof import("./lib/loaders/httpfileloader");
export var Writer: typeof import("./lib/writer");
export var Logger: typeof import("./lib/logger");
export var TypedStack: typeof import("./lib/typedstack");
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