Skip to content

Commit

Permalink
Merge pull request #11 from hckrnews/snyk-upgrade-be923637a885fdfa588…
Browse files Browse the repository at this point in the history
…5b9a82c5898db

Move to TroJS
  • Loading branch information
w3nl authored May 21, 2024
2 parents cc7eee7 + 85f453d commit 3edbb40
Show file tree
Hide file tree
Showing 5 changed files with 338 additions and 259 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:

strategy:
matrix:
node-version: [18.x, 20.x, 21.x]
node-version: [18.x, 20.x, 21.x, 22.x]

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2021 Hckr.News
Copyright (c) 2024 TroJS

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ Zero dependencies. Synchronous core. Handles circular refs.

## Installation

`npm install @hckrnews/openapi-dereference`
`npm install @trojs/openapi-dereference`
or
`yarn add @hckrnews/openapi-dereference`
`yarn add @trojs/openapi-dereference`

## Test the package

Expand All @@ -24,12 +24,12 @@ or


```javascript
npm i @hckrnews/openapi-dereference
npm i @trojs/openapi-dereference

```

```javascript
import { dereferenceSync } from '@hckrnews/openapi-dereference';
import { dereferenceSync } from '@trojs/openapi-dereference';

const schemaWithRefs = {
schemas: {
Expand All @@ -50,5 +50,5 @@ const schemaWithRefs = {
const schemaWithNoRefs = dereferenceSync(schemaWithRefs);
```

[npm-url]: https://www.npmjs.com/package/@hckrnews/openapi-dereference
[npm-image]: https://img.shields.io/npm/v/@hckrnews/openapi-dereference.svg
[npm-url]: https://www.npmjs.com/package/@trojs/openapi-dereference
[npm-image]: https://img.shields.io/npm/v/@trojs/openapi-dereference.svg
Loading

0 comments on commit 3edbb40

Please sign in to comment.