Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: microsoft/tslib
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2.1.0
Choose a base ref
...
head repository: microsoft/tslib
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2.4.0
Choose a head ref
Loading
Showing with 438 additions and 43 deletions.
  1. +1 −1 CopyrightNotice.txt
  2. +10 −0 README.md
  3. +1 −1 bower.json
  4. +2 −0 modules/index.js
  5. +2 −1 package.json
  6. +364 −6 tslib.d.ts
  7. +28 −17 tslib.es6.js
  8. +30 −17 tslib.js
2 changes: 1 addition & 1 deletion CopyrightNotice.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! *****************************************************************************
/******************************************************************************
Copyright (c) Microsoft Corporation.

Permission to use, copy, modify, and/or distribute this software for any
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -136,6 +136,16 @@ For JSPM users:
}
```

## Deployment

- Choose your new version number
- Set it in `package.json` and `bower.json`
- Create a tag: `git tag [version]`
- Push the tag: `git push --tags`
- Create a [release in GitHub](https://github.com/microsoft/tslib/releases)
- Run the [publish to npm](https://github.com/microsoft/tslib/actions?query=workflow%3A%22Publish+to+NPM%22) workflow

Done.

# Contribute

2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@
"Microsoft Corp."
],
"homepage": "http://typescriptlang.org/",
"version": "2.1.0",
"version": "2.4.0",
"license": "0BSD",
"description": "Runtime library for TypeScript helper functions",
"keywords": [
2 changes: 2 additions & 0 deletions modules/index.js
Original file line number Diff line number Diff line change
@@ -24,6 +24,7 @@ const {
__importDefault,
__classPrivateFieldGet,
__classPrivateFieldSet,
__classPrivateFieldIn,
} = tslib;
export {
__extends,
@@ -50,4 +51,5 @@ export {
__importDefault,
__classPrivateFieldGet,
__classPrivateFieldSet,
__classPrivateFieldIn,
};
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
"name": "tslib",
"author": "Microsoft Corp.",
"homepage": "https://www.typescriptlang.org/",
"version": "2.1.0",
"version": "2.4.0",
"license": "0BSD",
"description": "Runtime library for TypeScript helper functions",
"keywords": [
@@ -32,6 +32,7 @@
"import": "./modules/index.js",
"default": "./tslib.js"
},
"./*": "./*",
"./": "./"
}
}
Loading