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

@teleporthq/teleport-uidl-resolver

Package Overview
Dependencies
Maintainers
5
Versions
132
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@teleporthq/teleport-uidl-resolver - npm Package Compare versions

Comparing version 0.11.1 to 0.12.0

__tests__/reusable-styles/index.ts

2

dist/cjs/resolver.js

@@ -24,2 +24,3 @@ "use strict";

var abilities_1 = require("./resolvers/abilities");
var referenced_styles_1 = require("./resolvers/referenced-styles");
/**

@@ -57,2 +58,3 @@ * The resolver takes the input UIDL and converts all the abstract node types into

abilities_1.resolveAbilities(uidl, newOptions);
referenced_styles_1.resolveReferencedStyle(uidl);
// TODO: Rename into apply mappings

@@ -59,0 +61,0 @@ utils.resolveNode(uidl.node, newOptions);

4

dist/cjs/utils.js

@@ -301,6 +301,2 @@ "use strict";

return acc;
case 'nested-style':
acc[styleKey] = styleValue;
acc[styleKey].content = prefixAssetURLs(styleValue.content, assetsPrefix);
return acc;
default:

@@ -307,0 +303,0 @@ throw new Error("Invalid styleValue type '" + styleValue + "'");

import * as utils from './utils';
import { UIDLUtils } from '@teleporthq/teleport-shared';
import { resolveAbilities } from './resolvers/abilities';
import { resolveReferencedStyle } from './resolvers/referenced-styles';
/**

@@ -37,2 +38,3 @@ * The resolver takes the input UIDL and converts all the abstract node types into

resolveAbilities(uidl, newOptions);
resolveReferencedStyle(uidl);
// TODO: Rename into apply mappings

@@ -39,0 +41,0 @@ utils.resolveNode(uidl.node, newOptions);

@@ -284,6 +284,2 @@ import { UIDLUtils, StringUtils, Constants } from '@teleporthq/teleport-shared';

return acc;
case 'nested-style':
acc[styleKey] = styleValue;
acc[styleKey].content = prefixAssetURLs(styleValue.content, assetsPrefix);
return acc;
default:

@@ -290,0 +286,0 @@ throw new Error(`Invalid styleValue type '${styleValue}'`);

{
"name": "@teleporthq/teleport-uidl-resolver",
"version": "0.11.1",
"version": "0.12.0",
"description": "A small package that handles the transition from UIDL to HTML elements and has support for custom mappings.",

@@ -29,8 +29,8 @@ "author": "teleportHQ",

"dependencies": {
"@teleporthq/teleport-shared": "^0.11.1",
"@teleporthq/teleport-types": "^0.11.0",
"@teleporthq/teleport-uidl-builders": "^0.11.1",
"@teleporthq/teleport-shared": "^0.12.0",
"@teleporthq/teleport-types": "^0.12.0",
"@teleporthq/teleport-uidl-builders": "^0.12.0",
"deepmerge": "^4.0.0"
},
"gitHead": "f6ed005a4cdb5b1b8050f9368ff436b9c48a4fde"
"gitHead": "f5ef80f8d15eb5da2bce57dee16ded1513d051b9"
}

@@ -5,2 +5,3 @@ import * as utils from './utils'

import { resolveAbilities } from './resolvers/abilities'
import { resolveReferencedStyle } from './resolvers/referenced-styles'

@@ -47,2 +48,4 @@ /**

resolveReferencedStyle(uidl)
// TODO: Rename into apply mappings

@@ -49,0 +52,0 @@ utils.resolveNode(uidl.node, newOptions)

@@ -377,6 +377,2 @@ import { UIDLUtils, StringUtils, Constants } from '@teleporthq/teleport-shared'

return acc
case 'nested-style':
acc[styleKey] = styleValue
acc[styleKey].content = prefixAssetURLs(styleValue.content, assetsPrefix)
return acc
default:

@@ -383,0 +379,0 @@ throw new Error(`Invalid styleValue type '${styleValue}'`)

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