New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.39 to 0.0.40

8

dist/src/ng-directives.js

@@ -235,5 +235,9 @@ "use strict";

attribs['on'] : attribs['ng-switch'];
var extraSrc = "\n const assertUnreachable= (x:never): never => {\n throw new Error(\"Didn't expect to get here \" + x);\n };";
var strictDefault = "\n default:\n assertUnreachable(" + expr + ");";
var isStrict = attribs.hasOwnProperty('typeview-switch-exhaustive') ||
attribs.hasOwnProperty('data-typeview-switch-exhaustive');
return {
source: "switch (" + codegenHelpers.addScopeAccessors(expr) + ") {",
closeSource: function () { return "}"; }
source: (isStrict ? extraSrc : "") + "switch (" + codegenHelpers.addScopeAccessors(expr) + ") {",
closeSource: function () { return (isStrict ? strictDefault : '') + "}"; }
};

@@ -240,0 +244,0 @@ }

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

@@ -5,0 +5,0 @@ "keywords": [

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