├── .npmrc ├── .github └── workflows │ ├── build.yml │ └── deploy.yml ├── package.json ├── .gitignore ├── LICENSE ├── spec.emu └── README.md /.npmrc: -------------------------------------------------------------------------------- 1 | package-lock=false 2 | -------------------------------------------------------------------------------- /.github/workflows/build.yml: -------------------------------------------------------------------------------- 1 | name: Build spec 2 | 3 | on: [pull_request, push] 4 | 5 | jobs: 6 | build: 7 | runs-on: ubuntu-latest 8 | 9 | steps: 10 | - uses: actions/checkout@v3 11 | - uses: ljharb/actions/node/install@main 12 | name: 'nvm install lts/* && npm install' 13 | with: 14 | node-version: lts/* 15 | - run: npm run build 16 | -------------------------------------------------------------------------------- /.github/workflows/deploy.yml: -------------------------------------------------------------------------------- 1 | name: Deploy gh-pages 2 | 3 | on: 4 | push: 5 | branches: 6 | - main 7 | 8 | jobs: 9 | deploy: 10 | runs-on: ubuntu-latest 11 | 12 | steps: 13 | - uses: actions/checkout@v3 14 | - uses: ljharb/actions/node/install@main 15 | name: 'nvm install lts/* && npm install' 16 | with: 17 | node-version: lts/* 18 | - run: npm run build 19 | - uses: JamesIves/github-pages-deploy-action@v4.3.3 20 | with: 21 | branch: gh-pages 22 | folder: build 23 | clean: true 24 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "private": true, 3 | "name": "template-for-proposals", 4 | "description": "A repository template for ECMAScript proposals.", 5 | "scripts": { 6 | "start": "npm run build-loose -- --watch", 7 | "build": "npm run build-loose -- --strict", 8 | "build-loose": "node -e 'fs.mkdirSync(\"build\", { recursive: true })' && ecmarkup --load-biblio @tc39/ecma262-biblio --verbose spec.emu build/index.html --lint-spec" 9 | }, 10 | "homepage": "https://github.com/tc39/template-for-proposals#readme", 11 | "repository": { 12 | "type": "git", 13 | "url": "git+https://github.com/tc39/template-for-proposals.git" 14 | }, 15 | "license": "MIT", 16 | "devDependencies": { 17 | "@tc39/ecma262-biblio": "^2.1.2778", 18 | "ecmarkup": "^20.0.0" 19 | }, 20 | "engines": { 21 | "node": ">= 12" 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | 6 | # Runtime data 7 | pids 8 | *.pid 9 | *.seed 10 | 11 | # Directory for instrumented libs generated by jscoverage/JSCover 12 | lib-cov 13 | 14 | # Coverage directory used by tools like istanbul 15 | coverage 16 | 17 | # nyc test coverage 18 | .nyc_output 19 | 20 | # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) 21 | .grunt 22 | 23 | # node-waf configuration 24 | .lock-wscript 25 | 26 | # Compiled binary addons (http://nodejs.org/api/addons.html) 27 | build/Release 28 | 29 | # Dependency directories 30 | node_modules 31 | jspm_packages 32 | 33 | # Optional npm cache directory 34 | .npm 35 | 36 | # Optional REPL history 37 | .node_repl_history 38 | 39 | # Only apps should have lockfiles 40 | yarn.lock 41 | package-lock.json 42 | npm-shrinkwrap.json 43 | pnpm-lock.yaml 44 | 45 | # Build directory 46 | build 47 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2017 ECMA TC39 and contributors 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /spec.emu: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 |
7 | title: DataView get/set Uint8Clamped methods 8 | stage: 1 9 | contributors: Jordan Harband 10 |11 | 12 |
This method performs the following steps when called:
24 |This method performs the following steps when called:
33 || Name | 20 |constructor | 21 |shared prototype | 22 |ArrayBuffers | 23 |DataView get method | 24 |DataView set method | 25 |
|---|---|---|---|---|---|
| Int8Array | 30 |:white_check_mark: | 31 |:white_check_mark: | 32 |:white_check_mark: | 33 |:white_check_mark: | 34 |:white_check_mark: | 35 |
| Uint8Array | 38 |:white_check_mark: | 39 |:white_check_mark: | 40 |:white_check_mark: | 41 |:white_check_mark: | 42 |:white_check_mark: | 43 |
| Uint8ClampedArray | 46 |:white_check_mark: | 47 |:white_check_mark: | 48 |:white_check_mark: | 49 |:x: | 50 |:x: | 51 |
| Int16Array | 54 |:white_check_mark: | 55 |:white_check_mark: | 56 |:white_check_mark: | 57 |:white_check_mark: | 58 |:white_check_mark: | 59 |
| Uint16Array | 62 |:white_check_mark: | 63 |:white_check_mark: | 64 |:white_check_mark: | 65 |:white_check_mark: | 66 |:white_check_mark: | 67 |
| Int32Array | 70 |:white_check_mark: | 71 |:white_check_mark: | 72 |:white_check_mark: | 73 |:white_check_mark: | 74 |:white_check_mark: | 75 |
| Uint32Array | 78 |:white_check_mark: | 79 |:white_check_mark: | 80 |:white_check_mark: | 81 |:white_check_mark: | 82 |:white_check_mark: | 83 |
| BigInt64Array | 86 |:white_check_mark: | 87 |:white_check_mark: | 88 |:white_check_mark: | 89 |:white_check_mark: | 90 |:white_check_mark: | 91 |
| BigUint64Array | 94 |:white_check_mark: | 95 |:white_check_mark: | 96 |:white_check_mark: | 97 |:white_check_mark: | 98 |:white_check_mark: | 99 |
| Float32Array | 102 |:white_check_mark: | 103 |:white_check_mark: | 104 |:white_check_mark: | 105 |:white_check_mark: | 106 |:white_check_mark: | 107 |
| Float64Array | 110 |:white_check_mark: | 111 |:white_check_mark: | 112 |:white_check_mark: | 113 |:white_check_mark: | 114 |:white_check_mark: | 115 |