@azure/msal-node-extensions 1.0.0-beta.1 → 1.0.0

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 (75) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +207 -207
  3. package/bin/arm64/dpapi.node +0 -0
  4. package/bin/ia32/dpapi.node +0 -0
  5. package/bin/x64/dpapi.node +0 -0
  6. package/dist/Dpapi.esm.js +1 -1
  7. package/dist/Dpapi.esm.js.map +1 -1
  8. package/dist/Dpapi.js +1 -1
  9. package/dist/Dpapi.js.map +1 -1
  10. package/dist/broker/NativeBrokerPlugin.esm.js +15 -9
  11. package/dist/broker/NativeBrokerPlugin.esm.js.map +1 -1
  12. package/dist/broker/NativeBrokerPlugin.js +15 -9
  13. package/dist/broker/NativeBrokerPlugin.js.map +1 -1
  14. package/dist/error/NativeAuthError.esm.js +1 -1
  15. package/dist/error/NativeAuthError.esm.js.map +1 -1
  16. package/dist/error/NativeAuthError.js +1 -1
  17. package/dist/error/NativeAuthError.js.map +1 -1
  18. package/dist/error/PersistenceError.esm.js +4 -2
  19. package/dist/error/PersistenceError.esm.js.map +1 -1
  20. package/dist/error/PersistenceError.js +4 -2
  21. package/dist/error/PersistenceError.js.map +1 -1
  22. package/dist/index.esm.js +1 -1
  23. package/dist/index.js +1 -1
  24. package/dist/lock/CrossPlatformLock.esm.js +3 -2
  25. package/dist/lock/CrossPlatformLock.esm.js.map +1 -1
  26. package/dist/lock/CrossPlatformLock.js +3 -2
  27. package/dist/lock/CrossPlatformLock.js.map +1 -1
  28. package/dist/packageMetadata.d.ts +1 -1
  29. package/dist/packageMetadata.esm.js +2 -2
  30. package/dist/packageMetadata.js +2 -2
  31. package/dist/persistence/BasePersistence.esm.js +3 -3
  32. package/dist/persistence/BasePersistence.esm.js.map +1 -1
  33. package/dist/persistence/BasePersistence.js +3 -3
  34. package/dist/persistence/BasePersistence.js.map +1 -1
  35. package/dist/persistence/DataProtectionScope.d.ts +1 -1
  36. package/dist/persistence/DataProtectionScope.esm.js +1 -1
  37. package/dist/persistence/DataProtectionScope.js +1 -1
  38. package/dist/persistence/FilePersistence.esm.js +3 -3
  39. package/dist/persistence/FilePersistence.esm.js.map +1 -1
  40. package/dist/persistence/FilePersistence.js +3 -3
  41. package/dist/persistence/FilePersistence.js.map +1 -1
  42. package/dist/persistence/FilePersistenceWithDataProtection.esm.js +10 -4
  43. package/dist/persistence/FilePersistenceWithDataProtection.esm.js.map +1 -1
  44. package/dist/persistence/FilePersistenceWithDataProtection.js +10 -4
  45. package/dist/persistence/FilePersistenceWithDataProtection.js.map +1 -1
  46. package/dist/persistence/KeychainPersistence.esm.js +1 -1
  47. package/dist/persistence/KeychainPersistence.esm.js.map +1 -1
  48. package/dist/persistence/KeychainPersistence.js +1 -1
  49. package/dist/persistence/KeychainPersistence.js.map +1 -1
  50. package/dist/persistence/LibSecretPersistence.esm.js +1 -1
  51. package/dist/persistence/LibSecretPersistence.esm.js.map +1 -1
  52. package/dist/persistence/LibSecretPersistence.js +1 -1
  53. package/dist/persistence/LibSecretPersistence.js.map +1 -1
  54. package/dist/persistence/PersistenceCachePlugin.esm.js +1 -1
  55. package/dist/persistence/PersistenceCachePlugin.esm.js.map +1 -1
  56. package/dist/persistence/PersistenceCachePlugin.js +1 -1
  57. package/dist/persistence/PersistenceCachePlugin.js.map +1 -1
  58. package/dist/persistence/PersistenceCreator.esm.js +9 -4
  59. package/dist/persistence/PersistenceCreator.esm.js.map +1 -1
  60. package/dist/persistence/PersistenceCreator.js +9 -4
  61. package/dist/persistence/PersistenceCreator.js.map +1 -1
  62. package/dist/utils/Constants.d.ts +2 -2
  63. package/dist/utils/Constants.esm.js +4 -4
  64. package/dist/utils/Constants.esm.js.map +1 -1
  65. package/dist/utils/Constants.js +4 -4
  66. package/dist/utils/Constants.js.map +1 -1
  67. package/dist/utils/Environment.esm.js +4 -4
  68. package/dist/utils/Environment.esm.js.map +1 -1
  69. package/dist/utils/Environment.js +4 -4
  70. package/dist/utils/Environment.js.map +1 -1
  71. package/dist/utils/TypeGuards.esm.js +2 -3
  72. package/dist/utils/TypeGuards.esm.js.map +1 -1
  73. package/dist/utils/TypeGuards.js +2 -3
  74. package/dist/utils/TypeGuards.js.map +1 -1
  75. package/package.json +75 -69
