@scalar/snippetz
Advanced tools
Comparing version 0.2.9 to 0.2.10
@@ -8,2 +8,3 @@ import { cLibcurl } from './plugins/c/libcurl/libcurl.js'; | ||
import { clojureCljhttp } from './plugins/clojure/clj_http/clj_http.js'; | ||
import { dartHttp } from './plugins/dart/http/http.js'; | ||
import { goNative } from './plugins/go/native/native.js'; | ||
@@ -60,2 +61,8 @@ import { httpHttp11 } from './plugins/http/http11/http11.js'; | ||
{ | ||
key: 'dart', | ||
title: 'Dart', | ||
default: 'http', | ||
clients: [dartHttp], | ||
}, | ||
{ | ||
key: 'go', | ||
@@ -62,0 +69,0 @@ title: 'Go', |
@@ -9,4 +9,4 @@ import type { ClientId, HarRequest, TargetId } from './types/index.js'; | ||
plugins(): { | ||
target: "c" | "clojure" | "csharp" | "go" | "http" | "java" | "js" | "kotlin" | "node" | "objc" | "ocaml" | "php" | "powershell" | "python" | "r" | "ruby" | "shell" | "swift"; | ||
client: "libcurl" | "clj_http" | "httpclient" | "restsharp" | "native" | "http1.1" | "asynchttp" | "nethttp" | "okhttp" | "unirest" | "axios" | "fetch" | "jquery" | "ofetch" | "xhr" | "undici" | "nsurlsession" | "cohttp" | "curl" | "guzzle" | "restmethod" | "webrequest" | "python3" | "requests" | "httr" | "httpie" | "wget"; | ||
target: "c" | "clojure" | "csharp" | "go" | "http" | "java" | "js" | "kotlin" | "node" | "objc" | "ocaml" | "php" | "powershell" | "python" | "r" | "ruby" | "shell" | "swift" | "dart"; | ||
client: "libcurl" | "clj_http" | "httpclient" | "restsharp" | "native" | "http" | "http1.1" | "asynchttp" | "nethttp" | "okhttp" | "unirest" | "axios" | "fetch" | "jquery" | "ofetch" | "xhr" | "undici" | "nsurlsession" | "cohttp" | "curl" | "guzzle" | "restmethod" | "webrequest" | "python3" | "requests" | "httr" | "httpie" | "wget"; | ||
}[]; | ||
@@ -13,0 +13,0 @@ findPlugin<T extends TargetId>(target: T | string, client: ClientId<T> | string): import("./types/index.js").Plugin | undefined; |
@@ -40,3 +40,4 @@ import type { Request as HarRequest } from 'har-format'; | ||
'shell/wget', | ||
'swift/nsurlsession' | ||
'swift/nsurlsession', | ||
'dart/http' | ||
]; | ||
@@ -43,0 +44,0 @@ /** Programming language */ |
@@ -9,6 +9,6 @@ { | ||
"type": "git", | ||
"url": "https://github.com/scalar/scalar.git", | ||
"url": "git+https://github.com/scalar/scalar.git", | ||
"directory": "packages/snippetz" | ||
}, | ||
"version": "0.2.9", | ||
"version": "0.2.10", | ||
"engines": { | ||
@@ -185,2 +185,7 @@ "node": ">=18" | ||
}, | ||
"./plugins/dart/http": { | ||
"import": "./dist/plugins/dart/http/index.js", | ||
"types": "./dist/plugins/dart/http/index.d.ts", | ||
"default": "./dist/plugins/dart/http/index.js" | ||
}, | ||
"./plugins/csharp/restsharp": { | ||
@@ -187,0 +192,0 @@ "import": "./dist/plugins/csharp/restsharp/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
285159
417
6806
0