New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@polywrap/schema-bind

Package Overview
Dependencies
Maintainers
2
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@polywrap/schema-bind - npm Package Compare versions

Comparing version
0.10.4
to
0.10.5
+3
-3
build/bindings/python/plugin/templates/module-py.mustache

@@ -10,3 +10,3 @@ # NOTE: This is an auto-generated file. All modifications will be overwritten.

from polywrap_core import InvokerClient, UriPackageOrWrapper
from polywrap_core import InvokerClient
from polywrap_plugin import PluginModule

@@ -43,6 +43,6 @@ from polywrap_msgpack import GenericMap

@abstractmethod
async def {{#detectKeyword}}{{#toLower}}{{name}}{{/toLower}}{{/detectKeyword}}(
def {{#detectKeyword}}{{#toLower}}{{name}}{{/toLower}}{{/detectKeyword}}(
self,
args: Args{{#toUpper}}{{name}}{{/toUpper}},
client: InvokerClient[UriPackageOrWrapper],
client: InvokerClient,
{{^env}}env: None{{/env}}{{#env}}env: {{^required}}Optional[{{/required}}Env{{^required}}] = None{{/required}}{{/env}}

@@ -49,0 +49,0 @@ ) -> {{#return}}{{#toPython}}{{toGraphQLType}}{{/toPython}}{{/return}}:

@@ -8,3 +8,3 @@ # NOTE: This is an auto-generated file. All modifications will be overwritten.

from polywrap_core import InvokerClient, Uri, UriPackageOrWrapper
from polywrap_core import InvokerClient, Uri
from polywrap_msgpack import GenericMap

@@ -104,12 +104,10 @@

@staticmethod
async def {{#detectKeyword}}{{#toLower}}{{name}}{{/toLower}}{{/detectKeyword}}(
def {{#detectKeyword}}{{#toLower}}{{name}}{{/toLower}}{{/detectKeyword}}(
args: {{#toUpper}}{{parent.type}}{{/toUpper}}Args{{#toUpper}}{{name}}{{/toUpper}},
client: InvokerClient[UriPackageOrWrapper]
client: InvokerClient
) -> {{#return}}{{#toPython}}{{toGraphQLType}}{{/toPython}}{{/return}}:
return client.invoke(
InvokeOptions(
uri=Uri.from_str("{{parent.uri}}"),
method="{{name}}",
args=args,
)
uri=Uri.from_str("{{parent.uri}}"),
method="{{name}}",
args=args,
)

@@ -132,13 +130,11 @@ {{^last}}

{{#methods}}
async def {{#detectKeyword}}{{#toLower}}{{name}}{{/toLower}}{{/detectKeyword}}(
def {{#detectKeyword}}{{#toLower}}{{name}}{{/toLower}}{{/detectKeyword}}(
self,
args: {{#toUpper}}{{parent.type}}{{/toUpper}}Args{{#toUpper}}{{name}}{{/toUpper}},
client: InvokerClient[UriPackageOrWrapper]
client: InvokerClient
) -> {{#return}}{{#toPython}}{{toGraphQLType}}{{/toPython}}{{/return}}:
return client.invoke(
InvokeOptions(
uri=self.uri,
method="{{name}}",
args=args,
)
uri=self.uri,
method="{{name}}",
args=args,
)

@@ -166,3 +162,3 @@ {{^last}}

def get_implementations(
client: InvokerClient[UriPackageOrWrapper]
client: InvokerClient
) -> list[str]:

@@ -169,0 +165,0 @@ impls = client.getImplementations(self.uri)

{
"name": "@polywrap/schema-bind",
"description": "Polywrap Schema Binding",
"version": "0.10.4",
"version": "0.10.5",
"license": "MIT",

@@ -22,4 +22,4 @@ "repository": {

"dependencies": {
"@polywrap/os-js": "0.10.4",
"@polywrap/schema-parse": "0.10.4",
"@polywrap/os-js": "0.10.5",
"@polywrap/schema-parse": "0.10.5",
"@polywrap/wrap-manifest-types-js": "0.10.0",

@@ -29,3 +29,3 @@ "mustache": "4.0.1"

"devDependencies": {
"@polywrap/test-cases": "0.10.4",
"@polywrap/test-cases": "0.10.5",
"@types/jest": "26.0.8",

@@ -32,0 +32,0 @@ "@types/lodash": "4.14.178",