Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@colophon/schema

Package Overview
Dependencies
Maintainers
3
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@colophon/schema - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

schema/1.0/README.md

7

index.js

@@ -1,6 +0,1 @@

const latest = '1.1'
module.exports = {
schema: require(`./schema/${latest}/schema.json`),
regex: require(`./schema/${latest}/regex`)
}
module.exports = require('./versions')['1.1']
{
"version": "1.2.1",
"version": "1.2.2",
"name": "@colophon/schema",

@@ -21,3 +21,5 @@ "description": "Standarized project metadata to specify the components, constructs and authorship of software",

"files": [
"spec"
"schema",
"index.js",
"versions.js"
],

@@ -24,0 +26,0 @@ "bugs": {

@@ -82,8 +82,2 @@ # Colophon Schema

```bash
npm install --production --save @colophon/schema
```
## Install
```bash
npm install @colophon/schema

@@ -98,2 +92,10 @@ ```

### Referencing older versions
```js
const schemas = require('@colophon/schema/versions')
const { schema, regex } = schemas['1.0']
```
## Credits

@@ -100,0 +102,0 @@

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