Socket
Socket
Sign inDemoInstall

@nderscore/tamagui-typescript-plugin

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nderscore/tamagui-typescript-plugin - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

5

./dist/getTokens.js

@@ -92,3 +92,6 @@ "use strict";

return undefined;
return [propName, valueNode === null || valueNode === void 0 ? void 0 : valueNode.getText(), valueNode];
const valueText = (valueNode === null || valueNode === void 0 ? void 0 : valueNode.kind) === tsserverlibrary_1.default.SyntaxKind.JsxAttribute
? valueNode === null || valueNode === void 0 ? void 0 : valueNode.getText().replace(/^\w+=/, '')
: valueNode === null || valueNode === void 0 ? void 0 : valueNode.getText();
return [propName, valueText, valueNode];
};

@@ -95,0 +98,0 @@ const getTokenType = (fileName, position, config, ctx) => {

1

./dist/hooks.js

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

const original = info.languageService.getQuickInfoAtPosition(fileName, position);
ctx.logger('HHUHH???????');
return (0, getQuickInfo_1.getQuickInfo)(original, {

@@ -56,0 +55,0 @@ fileName,

@@ -92,3 +92,6 @@ "use strict";

return undefined;
return [propName, valueNode === null || valueNode === void 0 ? void 0 : valueNode.getText(), valueNode];
const valueText = (valueNode === null || valueNode === void 0 ? void 0 : valueNode.kind) === tsserverlibrary_1.default.SyntaxKind.JsxAttribute
? valueNode === null || valueNode === void 0 ? void 0 : valueNode.getText().replace(/^\w+=/, '')
: valueNode === null || valueNode === void 0 ? void 0 : valueNode.getText();
return [propName, valueText, valueNode];
};

@@ -95,0 +98,0 @@ const getTokenType = (fileName, position, config, ctx) => {

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

const original = info.languageService.getQuickInfoAtPosition(fileName, position);
ctx.logger('HHUHH???????');
return (0, getQuickInfo_1.getQuickInfo)(original, {

@@ -56,0 +55,0 @@ fileName,

{
"name": "@nderscore/tamagui-typescript-plugin",
"version": "0.3.0",
"version": "0.3.1",
"license": "MIT",

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

@@ -114,3 +114,8 @@ import ts from 'typescript/lib/tsserverlibrary';

return [propName, valueNode?.getText(), valueNode] as const;
const valueText =
valueNode?.kind === ts.SyntaxKind.JsxAttribute
? valueNode?.getText().replace(/^\w+=/, '')
: valueNode?.getText();
return [propName, valueText, valueNode] as const;
};

@@ -117,0 +122,0 @@

@@ -88,3 +88,2 @@ import type ts from 'typescript/lib/tsserverlibrary';

);
ctx.logger('HHUHH???????');
return getQuickInfo(original, {

@@ -91,0 +90,0 @@ fileName,

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