New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@code-to-json/utils

Package Overview
Dependencies
Maintainers
1
Versions
151
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@code-to-json/utils - npm Package Compare versions

Comparing version 0.1.3 to 0.2.0

lib/checks.d.ts

28

CHANGELOG.md

@@ -6,2 +6,30 @@ # Change Log

# [0.2.0](https://github.com/mike-north/code-to-json/tree/master/packages/utils/compare/@code-to-json/utils@0.1.5...@code-to-json/utils@0.2.0) (2018-10-19)
### Features
* queue/flush graph traversal ([5cc66c4](https://github.com/mike-north/code-to-json/tree/master/packages/utils/commit/5cc66c4))
* rebuild cli tool to support globs, walk symbols instead of nodes ([b8349e7](https://github.com/mike-north/code-to-json/tree/master/packages/utils/commit/b8349e7))
## [0.1.5](https://github.com/mike-north/code-to-json/tree/master/packages/utils/compare/@code-to-json/utils@0.1.4...@code-to-json/utils@0.1.5) (2018-10-15)
**Note:** Version bump only for package @code-to-json/utils
## [0.1.4](https://github.com/mike-north/code-to-json/tree/master/packages/utils/compare/@code-to-json/utils@0.1.3...@code-to-json/utils@0.1.4) (2018-10-15)
**Note:** Version bump only for package @code-to-json/utils
## [0.1.3](https://github.com/mike-north/code-to-json/compare/@code-to-json/utils@0.1.2...@code-to-json/utils@0.1.3) (2018-10-15)

@@ -8,0 +36,0 @@

2

lib/errors/unreachable.d.ts
export default class UnreachableError extends Error {
constructor(arg: never, message?: string);
constructor(_arg: never, message?: string);
}
//# sourceMappingURL=unreachable.d.ts.map
"use strict";
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return extendStatics(d, b);
}
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
var BASE_MESSAGE = 'Reached a case that should be unreachable';
const BASE_MESSAGE = 'Reached a case that should be unreachable';
function createMessage(message) {
var a = [BASE_MESSAGE];
if (message)
const a = [BASE_MESSAGE];
if (message) {
a.push(message);
}
return a.join('\n');
}
var UnreachableError = /** @class */ (function (_super) {
__extends(UnreachableError, _super);
function UnreachableError(arg, message) {
return _super.call(this, createMessage(message)) || this;
class UnreachableError extends Error {
constructor(_arg, message) {
super(createMessage(message));
}
return UnreachableError;
}(Error));
}
exports.default = UnreachableError;
//# sourceMappingURL=unreachable.js.map

@@ -0,6 +1,5 @@

export * from './errors';
export * from './guards';
export * from './ts-node';
export * from './ts-node-guards';
export * from './syntax';
export * from './errors';
export * from './types';
export * from './ts';
//# sourceMappingURL=index.d.ts.map

@@ -6,7 +6,5 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
__export(require("./errors"));
__export(require("./guards"));
__export(require("./ts-node"));
__export(require("./ts-node-guards"));
__export(require("./syntax"));
__export(require("./errors"));
__export(require("./ts"));
//# sourceMappingURL=index.js.map
{
"name": "@code-to-json/utils",
"version": "0.1.3",
"version": "0.2.0",
"description": "",

@@ -9,4 +9,5 @@ "main": "lib/index.js",

"author": "Mike North <michael.l.north@gmail.com> (https://mike.works)",
"repository": "https://github.com/mike-north/code-to-json/tree/master/packages/utils",
"scripts": {
"lint": "echo \"Error: no lint specified\" && exit 0",
"lint": "tslint --project .",
"test": "echo \"Error: no test specified\" && exit 0",

@@ -17,4 +18,6 @@ "prepublishOnly": "tsc -b ."

"devDependencies": {
"tslint": "^5.11.0",
"typescript": "^3.1.2"
}
},
"gitHead": "bb91606c037b670021c8ef3079cd83bb62a5ef16"
}

@@ -0,5 +1,4 @@

export * from './errors';
export * from './guards';
export * from './ts-node';
export * from './ts-node-guards';
export * from './syntax';
export * from './errors';
export * from './types';
export * from './ts';

@@ -5,4 +5,7 @@ {

"outDir": "lib",
"rootDir": "src"
}
"rootDir": "src",
"target": "es2017",
"lib": ["scripthost", "es2015"]
},
"exclude": ["node_modules/**/*", "lib/**/*"]
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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