New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@aws-amplify/pubsub

Package Overview
Dependencies
Maintainers
10
Versions
2045
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-amplify/pubsub - npm Package Compare versions

Comparing version 1.0.29-unstable.1 to 2.0.0-preview.1

build.js

11

CHANGELOG.md

@@ -6,13 +6,2 @@ # Change Log

<a name="1.0.29-unstable.1"></a>
## [1.0.29-unstable.1](https://github.com/aws/aws-amplify/compare/@aws-amplify/pubsub@1.0.28...@aws-amplify/pubsub@1.0.29-unstable.1) (2019-05-24)
### Bug Fixes
* **aws-amplify:** manual version bumps for lerna issue ([9ce5a72](https://github.com/aws/aws-amplify/commit/9ce5a72))
<a name="1.0.28"></a>

@@ -19,0 +8,0 @@ ## [1.0.28](https://github.com/aws/aws-amplify/compare/@aws-amplify/pubsub@1.0.28-unstable.0...@aws-amplify/pubsub@1.0.28) (2019-05-14)

61

package.json
{
"name": "@aws-amplify/pubsub",
"version": "1.0.29-unstable.1",
"version": "2.0.0-preview.1",
"description": "Pubsub category of aws-amplify",
"main": "./lib/index.js",
"module": "./lib/index.js",
"typings": "./lib/index.d.ts",
"main": "./index.js",
"module": "./esm/index.js",
"typings": "./esm/index.d.ts",
"react-native": {
"./index": "./esm/index.js"
},
"sideEffects": false,
"publishConfig": {

@@ -14,4 +18,6 @@ "access": "public"

"build-with-test": "npm run clean && npm test && tsc && webpack",
"build": "npm run clean && tsc && cpx src/vendor/** lib/vendor && webpack",
"clean": "rimraf lib lib-esm dist",
"build:cjs": "node ./build es5 && cpx src/vendor/** cjs/vendor && webpack && webpack --config ./webpack.config.dev.js",
"build:esm": "node ./build es6 && cpx src/vendor/** esm/vendor",
"build": "npm run clean && npm run build:esm && npm run build:cjs",
"clean": "rimraf esm cjs dist",
"format": "tsfmt --useTsfmt tsfmt.json -r src/**/*.ts",

@@ -31,28 +37,6 @@ "lint": "tslint 'src/**/*.ts'"

"devDependencies": {
"@types/jest": "^20.0.8",
"@types/node": "^8.10.15",
"@types/zen-observable": "^0.5.3",
"awesome-typescript-loader": "^3.2.2",
"babel-loader": "^7.1.2",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-2": "^6.24.1",
"compression-webpack-plugin": "^1.1.3",
"cpx": "^1.5.0",
"find": "^0.2.7",
"jest": "^22.4.3",
"json-loader": "^0.5.7",
"prepend-file": "^1.3.1",
"prettier": "^1.7.4",
"rimraf": "^2.6.2",
"source-map-loader": "^0.2.1",
"ts-jest": "^22.0.0",
"tslint": "^5.7.0",
"tslint-config-airbnb": "^5.8.0",
"typescript-formatter": "^6.0.0",
"uglifyjs-webpack-plugin": "^0.4.6",
"webpack": "^3.5.5"
"cpx": "^1.5.0"
},
"dependencies": {
"@aws-amplify/core": "^1.0.27",
"@aws-amplify/core": "2.0.0-preview.1",
"uuid": "^3.2.1",

@@ -62,4 +46,19 @@ "zen-observable": "^0.8.6"

"jest": {
"globals": {
"ts-jest": {
"diagnostics": false,
"tsConfig": {
"lib": [
"es5",
"es2015",
"dom",
"esnext.asynciterable",
"es2017.object"
],
"allowJs": true
}
}
},
"transform": {
"^.+\\.(js|jsx|ts|tsx)$": "<rootDir>../../node_modules/ts-jest/preprocessor.js"
"^.+\\.(js|jsx|ts|tsx)$": "ts-jest"
},

@@ -66,0 +65,0 @@ "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(tsx?|jsx?)$",

@@ -13,5 +13,5 @@ /*

*/
import PubSubClass from './PubSub';
import { PubSub as PubSubClass } from './PubSub';
import Amplify, { ConsoleLogger as Logger } from '@aws-amplify/core';
import { Amplify, ConsoleLogger as Logger } from '@aws-amplify/core';

@@ -30,5 +30,8 @@ const logger = new Logger('PubSub');

export * from './Providers/AWSIotProvider';
export { PubSub, PubSubClass };
/**
* @deprecated use named import
*/
export default PubSub;
export * from './Providers/AWSIotProvider';
export { PubSubClass };

@@ -17,3 +17,3 @@ /*

import { ConsoleLogger as Logger } from '@aws-amplify/core';
import { INTERNAL_AWS_APPSYNC_PUBSUB_PROVIDER } from '@aws-amplify/core/lib/constants';
import { INTERNAL_AWS_APPSYNC_PUBSUB_PROVIDER } from '@aws-amplify/core/esm/constants';
import { PubSubProvider, PubSubOptions, ProvidertOptions } from './types';

@@ -24,3 +24,3 @@ import { AWSAppSyncProvider } from './Providers';

export default class PubSub {
export class PubSub {

@@ -141,1 +141,6 @@ private _options: PubSubOptions;

}
/**
* @deprecated use named import
*/
export default PubSub;

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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