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

ng-typeview

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ng-typeview - npm Package Compare versions

Comparing version 0.0.40 to 0.0.41

t.js

2

dist/src/controller-parser.d.ts
import * as ts from "typescript";
import { Option } from "prelude.ts";
import { Option } from "prelude-ts";
/**

@@ -4,0 +4,0 @@ * @hidden

@@ -5,3 +5,3 @@ "use strict";

var ts = require("typescript");
var prelude_ts_1 = require("prelude.ts");
var prelude_ts_1 = require("prelude-ts");
/**

@@ -8,0 +8,0 @@ * return a pair:

"use strict";
exports.__esModule = true;
var ts = require("typescript");
var prelude_ts_1 = require("prelude.ts");
var prelude_ts_1 = require("prelude-ts");
var controller_parser_1 = require("./controller-parser");

@@ -19,3 +19,3 @@ /**

*/
var NgFilter = (function () {
var NgFilter = /** @class */ (function () {
/**

@@ -22,0 +22,0 @@ * @param name The name of the angular filter

"use strict";
exports.__esModule = true;
var prelude_ts_1 = require("prelude.ts");
var prelude_ts_1 = require("prelude-ts");
var P = require("parsimmon");

@@ -5,0 +5,0 @@ var view_ngexpression_parser_1 = require("./view-ngexpression-parser");

@@ -17,4 +17,4 @@ "use strict";

while (_) try {
if (f = 1, y && (t = y[op[0] & 2 ? "return" : op[0] ? "throw" : "next"]) && !(t = t.call(y, op[1])).done) return t;
if (y = 0, t) op = [0, t.value];
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
if (y = 0, t) op = [op[0] & 2, t.value];
switch (op[0]) {

@@ -41,3 +41,3 @@ case 0: case 1: t = op; break;

var glob_1 = require("glob");
var prelude_ts_1 = require("prelude.ts");
var prelude_ts_1 = require("prelude-ts");
var path_1 = require("path");

@@ -125,2 +125,6 @@ var view_parser_1 = require("./view-parser");

.filter(function (vi) { return vi.controllerName.isSome(); })
// JS files are not going to have a scope interface
// definition so they're not helpful. Also, we can
// get twice the same file: original TS & compiled JS.
// => keep only the original TS in that case.
.filter(function (vi) { return vi.fileName.toLowerCase().endsWith(".ts"); })

@@ -127,0 +131,0 @@ .toMap(function (vi) { return [vi.controllerName.getOrThrow(), vi.fileName]; });

@@ -1,3 +0,2 @@

/// <reference types="parsimmon" />
import { Vector } from "prelude.ts";
import { Vector } from "prelude-ts";
import * as P from "parsimmon";

@@ -4,0 +3,0 @@ import { NgScope } from "./view-parser";

"use strict";
exports.__esModule = true;
var ts = require("typescript");
var prelude_ts_1 = require("prelude.ts");
var prelude_ts_1 = require("prelude-ts");
var P = require("parsimmon");

@@ -14,3 +14,3 @@ /**

*/
var CodegenHelper = (function () {
var CodegenHelper = /** @class */ (function () {
function CodegenHelper(ngFilters, scope, getNewVarName) {

@@ -342,3 +342,3 @@ var _this = this;

else if (node.kind >= ts.SyntaxKind.FirstToken && node.kind <= ts.SyntaxKind.LastToken) {
return ts.tokenToString(node.kind);
return ts.tokenToString(node.kind) || "";
}

@@ -345,0 +345,0 @@ else if (node.kind === ts.SyntaxKind.ParenthesizedExpression) {

@@ -1,2 +0,2 @@

import { Vector } from "prelude.ts";
import { Vector } from "prelude-ts";
import { AttributeDirectiveHandler, TagDirectiveHandler } from "./ng-directives";

@@ -3,0 +3,0 @@ import { NgFilter } from "./filters";

@@ -5,3 +5,3 @@ "use strict";

var fs_1 = require("fs");
var prelude_ts_1 = require("prelude.ts");
var prelude_ts_1 = require("prelude-ts");
var view_ngexpression_parser_1 = require("./view-ngexpression-parser");

@@ -8,0 +8,0 @@ var v = 0;

@@ -17,4 +17,4 @@ "use strict";

while (_) try {
if (f = 1, y && (t = y[op[0] & 2 ? "return" : op[0] ? "throw" : "next"]) && !(t = t.call(y, op[1])).done) return t;
if (y = 0, t) op = [0, t.value];
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
if (y = 0, t) op = [op[0] & 2, t.value];
switch (op[0]) {

@@ -41,3 +41,3 @@ case 0: case 1: t = op; break;

var assert = require("assert");
var prelude_ts_1 = require("prelude.ts");
var prelude_ts_1 = require("prelude-ts");
var controller_parser_1 = require("../src/controller-parser");

@@ -44,0 +44,0 @@ var ts = require("typescript");

@@ -17,4 +17,4 @@ "use strict";

while (_) try {
if (f = 1, y && (t = y[op[0] & 2 ? "return" : op[0] ? "throw" : "next"]) && !(t = t.call(y, op[1])).done) return t;
if (y = 0, t) op = [0, t.value];
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
if (y = 0, t) op = [op[0] & 2, t.value];
switch (op[0]) {

@@ -21,0 +21,0 @@ case 0: case 1: t = op; break;

"use strict";
exports.__esModule = true;
var assert = require("assert");
var prelude_ts_1 = require("prelude.ts");
var prelude_ts_1 = require("prelude-ts");
var view_ngexpression_parser_1 = require("../src/view-ngexpression-parser");

@@ -6,0 +6,0 @@ describe("addScopeAccessors", function () {

{
"name": "ng-typeview",
"version": "0.0.40",
"version": "0.0.41",
"description": "library to enable type-checking of angular views when using typescript",

@@ -26,13 +26,13 @@ "keywords": [

"@types/htmlparser2": "3.7.29",
"@types/mocha": "2.2.41",
"@types/node": "7.0.29",
"glob": "7.1.2",
"htmlparser2": "3.9.2",
"typescript": "2.3.4",
"typescript": "3.1.1",
"parsimmon": "1.4.0",
"@types/parsimmon": "1.3.0",
"prelude.ts": "0.6.0"
"prelude-ts": "0.8.2"
},
"devDependencies": {
"mocha": "3.4.2",
"mocha": "5.2.0",
"@types/mocha": "5.2.5",
"typedoc": "0.7.1"

@@ -39,0 +39,0 @@ },

import * as assert from 'assert'
import {Option} from "prelude.ts";
import {Option} from "prelude-ts";
import {extractControllerScopeInfo, ControllerScopeInfo,

@@ -4,0 +4,0 @@ extractCtrlViewConnsAngularModule,

import * as assert from 'assert'
import {Vector} from "prelude.ts";
import {Vector} from "prelude-ts";
import {addScopeAccessors} from '../src/view-ngexpression-parser'

@@ -4,0 +4,0 @@ import {NgScope} from "../src/view-parser"

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

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