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

raml-typesystem

Package Overview
Dependencies
Maintainers
2
Versions
95
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

raml-typesystem - npm Package Compare versions

Comparing version 0.0.41 to 0.0.42

4

dist/src/exampleBuilder.js

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

var example;
if (exampleObj) {
if (exampleObj != null) {
var val = exampleObj.value;

@@ -223,3 +223,3 @@ if (!val) {

var exampleV = ms.example();
if (exampleV) {
if (exampleV != null) {
result.push(toExample(ms, ms.value(), undefined, true));

@@ -226,0 +226,0 @@ }

@@ -986,4 +986,14 @@ "use strict";

try {
var mm = st.match(this._value);
if (!mm) {
var matches = st.match(this._value);
var gotMatch = false;
if (matches) {
for (var _i = 0, matches_1 = matches; _i < matches_1.length; _i++) {
var m = matches_1[_i];
if (m.length == st.length) {
gotMatch = true;
break;
}
}
}
if (!gotMatch) {
return new ts.Status(ts.Status.ERROR, 0, "string should match to " + this.value(), this);

@@ -990,0 +1000,0 @@ }

{
"name": "raml-typesystem",
"version": "0.0.41",
"version": "0.0.42",
"main": "dist/src/index.js",

@@ -5,0 +5,0 @@ "scripts": {

@@ -178,3 +178,3 @@ import rt=require("./typesystem")

var example:Example;
if (exampleObj) {
if (exampleObj!=null) {
var val = exampleObj.value;

@@ -238,3 +238,3 @@ if (!val) {

var exampleV=ms.example();
if (exampleV){
if (exampleV!=null){
result.push(toExample(ms, ms.value(), undefined, true));

@@ -241,0 +241,0 @@ }

@@ -998,4 +998,13 @@ /// <reference path="../typings/main.d.ts" />

try {
var mm=st.match(this._value);
if (!mm){
var matches=st.match(this._value);
var gotMatch = false;
if (matches){
for(var m of matches){
if(m.length == st.length){
gotMatch = true;
break;
}
}
}
if(!gotMatch){
return new ts.Status(ts.Status.ERROR, 0, "string should match to " + this.value(),this);

@@ -1002,0 +1011,0 @@ }

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