@substrate-system/input 0.0.7 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/LICENSE +61 -83
  2. package/README.md +7 -7
  3. package/package.json +23 -3
package/LICENSE CHANGED
@@ -1,121 +1,99 @@
1
- # PolyForm Small Business License 1.0.0
1
+ # Big Time Public License
2
2
 
3
- <https://polyformproject.org/licenses/small-business/1.0.0>
3
+ Version 2.0.2
4
+
5
+ <https://bigtimelicense.com/versions/2.0.2>
6
+
7
+ ## Purpose
8
+
9
+ These terms let you use and share this software for noncommercial purposes and in small business for free, while also guaranteeing that paid licenses for big businesses will be available on fair, reasonable, and nondiscriminatory terms.
4
10
 
5
11
  ## Acceptance
6
12
 
7
- In order to get any license under these terms, you must agree
8
- to them as both strict obligations and conditions to all
9
- your licenses.
13
+ In order to get any license under these terms, you must agree to them as both strict obligations and conditions to all your licenses.
10
14
 
11
- ## Copyright License
15
+ ## Noncommercial Purposes
12
16
 
13
- The licensor grants you a copyright license for the
14
- software to do everything you might do with the software
15
- that would otherwise infringe the licensor's copyright
16
- in it for any permitted purpose. However, you may
17
- only distribute the software according to [Distribution
18
- License](#distribution-license) and make changes or new works
19
- based on the software according to [Changes and New Works
20
- License](#changes-and-new-works-license).
17
+ You may use the software for any noncommercial purpose.
21
18
 
22
- ## Distribution License
19
+ ## Personal Uses
23
20
 
24
- The licensor grants you an additional copyright license
25
- to distribute copies of the software. Your license
26
- to distribute covers distributing the software with
27
- changes and new works permitted by [Changes and New Works
28
- License](#changes-and-new-works-license).
21
+ Personal use for research, experiment, and testing for the benefit of public knowledge, personal study, private entertainment, hobby projects, amateur pursuits, or religious observance, without any anticipated commercial application, count as use for noncommercial purposes.
29
22
 
30
- ## Notices
23
+ ## Noncommercial Organizations
31
24
 
32
- You must ensure that anyone who gets a copy of any part of
33
- the software from you also gets a copy of these terms or the
34
- URL for them above, as well as copies of any plain-text lines
35
- beginning with `Required Notice:` that the licensor provided
36
- with the software. For example:
25
+ Use by any charitable organization, educational institution, public research organization, public safety or health organization, environmental protection organization, or government institution counts as use for noncommercial purposes, regardless of the source of funding or obligations resulting from the funding.
37
26
 
38
- > Required Notice: Copyright Nick Thomas (https://nichoth.com)
27
+ ## Small Business
39
28
 
40
- ## Changes and New Works License
29
+ You may use the software for the benefit of your company if it meets all these criteria:
41
30
 
42
- The licensor grants you an additional copyright license to
43
- make changes and new works based on the software for any
44
- permitted purpose.
31
+ 1. had fewer than 20 total individuals working as employees and independent contractors at all times during the last tax year
45
32
 
46
- ## Patent License
33
+ 2. earned less than $1,000,000 total revenue in the last tax year
47
34
 
48
- The licensor grants you a patent license for the software that
49
- covers patent claims the licensor can license, or becomes able
50
- to license, that you would infringe by using the software.
35
+ 3. received less than $1,000,000 total debt, equity, and other investment in the last five tax years, counting investment in predecessor companies that reorganized into, merged with, or spun out your company
51
36
 
52
- ## Fair Use
37
+ All dollar figures are United States dollars as of 2019. Adjust for them inflation according to the United States Bureau of Labor Statistics' consumer price index for all urban consumers, United States city average, for all items, not seasonally adjusted, with 1982–1984=100 reference base.
53
38
 
54
- You may have "fair use" rights for the software under the
55
- law. These terms do not limit them.
39
+ ## Big Business
56
40
 
57
- ## Small Business
41
+ You may use the software for the benefit of your company:
42
+
43
+ 1. for 128 days after your company stops qualifying under [Small Business](#small-business)
44
+
45
+ 2. indefinitely, if the licensor or their legal successor does not offer fair, reasonable, and nondiscriminatory terms for a commercial license for the software within 32 days of [written request](#how-to-request) and negotiate in good faith to conclude a deal
46
+
47
+ ## How to Request
48
+
49
+ If this software includes an address for the licensor or an agent of the licensor in a standard place, such as in documentation, software package metadata, or an "about" page or screen, try to request a fair commercial license at that address. If this package includes both online and offline addresses, try online before offline. If you can't deliver a request that way, or this software doesn't include any addressees, spend one hour online researching an address, recording all your searches and inquiries as you go, and try any addresses that you find. If you can't find any addresses, or if those addresses also fail, that counts as failure to offer a fair commercial license by the licensor under [Big Business](#big-business).
50
+
51
+ ## Fair, Reasonable, and Nondiscriminatory Terms
52
+
53
+ Fair, reasonable, and nondiscriminatory terms may license the software perpetually or for a term, and may or may not cover new versions of the software. If the licensor advertises license terms and a pricing structure for generally available commercial licenses, the licensor proposes license terms and a price as advertised, and a customer not affiliated with the licensor has bought a commercial license for the software on substantially equivalent terms in the past year, the proposal is fair, reasonable, and nondiscriminatory.
54
+
55
+ ## Copyright License
56
+
57
+ The licensor grants you a copyright license to do everything with the software that would otherwise infringe the licensor's copyright in it for any purpose allowed by these terms.
58
+
59
+ ## Notices
60
+
61
+ You must ensure that anyone who gets a copy of any part of the software from you also gets a copy of these terms or the URL for them above, as well as copies of any plain-text lines beginning with `Required Notice:` that the licensor provided with the software. For example:
62
+
63
+ > Required Notice: Nick Thomas (https://nichoth.com)
64
+
65
+ ## Patent License
66
+
67
+ The licensor grants you a patent license for the software that covers patent claims the licensor can license, or becomes able to license, that you would infringe by using the software.
68
+
69
+ ## Fair Use
58
70
 
59
- Use of the software for the benefit of your company is use for
60
- a permitted purpose if your company has fewer than 100 total
61
- individuals working as employees and independent contractors,
62
- and less than 1,000,000 USD (2019) total revenue in the prior
63
- tax year. Adjust this revenue threshold for inflation according
64
- to the United States Bureau of Labor Statistics' consumer price
65
- index for all urban consumers, U.S. city average, for all items,
66
- not seasonally adjusted, with 1982–1984=100 reference base.
71
+ You may have "fair use" rights for the software under the law. These terms do not limit them.
67
72
 
68
73
  ## No Other Rights
69
74
 
70
- These terms do not allow you to sublicense or transfer any of
71
- your licenses to anyone else, or prevent the licensor from
72
- granting licenses to anyone else. These terms do not imply
73
- any other licenses.
75
+ These terms do not allow you to sublicense or transfer any of your licenses to anyone else, or prevent the licensor from granting licenses to anyone else. These terms do not imply any other licenses.
74
76
 
75
77
  ## Patent Defense
76
78
 
77
- If you make any written claim that the software infringes or
78
- contributes to infringement of any patent, your patent license
79
- for the software granted under these terms ends immediately. If
80
- your company makes such a claim, your patent license ends
81
- immediately for work on behalf of your company.
79
+ If you make any written claim that the software infringes or contributes to infringement of any patent, your patent license for the software granted under these terms ends immediately. If your company makes such a claim, your patent license ends immediately for work on behalf of your company.
82
80
 
83
81
  ## Violations
84
82
 
85
- The first time you are notified in writing that you have
86
- violated any of these terms, or done anything with the software
87
- not covered by your licenses, your licenses can nonetheless
88
- continue if you come into full compliance with these terms,
89
- and take practical steps to correct past violations, within
90
- 32 days of receiving notice. Otherwise, all your licenses
91
- end immediately.
83
+ The first time you are notified in writing that you have violated any of these terms, or done anything with the software not covered by your licenses, your licenses can nonetheless continue if you come into full compliance with these terms, and take practical steps to correct past violations, within 32 days of receiving notice. Otherwise, all your licenses end immediately.
92
84
 
93
85
  ## No Liability
94
86
 
95
- ***As far as the law allows, the software comes as is, without
96
- any warranty or condition, and the licensor will not be liable
97
- to you for any damages arising out of these terms or the use
98
- or nature of the software, under any kind of legal claim.***
87
+ ***As far as the law allows, the software comes as is, without any warranty or condition, and the licensor will not be liable to you for any damages arising out of these terms or the use or nature of the software, under any kind of legal claim.***
99
88
 
100
89
  ## Definitions
101
90
 
102
- The **licensor** is the individual or entity offering these
103
- terms, and the **software** is the software the licensor makes
104
- available under these terms.
91
+ The **licensor** is the individual or entity offering these terms, and the **software** is the software the licensor makes available under these terms.
105
92
 
106
- **You** refers to the individual or entity agreeing to these
107
- terms.
93
+ **You** refers to the individual or entity agreeing to these terms.
108
94
 
109
- **Your company** is any legal entity, sole proprietorship,
110
- or other kind of organization that you work for, plus all
111
- organizations that have control over, are under the control of,
112
- or are under common control with that organization. **Control**
113
- means ownership of substantially all the assets of an entity,
114
- or the power to direct its management and policies by vote,
115
- contract, or otherwise. Control can be direct or indirect.
95
+ **Your company** is any legal entity, sole proprietorship, or other kind of organization that you work for, plus all organizations that have control over, are under the control of, or are under common control with that organization. **Control** means ownership of substantially all the assets of an entity, or the power to direct its management and policies by vote, contract, or otherwise. Control can be direct or indirect.
116
96
 
117
- **Your licenses** are all the licenses granted to you for the
118
- software under these terms.
97
+ **Your licenses** are all the licenses granted to you for the software under these terms.
119
98
 
120
- **Use** means anything you do with the software requiring one
121
- of your licenses.
99
+ **Use** means anything you do with the software requiring one of your licenses.
package/README.md CHANGED
@@ -1,13 +1,13 @@
1
1
  # input
2
- ![tests](https://github.com/substrate-system/input/actions/workflows/nodejs.yml/badge.svg)
2
+ [![tests](https://img.shields.io/github/actions/workflow/status/substrate-system/input/nodejs.yml?style=flat-square)](https://github.com/substrate-system/input/actions/workflows/nodejs.yml)
3
3
  [![types](https://img.shields.io/npm/types/@substrate-system/input?style=flat-square)](README.md)
4
4
  [![module](https://img.shields.io/badge/module-ESM%2FCJS-blue?style=flat-square)](README.md)
5
5
  [![install size](https://packagephobia.com/badge?p=@substrate-system/input)](https://packagephobia.com/result?p=@substrate-system/input)
6
- [![GZip size](https://img.badgesize.io/https%3A%2F%2Fesm.sh%2F%40substrate-system%2Finput%2Fes2022%2Finput.mjs?style=flat-square&compression=gzip)](https://esm.sh/@substrate-system/input/es2022/input.mjs)
6
+ [![GZip size](https://flat.badgen.net/bundlephobia/minzip/@substrate-system/input?color=green)](https://bundlephobia.com/package/@substrate-system/input)
7
7
  [![dependencies](https://img.shields.io/badge/dependencies-zero-brightgreen.svg?style=flat-square)](package.json)
8
8
  [![semantic versioning](https://img.shields.io/badge/semver-2.0.0-blue?logo=semver&style=flat-square)](https://semver.org/)
9
9
  [![Common Changelog](https://nichoth.github.io/badge/common-changelog.svg)](./CHANGELOG.md)
10
- [![license](https://img.shields.io/badge/license-Polyform_Small_Business-249fbc?style=flat-square)](LICENSE)
10
+ [![license](https://img.shields.io/badge/license-Big_Time-blue?style=flat-square)](LICENSE)
11
11
 
12
12
 
13
13
  A parent web component to inherit from.
@@ -16,8 +16,8 @@ A parent web component to inherit from.
16
16
 
17
17
  <!-- toc -->
18
18
 
19
- - [install](#install)
20
- - [API](#api)
19
+ - [Install](#install)
20
+ - [Modules](#modules)
21
21
  * [ESM](#esm)
22
22
  * [Common JS](#common-js)
23
23
  - [Use](#use)
@@ -25,13 +25,13 @@ A parent web component to inherit from.
25
25
 
26
26
  <!-- tocstop -->
27
27
 
28
- ## install
28
+ ## Install
29
29
 
30
30
  ```sh
31
31
  npm i -S @substrate-system/input
32
32
  ```
33
33
 
34
- ## API
34
+ ## Modules
35
35
 
36
36
  This exposes ESM and common JS via [package.json `exports` field](https://nodejs.org/api/packages.html#exports).
37
37
 
package/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "@substrate-system/input",
3
+ "version": "0.0.8",
3
4
  "type": "module",
4
- "version": "0.0.7",
5
+ "description": "A minimal parent input component to inherit from",
5
6
  "main": "dist/index.js",
6
7
  "files": [
7
8
  "./dist/*"
@@ -44,8 +45,8 @@
44
45
  ]
45
46
  }
46
47
  },
48
+ "dependencies": {},
47
49
  "devDependencies": {
48
- "@bicycle-codes/dom": "^0.1.2",
49
50
  "@substrate-system/debug": "^0.9.0",
50
51
  "@substrate-system/dom": "^0.1.7",
51
52
  "@substrate-system/tapzero": "^0.10.13",
@@ -69,5 +70,24 @@
69
70
  "vite": "^6.0.11"
70
71
  },
71
72
  "author": "nichoth <nichoth@nichoth.com> (https://nichoth.com)",
72
- "license": "MIT"
73
+ "directories": {
74
+ "example": "example",
75
+ "test": "test"
76
+ },
77
+ "repository": {
78
+ "type": "git",
79
+ "url": "git+https://github.com/substrate-system/input.git"
80
+ },
81
+ "keywords": [
82
+ "input",
83
+ "web",
84
+ "component",
85
+ "parent"
86
+ ],
87
+ "types": "./dist/index.d.ts",
88
+ "bugs": {
89
+ "url": "https://github.com/substrate-system/input/issues"
90
+ },
91
+ "homepage": "https://github.com/substrate-system/input#readme",
92
+ "license": "SEE LICENSE IN LICENSE"
73
93
  }