Skip to content

Commit e49f430

Browse files
fix: Bump version to 0.1.18 in deno.json and jsr.json; update import statements for @std/assert to use jsr syntax
1 parent 65fbf99 commit e49f430

12 files changed

+12
-23
lines changed

deno.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,12 @@
11
{
22
"name": "@yelix/openapi",
33
"exports": "./mod.ts",
4-
"version": "0.1.17",
4+
"version": "0.1.18",
55
"tasks": {
66
"lint": "deno lint",
77
"test": "deno test --allow-all",
88
"test:coverage-html": "deno test --allow-all --coverage=coverage && deno coverage coverage",
99
"fmt": "deno fmt"
1010
},
11-
"imports": {
12-
"@eemeli/yaml": "jsr:@eemeli/yaml@^2.7.1",
13-
"@std/assert": "jsr:@std/assert@^1.0.13"
14-
},
1511
"license": "MIT"
1612
}

deno.lock

Lines changed: 1 addition & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

jsr.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@yelix/openapi",
3-
"version": "0.1.17",
3+
"version": "0.1.18",
44
"license": "MIT",
55
"exports": "./mod.ts",
66
"imports": {

test/complex_api_test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { OpenAPI } from "../src/Core.ts";
22
import { createEndpointPath } from "../src/EndpointPath.ts";
33
import { createEndpointBuilder } from "../src/EndpointBuilder.ts";
4-
import { assertEquals } from "@std/assert";
4+
import { assertEquals } from "jsr:@std/assert@^1.0.16";
55

66
Deno.test("Complex API with multiple paths and methods", () => {
77
const api = new OpenAPI()

test/endpoint_builder_test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { createEndpointBuilder } from "../src/EndpointBuilder.ts";
2-
import { assertEquals } from "@std/assert";
2+
import { assertEquals } from "jsr:@std/assert@^1.0.16";
33

44
Deno.test("EndpointBuilder creates with correct method", () => {
55
const endpoint = createEndpointBuilder("get");

test/endpoint_path_test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { createEndpointPath } from "../src/EndpointPath.ts";
2-
import { assertEquals } from "@std/assert";
2+
import { assertEquals } from "jsr:@std/assert@^1.0.16";
33

44
Deno.test("EndpointPath creates with correct path", () => {
55
const path = createEndpointPath("/users");

test/external_docs_test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { OpenAPI } from "../src/Core.ts";
2-
import { assertEquals } from "@std/assert";
2+
import { assertEquals } from "jsr:@std/assert@^1.0.16";
33

44
Deno.test("setExternalDocs sets external documentation", () => {
55
const api = new OpenAPI().setExternalDocs(

test/init_test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { OpenAPI } from "../src/Core.ts";
2-
import { assertEquals } from "@std/assert";
2+
import { assertEquals } from "jsr:@std/assert@^1.0.16";
33

44
Deno.test("OpenAPI constructor initializes with default values", () => {
55
// Use the private property accessor trick to get access to the raw data

test/new_usage_test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { createEndpointBuilder, OpenAPI } from "../src/Core.ts";
2-
import { assertEquals } from "@std/assert";
2+
import { assertEquals } from "jsr:@std/assert@^1.0.16";
33

44
Deno.test("New usage with individual endpoints", () => {
55
const api = new OpenAPI()

test/schema_dialect_test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { OpenAPI } from "../src/Core.ts";
2-
import { assertEquals } from "@std/assert";
2+
import { assertEquals } from "jsr:@std/assert@^1.0.16";
33

44
Deno.test("setJsonSchemaDialect sets the correct schema dialect", () => {
55
const api = new OpenAPI().setJsonSchemaDialect(

0 commit comments

Comments
 (0)