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

tslib

Package Overview
Dependencies
Maintainers
8
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tslib - npm Package Compare versions

Comparing version 2.5.0 to 2.5.1

modules/index.d.ts

1

modules/index.js

@@ -64,1 +64,2 @@ import tslib from '../tslib.js';

};
export default tslib;

15

package.json

@@ -5,3 +5,3 @@ {

"homepage": "https://www.typescriptlang.org/",
"version": "2.5.0",
"version": "2.5.1",
"license": "0BSD",

@@ -32,4 +32,13 @@ "description": "Runtime library for TypeScript helper functions",

".": {
"module": "./tslib.es6.js",
"import": "./modules/index.js",
"module": {
"types": "./tslib.d.ts",
"default": "./tslib.es6.js"
},
"import": {
"node": "./modules/index.js",
"default": {
"types": "./tslib.d.ts",
"default": "./tslib.es6.js"
}
},
"default": "./tslib.js"

@@ -36,0 +45,0 @@ },

# tslib
This is a runtime library for [TypeScript](http://www.typescriptlang.org/) that contains all of the TypeScript helper functions.
This is a runtime library for [TypeScript](https://www.typescriptlang.org/) that contains all of the TypeScript helper functions.

@@ -5,0 +5,0 @@ This library is primarily used by the `--importHelpers` flag in TypeScript.

@@ -83,6 +83,6 @@ /******************************************************************************

if (_ = accept(result.set)) descriptor.set = _;
if (_ = accept(result.init)) initializers.push(_);
if (_ = accept(result.init)) initializers.unshift(_);
}
else if (_ = accept(result)) {
if (kind === "field") initializers.push(_);
if (kind === "field") initializers.unshift(_);
else descriptor[key] = _;

@@ -295,1 +295,29 @@ }

}
export default {
__extends,
__assign,
__rest,
__decorate,
__param,
__metadata,
__awaiter,
__generator,
__createBinding,
__exportStar,
__values,
__read,
__spread,
__spreadArrays,
__spreadArray,
__await,
__asyncGenerator,
__asyncDelegator,
__asyncValues,
__makeTemplateObject,
__importStar,
__importDefault,
__classPrivateFieldGet,
__classPrivateFieldSet,
__classPrivateFieldIn,
};

@@ -129,6 +129,6 @@ /******************************************************************************

if (_ = accept(result.set)) descriptor.set = _;
if (_ = accept(result.init)) initializers.push(_);
if (_ = accept(result.init)) initializers.unshift(_);
}
else if (_ = accept(result)) {
if (kind === "field") initializers.push(_);
if (kind === "field") initializers.unshift(_);
else descriptor[key] = _;

@@ -135,0 +135,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