package/package.json CHANGED
@@ -1,70 +1,76 @@
1
- {
2
- "name": "@azure/msal-node-extensions",
3
- "version": "1.0.0-beta.1",
4
- "repository": {
5
- "type": "git",
6
- "url": "https://github.com/AzureAD/microsoft-authentication-library-for-js.git"
7
- },
8
- "license": "MIT",
9
- "main": "dist/index.js",
10
- "typings": "dist/index.d.ts",
11
- "keywords": [
12
- "js",
13
- "ts",
14
- "node",
15
- "AAD",
16
- "msal",
17
- "extensions"
18
- ],
19
- "files": [
20
- "dist",
21
- "bin"
22
- ],
23
- "engines": {
24
- "node": "18 || 20"
25
- },
26
- "scripts": {
27
- "compile": "node-gyp rebuild",
28
- "clean": "shx rm -rf dist bin",
29
- "build": "npm run clean && rollup -c --strictDeprecations --bundleConfigAsCjs && node ./scripts/buildBinaries.js",
30
- "build:common": "cd ../../lib/msal-common && npm run build",
31
- "build:all": "npm run build:common && npm run build",
32
- "test": "jest",
33
- "test:coverage": "jest --coverage",
34
- "link:localDeps": "npx lerna@6 bootstrap --scope @azure/msal-common --scope @azure/msal-node-extensions",
35
- "lint": "cd ../../ && npm run lint:node:extensions",
36
- "lint:fix": "npm run lint -- -- --fix",
37
- "prepack": "npm run build:all && node ./scripts/checkBinaries.js"
38
- },
39
- "author": {
40
- "name": "Microsoft",
41
- "email": "nugetaad@microsoft.com",
42
- "url": "https://www.microsoft.com"
43
- },
44
- "module": "dist/msal-node-extensions.esm.js",
45
- "beachball": {
46
- "disallowedChangeTypes": [
47
- "patch",
48
- "minor",
49
- "major"
50
- ]
51
- },
52
- "dependencies": {
53
- "@azure/msal-common": "14.0.0-beta.1",
54
- "@azure/msal-node-runtime": "^0.13.6-alpha.0",
55
- "keytar": "^7.8.0"
56
- },
57
- "devDependencies": {
58
- "@rollup/plugin-node-resolve": "^15.0.2",
59
- "@rollup/plugin-typescript": "^11.1.0",
60
- "@types/jest": "^29.5.1",
61
- "@types/node": "^20.3.1",
62
- "jest": "^29.5.0",
63
- "node-addon-api": "^6.1.0",
64
- "rollup": "^3.20.2",
65
- "shx": "^0.3.4",
66
- "ts-jest": "^29.1.0",
67
- "tslib": "^2.0.0",
68
- "typescript": "^4.9.5"
69
- }
1
+ {
2
+ "name": "@azure/msal-node-extensions",
3
+ "version": "1.0.0",
4
+ "repository": {
5
+ "type": "git",
6
+ "url": "https://github.com/AzureAD/microsoft-authentication-library-for-js.git"
7
+ },
8
+ "license": "MIT",
9
+ "module": "dist/index.esm.js",
10
+ "types": "dist/index.d.ts",
11
+ "exports": {
12
+ ".": {
13
+ "types": "./dist/index.d.ts",
14
+ "module": "./dist/index.esm.js",
15
+ "import": "./dist/index.esm.js",
16
+ "require": "./dist/index.js",
17
+ "default": "./dist/index.esm.js"
18
+ },
19
+ "./package.json": "./package.json"
20
+ },
21
+ "keywords": [
22
+ "js",
23
+ "ts",
24
+ "node",
25
+ "AAD",
26
+ "msal",
27
+ "extensions"
28
+ ],
29
+ "files": [
30
+ "dist",
31
+ "bin"
32
+ ],
33
+ "engines": {
34
+ "node": "18 || 20"
35
+ },
36
+ "scripts": {
37
+ "compile": "node-gyp rebuild",
38
+ "clean": "shx rm -rf dist bin",
39
+ "build": "npm run clean && rollup -c --strictDeprecations --bundleConfigAsCjs && node ./scripts/buildBinaries.cjs",
40
+ "build:all": "cd ../.. && npm run build --workspace=@azure/msal-common --workspace=@azure/msal-node-extensions",
41
+ "test": "jest",
42
+ "test:coverage": "jest --coverage",
43
+ "link:localDeps": "npx lerna@6 bootstrap --scope @azure/msal-common --scope @azure/msal-node-extensions",
44
+ "lint": "cd ../../ && npm run lint:node:extensions",
45
+ "lint:fix": "npm run lint -- -- --fix",
46
+ "format:check": "npx prettier --ignore-path .gitignore --check src test",
47
+ "format:fix": "npx prettier --ignore-path .gitignore --write src test",
48
+ "prepack": "npm run build:all && node ./scripts/checkBinaries.cjs"
49
+ },
50
+ "author": {
51
+ "name": "Microsoft",
52
+ "email": "nugetaad@microsoft.com",
53
+ "url": "https://www.microsoft.com"
54
+ },
55
+ "beachball": {
56
+ "disallowedChangeTypes": []
57
+ },
58
+ "dependencies": {
59
+ "@azure/msal-common": "14.0.0",
60
+ "@azure/msal-node-runtime": "^0.13.6-alpha.0",
61
+ "keytar": "^7.8.0"
62
+ },
63
+ "devDependencies": {
64
+ "@rollup/plugin-node-resolve": "^15.0.2",
65
+ "@rollup/plugin-typescript": "^11.1.0",
66
+ "@types/jest": "^29.5.1",
67
+ "@types/node": "^20.3.1",
68
+ "jest": "^29.5.0",
69
+ "node-addon-api": "^6.1.0",
70
+ "rollup": "^3.20.2",
71
+ "shx": "^0.3.4",
72
+ "ts-jest": "^29.1.0",
73
+ "tslib": "^2.0.0",
74
+ "typescript": "^4.9.5"
75
+ }
70
76
  }